diff --git a/.fernignore b/.fernignore index 0c244881..6dac8f87 100644 --- a/.fernignore +++ b/.fernignore @@ -60,6 +60,7 @@ tests/expressionMeasurement/streaming.test.ts # Required manual edits for Node 18 compatibility tests/unit/fetcher/Fetcher.test.ts tests/unit/file/file.test.ts +tests/unit/file/test-file.txt # Needed because node 18 doesn't actually have a global.File tests/BrowserTestEnvironment.ts diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a768f5f..2fe890e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,14 +14,14 @@ jobs: with: node-version: "18.18.0" - - name: Setup yarn - run: npm install -g yarn + - name: Install pnpm + uses: pnpm/action-setup@v4 - name: Install dependencies - run: yarn install + run: pnpm install - name: Compile - run: yarn build + run: pnpm build test: runs-on: ubuntu-latest @@ -34,20 +34,18 @@ jobs: with: node-version: "18.18.0" - - name: Setup yarn - run: npm install -g yarn + - name: Install pnpm + uses: pnpm/action-setup@v4 - name: Install dependencies - run: yarn install + run: pnpm install - name: Check for formatting issues - run: yarn prettier . --check --ignore-unknown + run: pnpm format:check - name: Run tests - run: yarn test - - - name: Run browser tests - run: yarn test:browser + # --configLoader runner is used to make vitest able to load its config as a ESM module in node 18. We wouldn't need to specify this if we didn't support node 18. + run: pnpm test --configLoader runner publish: needs: [compile, test] @@ -62,14 +60,14 @@ jobs: with: node-version: "18.18.0" - - name: Setup yarn - run: npm install -g yarn + - name: Setup pnpm + run: npm install -g pnpm - name: Install dependencies - run: yarn install + run: pnpm install - name: Build - run: yarn build + run: pnpm build - name: Publish to npm run: | diff --git a/.mock/fern.config.json b/.mock/fern.config.json index 6b112b3b..08e267ee 100644 --- a/.mock/fern.config.json +++ b/.mock/fern.config.json @@ -1,4 +1,4 @@ { "organization" : "hume", - "version" : "0.99.1" + "version" : "0.93.2" } \ No newline at end of file diff --git a/.npmignore b/.npmignore index 383dd369..c0c40ac1 100644 --- a/.npmignore +++ b/.npmignore @@ -5,6 +5,7 @@ tests .github .fernignore .prettierrc.yml +biome.json tsconfig.json 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/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 6a0f136e..7c9caf53 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hume", - "version": "0.15.2", + "version": "0.15.3", "private": false, "repository": "github:humeai/hume-typescript-sdk", "type": "commonjs", @@ -32,11 +32,7 @@ }, "default": "./dist/cjs/serialization/index.js" }, - "./package.json": "./package.json", - "./core": { - "types": "./dist/esm/core/index.d.mts", - "default": "./dist/esm/core/index.mjs" - } + "./package.json": "./package.json" }, "files": [ "dist", @@ -45,14 +41,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", @@ -63,15 +63,11 @@ "webpack": "^5.97.1", "ts-loader": "^9.5.1", "@types/ws": "^8.5.9", - "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", "@types/uuid": "9.0.7" }, "browser": { @@ -80,7 +76,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..bec88a6a --- /dev/null +++ b/pnpm-lock.yaml @@ -0,0 +1,2185 @@ +lockfileVersion: '9.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +importers: + + .: + dependencies: + uuid: + specifier: 9.0.1 + version: 9.0.1 + ws: + specifier: ^8.16.0 + version: 8.18.3 + zod: + specifier: ^3.23.8 + version: 3.25.76 + devDependencies: + '@biomejs/biome': + specifier: 2.3.1 + version: 2.3.1 + '@types/node': + specifier: ^18.19.70 + version: 18.19.130 + '@types/uuid': + specifier: 9.0.7 + version: 9.0.7 + '@types/ws': + specifier: ^8.5.9 + 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.11': + resolution: {integrity: sha512-Xt1dOL13m8u0WE8iplx9Ibbm+hFAO0GsU2P34UNoDGvZYkY8ifSiy6Zuc1lYxfG7svWE2fzqCUmFp5HCn51gJg==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [aix] + + '@esbuild/android-arm64@0.25.11': + resolution: {integrity: sha512-9slpyFBc4FPPz48+f6jyiXOx/Y4v34TUeDDXJpZqAWQn/08lKGeD8aDp9TMn9jDz2CiEuHwfhRmGBvpnd/PWIQ==} + engines: {node: '>=18'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm@0.25.11': + resolution: {integrity: sha512-uoa7dU+Dt3HYsethkJ1k6Z9YdcHjTrSb5NUy66ZfZaSV8hEYGD5ZHbEMXnqLFlbBflLsl89Zke7CAdDJ4JI+Gg==} + engines: {node: '>=18'} + cpu: [arm] + os: [android] + + '@esbuild/android-x64@0.25.11': + resolution: {integrity: sha512-Sgiab4xBjPU1QoPEIqS3Xx+R2lezu0LKIEcYe6pftr56PqPygbB7+szVnzoShbx64MUupqoE0KyRlN7gezbl8g==} + engines: {node: '>=18'} + cpu: [x64] + os: [android] + + '@esbuild/darwin-arm64@0.25.11': + resolution: {integrity: sha512-VekY0PBCukppoQrycFxUqkCojnTQhdec0vevUL/EDOCnXd9LKWqD/bHwMPzigIJXPhC59Vd1WFIL57SKs2mg4w==} + engines: {node: '>=18'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-x64@0.25.11': + resolution: {integrity: sha512-+hfp3yfBalNEpTGp9loYgbknjR695HkqtY3d3/JjSRUyPg/xd6q+mQqIb5qdywnDxRZykIHs3axEqU6l1+oWEQ==} + engines: {node: '>=18'} + cpu: [x64] + os: [darwin] + + '@esbuild/freebsd-arm64@0.25.11': + resolution: {integrity: sha512-CmKjrnayyTJF2eVuO//uSjl/K3KsMIeYeyN7FyDBjsR3lnSJHaXlVoAK8DZa7lXWChbuOk7NjAc7ygAwrnPBhA==} + engines: {node: '>=18'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.25.11': + resolution: {integrity: sha512-Dyq+5oscTJvMaYPvW3x3FLpi2+gSZTCE/1ffdwuM6G1ARang/mb3jvjxs0mw6n3Lsw84ocfo9CrNMqc5lTfGOw==} + engines: {node: '>=18'} + cpu: [x64] + os: [freebsd] + + '@esbuild/linux-arm64@0.25.11': + resolution: {integrity: sha512-Qr8AzcplUhGvdyUF08A1kHU3Vr2O88xxP0Tm8GcdVOUm25XYcMPp2YqSVHbLuXzYQMf9Bh/iKx7YPqECs6ffLA==} + engines: {node: '>=18'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm@0.25.11': + resolution: {integrity: sha512-TBMv6B4kCfrGJ8cUPo7vd6NECZH/8hPpBHHlYI3qzoYFvWu2AdTvZNuU/7hsbKWqu/COU7NIK12dHAAqBLLXgw==} + engines: {node: '>=18'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-ia32@0.25.11': + resolution: {integrity: sha512-TmnJg8BMGPehs5JKrCLqyWTVAvielc615jbkOirATQvWWB1NMXY77oLMzsUjRLa0+ngecEmDGqt5jiDC6bfvOw==} + engines: {node: '>=18'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-loong64@0.25.11': + resolution: {integrity: sha512-DIGXL2+gvDaXlaq8xruNXUJdT5tF+SBbJQKbWy/0J7OhU8gOHOzKmGIlfTTl6nHaCOoipxQbuJi7O++ldrxgMw==} + engines: {node: '>=18'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-mips64el@0.25.11': + resolution: {integrity: sha512-Osx1nALUJu4pU43o9OyjSCXokFkFbyzjXb6VhGIJZQ5JZi8ylCQ9/LFagolPsHtgw6himDSyb5ETSfmp4rpiKQ==} + engines: {node: '>=18'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-ppc64@0.25.11': + resolution: {integrity: sha512-nbLFgsQQEsBa8XSgSTSlrnBSrpoWh7ioFDUmwo158gIm5NNP+17IYmNWzaIzWmgCxq56vfr34xGkOcZ7jX6CPw==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-riscv64@0.25.11': + resolution: {integrity: sha512-HfyAmqZi9uBAbgKYP1yGuI7tSREXwIb438q0nqvlpxAOs3XnZ8RsisRfmVsgV486NdjD7Mw2UrFSw51lzUk1ww==} + engines: {node: '>=18'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-s390x@0.25.11': + resolution: {integrity: sha512-HjLqVgSSYnVXRisyfmzsH6mXqyvj0SA7pG5g+9W7ESgwA70AXYNpfKBqh1KbTxmQVaYxpzA/SvlB9oclGPbApw==} + engines: {node: '>=18'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-x64@0.25.11': + resolution: {integrity: sha512-HSFAT4+WYjIhrHxKBwGmOOSpphjYkcswF449j6EjsjbinTZbp8PJtjsVK1XFJStdzXdy/jaddAep2FGY+wyFAQ==} + engines: {node: '>=18'} + cpu: [x64] + os: [linux] + + '@esbuild/netbsd-arm64@0.25.11': + resolution: {integrity: sha512-hr9Oxj1Fa4r04dNpWr3P8QKVVsjQhqrMSUzZzf+LZcYjZNqhA3IAfPQdEh1FLVUJSiu6sgAwp3OmwBfbFgG2Xg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [netbsd] + + '@esbuild/netbsd-x64@0.25.11': + resolution: {integrity: sha512-u7tKA+qbzBydyj0vgpu+5h5AeudxOAGncb8N6C9Kh1N4n7wU1Xw1JDApsRjpShRpXRQlJLb9wY28ELpwdPcZ7A==} + engines: {node: '>=18'} + cpu: [x64] + os: [netbsd] + + '@esbuild/openbsd-arm64@0.25.11': + resolution: {integrity: sha512-Qq6YHhayieor3DxFOoYM1q0q1uMFYb7cSpLD2qzDSvK1NAvqFi8Xgivv0cFC6J+hWVw2teCYltyy9/m/14ryHg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openbsd] + + '@esbuild/openbsd-x64@0.25.11': + resolution: {integrity: sha512-CN+7c++kkbrckTOz5hrehxWN7uIhFFlmS/hqziSFVWpAzpWrQoAG4chH+nN3Be+Kzv/uuo7zhX716x3Sn2Jduw==} + engines: {node: '>=18'} + cpu: [x64] + os: [openbsd] + + '@esbuild/openharmony-arm64@0.25.11': + resolution: {integrity: sha512-rOREuNIQgaiR+9QuNkbkxubbp8MSO9rONmwP5nKncnWJ9v5jQ4JxFnLu4zDSRPf3x4u+2VN4pM4RdyIzDty/wQ==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openharmony] + + '@esbuild/sunos-x64@0.25.11': + resolution: {integrity: sha512-nq2xdYaWxyg9DcIyXkZhcYulC6pQ2FuCgem3LI92IwMgIZ69KHeY8T4Y88pcwoLIjbed8n36CyKoYRDygNSGhA==} + engines: {node: '>=18'} + cpu: [x64] + os: [sunos] + + '@esbuild/win32-arm64@0.25.11': + resolution: {integrity: sha512-3XxECOWJq1qMZ3MN8srCJ/QfoLpL+VaxD/WfNRm1O3B4+AZ/BnLVgFbUV3eiRYDMXetciH16dwPbbHqwe1uU0Q==} + engines: {node: '>=18'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-ia32@0.25.11': + resolution: {integrity: sha512-3ukss6gb9XZ8TlRyJlgLn17ecsK4NSQTmdIXRASVsiS2sQ6zPPZklNJT5GR5tE/MUarymmy8kCEf5xPCNCqVOA==} + engines: {node: '>=18'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-x64@0.25.11': + resolution: {integrity: sha512-D7Hpz6A2L4hzsRpPaCYkQnGOotdUpDzSGRIv9I+1ITdHROSFUWW95ZPZWQmGka1Fg7W3zFJowyn9WGwMJ0+KPA==} + engines: {node: '>=18'} + cpu: [x64] + os: [win32] + + '@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/uuid@9.0.7': + resolution: {integrity: sha512-WUtIVRUZ9i5dYXefDEAI7sh9/O7jGvHg7Df/5O/gtH3Yabe5odI3UWopVR1qbPXQtvOxWu3mM4XxlYeZtMWF4g==} + + '@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.21: + resolution: {integrity: sha512-JU0h5APyQNsHOlAM7HnQnPToSDQoEBZqzu/YBlqDnEeymPnZDREeXJA3KBMQee+dKteAxZ2AtvQEvVYdZf241Q==} + 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.30001751: + resolution: {integrity: sha512-A0QJhug0Ly64Ii3eIqHu5X51ebln3k4yTUkY1j8drqpWHVreg/VLijN48cZ1bYPiqOQuqpkIKnzr/Ul8V+p6Cw==} + + 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.243: + resolution: {integrity: sha512-ZCphxFW3Q1TVhcgS9blfut1PX8lusVi2SvXQgmEEnK4TCmE1JhH2JkjJN+DNt0pJJwfBri5AROBnz2b/C+YU9g==} + + 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.11: + resolution: {integrity: sha512-KohQwyzrKTQmhXDW1PjCv3Tyspn9n5GcY2RTDqeORIdIJY8yKIF7sTSopFmn/wpMPW4rdPXI0UE5LJLuq3bx0Q==} + 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.11.0: + resolution: {integrity: sha512-mS1lbMsxgQj6hge1XZ6p7GPhbrtFwUFYi3wRzXAC/FmYnyXMTvvI3td3rjmQ2u8ewXueaSvRPWaEcgVVOT9Jnw==} + 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' + + uuid@9.0.1: + resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==} + hasBin: true + + 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'} + + zod@3.25.76: + resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==} + +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.11': + optional: true + + '@esbuild/android-arm64@0.25.11': + optional: true + + '@esbuild/android-arm@0.25.11': + optional: true + + '@esbuild/android-x64@0.25.11': + optional: true + + '@esbuild/darwin-arm64@0.25.11': + optional: true + + '@esbuild/darwin-x64@0.25.11': + optional: true + + '@esbuild/freebsd-arm64@0.25.11': + optional: true + + '@esbuild/freebsd-x64@0.25.11': + optional: true + + '@esbuild/linux-arm64@0.25.11': + optional: true + + '@esbuild/linux-arm@0.25.11': + optional: true + + '@esbuild/linux-ia32@0.25.11': + optional: true + + '@esbuild/linux-loong64@0.25.11': + optional: true + + '@esbuild/linux-mips64el@0.25.11': + optional: true + + '@esbuild/linux-ppc64@0.25.11': + optional: true + + '@esbuild/linux-riscv64@0.25.11': + optional: true + + '@esbuild/linux-s390x@0.25.11': + optional: true + + '@esbuild/linux-x64@0.25.11': + optional: true + + '@esbuild/netbsd-arm64@0.25.11': + optional: true + + '@esbuild/netbsd-x64@0.25.11': + optional: true + + '@esbuild/openbsd-arm64@0.25.11': + optional: true + + '@esbuild/openbsd-x64@0.25.11': + optional: true + + '@esbuild/openharmony-arm64@0.25.11': + optional: true + + '@esbuild/sunos-x64@0.25.11': + optional: true + + '@esbuild/win32-arm64@0.25.11': + optional: true + + '@esbuild/win32-ia32@0.25.11': + optional: true + + '@esbuild/win32-x64@0.25.11': + optional: true + + '@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/uuid@9.0.7': {} + + '@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.21: {} + + braces@3.0.3: + dependencies: + fill-range: 7.1.1 + + browserslist@4.27.0: + dependencies: + baseline-browser-mapping: 2.8.21 + caniuse-lite: 1.0.30001751 + electron-to-chromium: 1.5.243 + 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.30001751: {} + + 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.243: {} + + 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.11: + optionalDependencies: + '@esbuild/aix-ppc64': 0.25.11 + '@esbuild/android-arm': 0.25.11 + '@esbuild/android-arm64': 0.25.11 + '@esbuild/android-x64': 0.25.11 + '@esbuild/darwin-arm64': 0.25.11 + '@esbuild/darwin-x64': 0.25.11 + '@esbuild/freebsd-arm64': 0.25.11 + '@esbuild/freebsd-x64': 0.25.11 + '@esbuild/linux-arm': 0.25.11 + '@esbuild/linux-arm64': 0.25.11 + '@esbuild/linux-ia32': 0.25.11 + '@esbuild/linux-loong64': 0.25.11 + '@esbuild/linux-mips64el': 0.25.11 + '@esbuild/linux-ppc64': 0.25.11 + '@esbuild/linux-riscv64': 0.25.11 + '@esbuild/linux-s390x': 0.25.11 + '@esbuild/linux-x64': 0.25.11 + '@esbuild/netbsd-arm64': 0.25.11 + '@esbuild/netbsd-x64': 0.25.11 + '@esbuild/openbsd-arm64': 0.25.11 + '@esbuild/openbsd-x64': 0.25.11 + '@esbuild/openharmony-arm64': 0.25.11 + '@esbuild/sunos-x64': 0.25.11 + '@esbuild/win32-arm64': 0.25.11 + '@esbuild/win32-ia32': 0.25.11 + '@esbuild/win32-x64': 0.25.11 + + 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.11.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.11.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 + + uuid@9.0.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.11 + 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: {} + + zod@3.25.76: {} 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/reference.md b/reference.md index 66e5ea46..fef0f639 100644 --- a/reference.md +++ b/reference.md @@ -1,7 +1,5 @@ # Reference - ## Tts -
client.tts.synthesizeJson({ ...params }) -> Hume.ReturnTts
@@ -17,7 +15,6 @@ Synthesizes one or more input texts into speech using the specified voice. If no voice is provided, a novel voice will be generated dynamically. Optionally, additional context can be included to influence the speech's style and prosody. The response includes the base64-encoded audio and metadata in JSON format. -
@@ -34,28 +31,22 @@ The response includes the base64-encoded audio and metadata in JSON format. ```typescript await client.tts.synthesizeJson({ context: { - utterances: [ - { + utterances: [{ text: "How can people see beauty so differently?", - description: - "A curious student with a clear and respectful tone, seeking clarification on Hume's ideas with a straightforward question.", - }, - ], + description: "A curious student with a clear and respectful tone, seeking clarification on Hume's ideas with a straightforward question." + }] }, format: { - type: "mp3", + type: "mp3" }, numGenerations: 1, - utterances: [ - { + utterances: [{ text: "Beauty is no quality in things themselves: It exists merely in the mind which contemplates them.", - description: - "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality.", - }, - ], + description: "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality." + }] }); -``` +``` @@ -69,21 +60,22 @@ await client.tts.synthesizeJson({
-**request:** `Hume.PostedTts` - +**request:** `Hume.PostedTts` +
-**requestOptions:** `Tts.RequestOptions` - +**requestOptions:** `Tts.RequestOptions` +
+
@@ -100,10 +92,9 @@ await client.tts.synthesizeJson({
-Synthesizes one or more input texts into speech using the specified voice. If no voice is provided, a novel voice will be generated dynamically. Optionally, additional context can be included to influence the speech's style and prosody. +Synthesizes one or more input texts into speech using the specified voice. If no voice is provided, a novel voice will be generated dynamically. Optionally, additional context can be included to influence the speech's style and prosody. The response contains the generated audio file in the requested format. -
@@ -120,22 +111,19 @@ The response contains the generated audio file in the requested format. ```typescript await client.tts.synthesizeFile({ context: { - generationId: "09ad914d-8e7f-40f8-a279-e34f07f7dab2", + generationId: "09ad914d-8e7f-40f8-a279-e34f07f7dab2" }, format: { - type: "mp3", + type: "mp3" }, numGenerations: 1, - utterances: [ - { + utterances: [{ text: "Beauty is no quality in things themselves: It exists merely in the mind which contemplates them.", - description: - "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality.", - }, - ], + description: "Middle-aged masculine voice with a clear, rhythmic Scots lilt, rounded vowels, and a warm, steady tone with an articulate, academic quality." + }] }); -``` +``` @@ -149,21 +137,22 @@ await client.tts.synthesizeFile({
-**request:** `Hume.PostedTts` - +**request:** `Hume.PostedTts` +
-**requestOptions:** `Tts.RequestOptions` - +**requestOptions:** `Tts.RequestOptions` +
+ @@ -181,7 +170,6 @@ await client.tts.synthesizeFile({
Streams synthesized speech using the specified voice. If no voice is provided, a novel voice will be generated dynamically. Optionally, additional context can be included to influence the speech's style and prosody. -
@@ -197,18 +185,16 @@ Streams synthesized speech using the specified voice. If no voice is provided, a ```typescript await client.tts.synthesizeFileStreaming({ - utterances: [ - { + utterances: [{ text: "Beauty is no quality in things themselves: It exists merely in the mind which contemplates them.", voice: { name: "Male English Actor", - provider: "HUME_AI", - }, - }, - ], + provider: "HUME_AI" + } + }] }); -``` +``` @@ -222,21 +208,22 @@ await client.tts.synthesizeFileStreaming({
-**request:** `Hume.PostedTts` - +**request:** `Hume.PostedTts` +
-**requestOptions:** `Tts.RequestOptions` - +**requestOptions:** `Tts.RequestOptions` +
+ @@ -253,10 +240,9 @@ await client.tts.synthesizeFileStreaming({
-Streams synthesized speech using the specified voice. If no voice is provided, a novel voice will be generated dynamically. Optionally, additional context can be included to influence the speech's style and prosody. +Streams synthesized speech using the specified voice. If no voice is provided, a novel voice will be generated dynamically. Optionally, additional context can be included to influence the speech's style and prosody. The response is a stream of JSON objects including audio encoded in base64. -
@@ -272,21 +258,19 @@ The response is a stream of JSON objects including audio encoded in base64. ```typescript const response = await client.tts.synthesizeJsonStreaming({ - utterances: [ - { + utterances: [{ text: "Beauty is no quality in things themselves: It exists merely in the mind which contemplates them.", voice: { name: "Male English Actor", - provider: "HUME_AI", - }, - }, - ], + provider: "HUME_AI" + } + }] }); for await (const item of response) { console.log(item); } -``` +``` @@ -300,28 +284,28 @@ for await (const item of response) {
-**request:** `Hume.PostedTts` - +**request:** `Hume.PostedTts` +
-**requestOptions:** `Tts.RequestOptions` - +**requestOptions:** `Tts.RequestOptions` +
+ ## Tts Voices - -
client.tts.voices.list({ ...params }) -> core.Page +
client.tts.voices.list({ ...params }) -> core.Page
@@ -334,7 +318,6 @@ for await (const item of response) {
Lists voices you have saved in your account, or voices from the [Voice Library](https://platform.hume.ai/tts/voice-library). -
@@ -349,22 +332,25 @@ Lists voices you have saved in your account, or voices from the [Voice Library](
```typescript -const response = await client.tts.voices.list({ - provider: "CUSTOM_VOICE", +const pageableResponse = await client.tts.voices.list({ + provider: "CUSTOM_VOICE" }); -for await (const item of response) { +for await (const item of pageableResponse) { console.log(item); } // Or you can manually iterate page-by-page let page = await client.tts.voices.list({ - provider: "CUSTOM_VOICE", + provider: "CUSTOM_VOICE" }); while (page.hasNextPage()) { page = page.getNextPage(); } -``` +// You can also access the underlying response +const response = page.response; + +```
@@ -378,21 +364,22 @@ while (page.hasNextPage()) {
-**request:** `Hume.tts.VoicesListRequest` - +**request:** `Hume.tts.VoicesListRequest` +
-**requestOptions:** `Voices.RequestOptions` - +**requestOptions:** `Voices.RequestOptions` +
+
@@ -412,7 +399,6 @@ while (page.hasNextPage()) { Saves a new custom voice to your account using the specified TTS generation ID. Once saved, this voice can be reused in subsequent TTS requests, ensuring consistent speech style and prosody. For more details on voice creation, see the [Voices Guide](/docs/text-to-speech-tts/voices). - @@ -429,10 +415,10 @@ Once saved, this voice can be reused in subsequent TTS requests, ensuring consis ```typescript await client.tts.voices.create({ generationId: "795c949a-1510-4a80-9646-7d0863b023ab", - name: "David Hume", + name: "David Hume" }); -``` +``` @@ -446,21 +432,22 @@ await client.tts.voices.create({
-**request:** `Hume.tts.PostedVoice` - +**request:** `Hume.tts.PostedVoice` +
-**requestOptions:** `Voices.RequestOptions` - +**requestOptions:** `Voices.RequestOptions` +
+
@@ -478,7 +465,6 @@ await client.tts.voices.create({
Deletes a previously generated custom voice. -
@@ -494,10 +480,10 @@ Deletes a previously generated custom voice. ```typescript await client.tts.voices.delete({ - name: "David Hume", + name: "David Hume" }); -``` +``` @@ -511,28 +497,28 @@ await client.tts.voices.delete({
-**request:** `Hume.tts.VoicesDeleteRequest` - +**request:** `Hume.tts.VoicesDeleteRequest` +
-**requestOptions:** `Voices.RequestOptions` - +**requestOptions:** `Voices.RequestOptions` +
+ ## EmpathicVoice Tools - -
client.empathicVoice.tools.listTools({ ...params }) -> core.Page +
client.empathicVoice.tools.listTools({ ...params }) -> core.Page<(Hume.ReturnUserDefinedTool | undefined), Hume.ReturnPagedUserDefinedTools>
@@ -547,7 +533,6 @@ await client.tts.voices.delete({ Fetches a paginated list of **Tools**. Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI. -
@@ -562,24 +547,27 @@ Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-ca
```typescript -const response = await client.empathicVoice.tools.listTools({ +const pageableResponse = await client.empathicVoice.tools.listTools({ pageNumber: 0, - pageSize: 2, + pageSize: 2 }); -for await (const item of response) { +for await (const item of pageableResponse) { console.log(item); } // Or you can manually iterate page-by-page let page = await client.empathicVoice.tools.listTools({ pageNumber: 0, - pageSize: 2, + pageSize: 2 }); while (page.hasNextPage()) { page = page.getNextPage(); } -``` +// You can also access the underlying response +const response = page.response; + +```
@@ -593,21 +581,22 @@ while (page.hasNextPage()) {
-**request:** `Hume.empathicVoice.ToolsListToolsRequest` - +**request:** `Hume.empathicVoice.ToolsListToolsRequest` +
-**requestOptions:** `Tools.RequestOptions` - +**requestOptions:** `Tools.RequestOptions` +
+
@@ -627,7 +616,6 @@ while (page.hasNextPage()) { Creates a **Tool** that can be added to an [EVI configuration](/reference/speech-to-speech-evi/configs/create-config). Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI. - @@ -644,14 +632,13 @@ Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-ca ```typescript await client.empathicVoice.tools.createTool({ name: "get_current_weather", - parameters: - '{ "type": "object", "properties": { "location": { "type": "string", "description": "The city and state, e.g. San Francisco, CA" }, "format": { "type": "string", "enum": ["celsius", "fahrenheit"], "description": "The temperature unit to use. Infer this from the users location." } }, "required": ["location", "format"] }', + parameters: "{ \"type\": \"object\", \"properties\": { \"location\": { \"type\": \"string\", \"description\": \"The city and state, e.g. San Francisco, CA\" }, \"format\": { \"type\": \"string\", \"enum\": [\"celsius\", \"fahrenheit\"], \"description\": \"The temperature unit to use. Infer this from the users location.\" } }, \"required\": [\"location\", \"format\"] }", versionDescription: "Fetches current weather and uses celsius or fahrenheit based on location of user.", description: "This tool is for getting the current weather.", - fallbackContent: "Unable to fetch current weather.", + fallbackContent: "Unable to fetch current weather." }); -``` +``` @@ -665,26 +652,27 @@ await client.empathicVoice.tools.createTool({
-**request:** `Hume.empathicVoice.PostedUserDefinedTool` - +**request:** `Hume.empathicVoice.PostedUserDefinedTool` +
-**requestOptions:** `Tools.RequestOptions` - +**requestOptions:** `Tools.RequestOptions` +
+
-
client.empathicVoice.tools.listToolVersions(id, { ...params }) -> core.Page +
client.empathicVoice.tools.listToolVersions(id, { ...params }) -> core.Page<(Hume.ReturnUserDefinedTool | undefined), Hume.ReturnPagedUserDefinedTools>
@@ -699,7 +687,6 @@ await client.empathicVoice.tools.createTool({ Fetches a list of a **Tool's** versions. Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI. -
@@ -714,8 +701,8 @@ Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-ca
```typescript -const response = await client.empathicVoice.tools.listToolVersions("00183a3f-79ba-413d-9f3b-609864268bea"); -for await (const item of response) { +const pageableResponse = await client.empathicVoice.tools.listToolVersions("00183a3f-79ba-413d-9f3b-609864268bea"); +for await (const item of pageableResponse) { console.log(item); } @@ -724,8 +711,11 @@ let page = await client.empathicVoice.tools.listToolVersions("00183a3f-79ba-413d while (page.hasNextPage()) { page = page.getNextPage(); } -``` +// You can also access the underlying response +const response = page.response; + +```
@@ -740,28 +730,29 @@ while (page.hasNextPage()) {
**id:** `string` — Identifier for a Tool. Formatted as a UUID. - +
-**request:** `Hume.empathicVoice.ToolsListToolVersionsRequest` - +**request:** `Hume.empathicVoice.ToolsListToolVersionsRequest` +
-**requestOptions:** `Tools.RequestOptions` - +**requestOptions:** `Tools.RequestOptions` +
+
@@ -781,7 +772,6 @@ while (page.hasNextPage()) { Updates a **Tool** by creating a new version of the **Tool**. Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI. - @@ -797,14 +787,13 @@ Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-ca ```typescript await client.empathicVoice.tools.createToolVersion("00183a3f-79ba-413d-9f3b-609864268bea", { - parameters: - '{ "type": "object", "properties": { "location": { "type": "string", "description": "The city and state, e.g. San Francisco, CA" }, "format": { "type": "string", "enum": ["celsius", "fahrenheit", "kelvin"], "description": "The temperature unit to use. Infer this from the users location." } }, "required": ["location", "format"] }', + parameters: "{ \"type\": \"object\", \"properties\": { \"location\": { \"type\": \"string\", \"description\": \"The city and state, e.g. San Francisco, CA\" }, \"format\": { \"type\": \"string\", \"enum\": [\"celsius\", \"fahrenheit\", \"kelvin\"], \"description\": \"The temperature unit to use. Infer this from the users location.\" } }, \"required\": [\"location\", \"format\"] }", versionDescription: "Fetches current weather and uses celsius, fahrenheit, or kelvin based on location of user.", fallbackContent: "Unable to fetch current weather.", - description: "This tool is for getting the current weather.", + description: "This tool is for getting the current weather." }); -``` +``` @@ -819,28 +808,29 @@ await client.empathicVoice.tools.createToolVersion("00183a3f-79ba-413d-9f3b-6098
**id:** `string` — Identifier for a Tool. Formatted as a UUID. - +
-**request:** `Hume.empathicVoice.PostedUserDefinedToolVersion` - +**request:** `Hume.empathicVoice.PostedUserDefinedToolVersion` +
-**requestOptions:** `Tools.RequestOptions` - +**requestOptions:** `Tools.RequestOptions` +
+
@@ -860,7 +850,6 @@ await client.empathicVoice.tools.createToolVersion("00183a3f-79ba-413d-9f3b-6098 Deletes a **Tool** and its versions. Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI. - @@ -876,8 +865,8 @@ Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-ca ```typescript await client.empathicVoice.tools.deleteTool("00183a3f-79ba-413d-9f3b-609864268bea"); -``` +``` @@ -892,20 +881,21 @@ await client.empathicVoice.tools.deleteTool("00183a3f-79ba-413d-9f3b-609864268be
**id:** `string` — Identifier for a Tool. Formatted as a UUID. - +
-**requestOptions:** `Tools.RequestOptions` - +**requestOptions:** `Tools.RequestOptions` +
+ @@ -925,7 +915,6 @@ await client.empathicVoice.tools.deleteTool("00183a3f-79ba-413d-9f3b-609864268be Updates the name of a **Tool**. Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI. - @@ -941,10 +930,10 @@ Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-ca ```typescript await client.empathicVoice.tools.updateToolName("00183a3f-79ba-413d-9f3b-609864268bea", { - name: "get_current_temperature", + name: "get_current_temperature" }); -``` +``` @@ -959,28 +948,29 @@ await client.empathicVoice.tools.updateToolName("00183a3f-79ba-413d-9f3b-6098642
**id:** `string` — Identifier for a Tool. Formatted as a UUID. - +
-**request:** `Hume.empathicVoice.PostedUserDefinedToolName` - +**request:** `Hume.empathicVoice.PostedUserDefinedToolName` +
-**requestOptions:** `Tools.RequestOptions` - +**requestOptions:** `Tools.RequestOptions` +
+ @@ -1000,7 +990,6 @@ await client.empathicVoice.tools.updateToolName("00183a3f-79ba-413d-9f3b-6098642 Fetches a specified version of a **Tool**. Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI. - @@ -1016,8 +1005,8 @@ Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-ca ```typescript await client.empathicVoice.tools.getToolVersion("00183a3f-79ba-413d-9f3b-609864268bea", 1); -``` +``` @@ -1032,34 +1021,35 @@ await client.empathicVoice.tools.getToolVersion("00183a3f-79ba-413d-9f3b-6098642
**id:** `string` — Identifier for a Tool. Formatted as a UUID. - +
-**version:** `number` +**version:** `number` Version number for a Tool. Tools, Configs, Custom Voices, and Prompts are versioned. This versioning system supports iterative development, allowing you to progressively refine tools and revert to previous versions if needed. Version numbers are integer values representing different iterations of the Tool. Each update to the Tool increments its version number. - +
-**requestOptions:** `Tools.RequestOptions` - +**requestOptions:** `Tools.RequestOptions` +
+ @@ -1079,7 +1069,6 @@ Version numbers are integer values representing different iterations of the Tool Deletes a specified version of a **Tool**. Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI. - @@ -1095,8 +1084,8 @@ Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-ca ```typescript await client.empathicVoice.tools.deleteToolVersion("00183a3f-79ba-413d-9f3b-609864268bea", 1); -``` +``` @@ -1111,34 +1100,35 @@ await client.empathicVoice.tools.deleteToolVersion("00183a3f-79ba-413d-9f3b-6098
**id:** `string` — Identifier for a Tool. Formatted as a UUID. - +
-**version:** `number` +**version:** `number` Version number for a Tool. Tools, Configs, Custom Voices, and Prompts are versioned. This versioning system supports iterative development, allowing you to progressively refine tools and revert to previous versions if needed. Version numbers are integer values representing different iterations of the Tool. Each update to the Tool increments its version number. - +
-**requestOptions:** `Tools.RequestOptions` - +**requestOptions:** `Tools.RequestOptions` +
+ @@ -1158,7 +1148,6 @@ Version numbers are integer values representing different iterations of the Tool Updates the description of a specified **Tool** version. Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-calling) guide for comprehensive instructions on defining and integrating tools into EVI. - @@ -1174,11 +1163,10 @@ Refer to our [tool use](/docs/speech-to-speech-evi/features/tool-use#function-ca ```typescript await client.empathicVoice.tools.updateToolDescription("00183a3f-79ba-413d-9f3b-609864268bea", 1, { - versionDescription: - "Fetches current temperature, precipitation, wind speed, AQI, and other weather conditions. Uses Celsius, Fahrenheit, or kelvin depending on user's region.", + versionDescription: "Fetches current temperature, precipitation, wind speed, AQI, and other weather conditions. Uses Celsius, Fahrenheit, or kelvin depending on user's region." }); -``` +``` @@ -1193,49 +1181,49 @@ await client.empathicVoice.tools.updateToolDescription("00183a3f-79ba-413d-9f3b-
**id:** `string` — Identifier for a Tool. Formatted as a UUID. - +
-**version:** `number` +**version:** `number` Version number for a Tool. Tools, Configs, Custom Voices, and Prompts are versioned. This versioning system supports iterative development, allowing you to progressively refine tools and revert to previous versions if needed. Version numbers are integer values representing different iterations of the Tool. Each update to the Tool increments its version number. - +
-**request:** `Hume.empathicVoice.PostedUserDefinedToolVersionDescription` - +**request:** `Hume.empathicVoice.PostedUserDefinedToolVersionDescription` +
-**requestOptions:** `Tools.RequestOptions` - +**requestOptions:** `Tools.RequestOptions` +
+ ## EmpathicVoice Prompts - -
client.empathicVoice.prompts.listPrompts({ ...params }) -> core.Page +
client.empathicVoice.prompts.listPrompts({ ...params }) -> core.Page<(Hume.ReturnPrompt | undefined), Hume.ReturnPagedPrompts>
@@ -1250,7 +1238,6 @@ Version numbers are integer values representing different iterations of the Tool Fetches a paginated list of **Prompts**. See our [prompting guide](/docs/speech-to-speech-evi/guides/phone-calling) for tips on crafting your system prompt. -
@@ -1265,24 +1252,27 @@ See our [prompting guide](/docs/speech-to-speech-evi/guides/phone-calling) for t
```typescript -const response = await client.empathicVoice.prompts.listPrompts({ +const pageableResponse = await client.empathicVoice.prompts.listPrompts({ pageNumber: 0, - pageSize: 2, + pageSize: 2 }); -for await (const item of response) { +for await (const item of pageableResponse) { console.log(item); } // Or you can manually iterate page-by-page let page = await client.empathicVoice.prompts.listPrompts({ pageNumber: 0, - pageSize: 2, + pageSize: 2 }); while (page.hasNextPage()) { page = page.getNextPage(); } -``` +// You can also access the underlying response +const response = page.response; + +```
@@ -1296,21 +1286,22 @@ while (page.hasNextPage()) {
-**request:** `Hume.empathicVoice.PromptsListPromptsRequest` - +**request:** `Hume.empathicVoice.PromptsListPromptsRequest` +
-**requestOptions:** `Prompts.RequestOptions` - +**requestOptions:** `Prompts.RequestOptions` +
+
@@ -1330,7 +1321,6 @@ while (page.hasNextPage()) { Creates a **Prompt** that can be added to an [EVI configuration](/reference/speech-to-speech-evi/configs/create-config). See our [prompting guide](/docs/speech-to-speech-evi/guides/phone-calling) for tips on crafting your system prompt. - @@ -1347,10 +1337,10 @@ See our [prompting guide](/docs/speech-to-speech-evi/guides/phone-calling) for t ```typescript await client.empathicVoice.prompts.createPrompt({ name: "Weather Assistant Prompt", - text: "You are an AI weather assistant providing users with accurate and up-to-date weather information. Respond to user queries concisely and clearly. Use simple language and avoid technical jargon. Provide temperature, precipitation, wind conditions, and any weather alerts. Include helpful tips if severe weather is expected.", + text: "You are an AI weather assistant providing users with accurate and up-to-date weather information. Respond to user queries concisely and clearly. Use simple language and avoid technical jargon. Provide temperature, precipitation, wind conditions, and any weather alerts. Include helpful tips if severe weather is expected." }); -``` +``` @@ -1364,21 +1354,22 @@ await client.empathicVoice.prompts.createPrompt({
-**request:** `Hume.empathicVoice.PostedPrompt` - +**request:** `Hume.empathicVoice.PostedPrompt` +
-**requestOptions:** `Prompts.RequestOptions` - +**requestOptions:** `Prompts.RequestOptions` +
+
@@ -1398,7 +1389,6 @@ await client.empathicVoice.prompts.createPrompt({ Fetches a list of a **Prompt's** versions. See our [prompting guide](/docs/speech-to-speech-evi/guides/phone-calling) for tips on crafting your system prompt. - @@ -1414,8 +1404,8 @@ See our [prompting guide](/docs/speech-to-speech-evi/guides/phone-calling) for t ```typescript await client.empathicVoice.prompts.listPromptVersions("af699d45-2985-42cc-91b9-af9e5da3bac5"); -``` +``` @@ -1430,28 +1420,29 @@ await client.empathicVoice.prompts.listPromptVersions("af699d45-2985-42cc-91b9-a
**id:** `string` — Identifier for a Prompt. Formatted as a UUID. - +
-**request:** `Hume.empathicVoice.PromptsListPromptVersionsRequest` - +**request:** `Hume.empathicVoice.PromptsListPromptVersionsRequest` +
-**requestOptions:** `Prompts.RequestOptions` - +**requestOptions:** `Prompts.RequestOptions` +
+ @@ -1471,7 +1462,6 @@ await client.empathicVoice.prompts.listPromptVersions("af699d45-2985-42cc-91b9-a Updates a **Prompt** by creating a new version of the **Prompt**. See our [prompting guide](/docs/speech-to-speech-evi/guides/phone-calling) for tips on crafting your system prompt. - @@ -1488,10 +1478,10 @@ See our [prompting guide](/docs/speech-to-speech-evi/guides/phone-calling) for t ```typescript await client.empathicVoice.prompts.createPromptVersion("af699d45-2985-42cc-91b9-af9e5da3bac5", { text: "You are an updated version of an AI weather assistant providing users with accurate and up-to-date weather information. Respond to user queries concisely and clearly. Use simple language and avoid technical jargon. Provide temperature, precipitation, wind conditions, and any weather alerts. Include helpful tips if severe weather is expected.", - versionDescription: "This is an updated version of the Weather Assistant Prompt.", + versionDescription: "This is an updated version of the Weather Assistant Prompt." }); -``` +``` @@ -1506,28 +1496,29 @@ await client.empathicVoice.prompts.createPromptVersion("af699d45-2985-42cc-91b9-
**id:** `string` — Identifier for a Prompt. Formatted as a UUID. - +
-**request:** `Hume.empathicVoice.PostedPromptVersion` - +**request:** `Hume.empathicVoice.PostedPromptVersion` +
-**requestOptions:** `Prompts.RequestOptions` - +**requestOptions:** `Prompts.RequestOptions` +
+ @@ -1547,7 +1538,6 @@ await client.empathicVoice.prompts.createPromptVersion("af699d45-2985-42cc-91b9- Deletes a **Prompt** and its versions. See our [prompting guide](/docs/speech-to-speech-evi/guides/phone-calling) for tips on crafting your system prompt. - @@ -1563,8 +1553,8 @@ See our [prompting guide](/docs/speech-to-speech-evi/guides/phone-calling) for t ```typescript await client.empathicVoice.prompts.deletePrompt("af699d45-2985-42cc-91b9-af9e5da3bac5"); -``` +``` @@ -1579,20 +1569,21 @@ await client.empathicVoice.prompts.deletePrompt("af699d45-2985-42cc-91b9-af9e5da
**id:** `string` — Identifier for a Prompt. Formatted as a UUID. - +
-**requestOptions:** `Prompts.RequestOptions` - +**requestOptions:** `Prompts.RequestOptions` +
+ @@ -1612,7 +1603,6 @@ await client.empathicVoice.prompts.deletePrompt("af699d45-2985-42cc-91b9-af9e5da Updates the name of a **Prompt**. See our [prompting guide](/docs/speech-to-speech-evi/guides/phone-calling) for tips on crafting your system prompt. - @@ -1628,10 +1618,10 @@ See our [prompting guide](/docs/speech-to-speech-evi/guides/phone-calling) for t ```typescript await client.empathicVoice.prompts.updatePromptName("af699d45-2985-42cc-91b9-af9e5da3bac5", { - name: "Updated Weather Assistant Prompt Name", + name: "Updated Weather Assistant Prompt Name" }); -``` +``` @@ -1646,28 +1636,29 @@ await client.empathicVoice.prompts.updatePromptName("af699d45-2985-42cc-91b9-af9
**id:** `string` — Identifier for a Prompt. Formatted as a UUID. - +
-**request:** `Hume.empathicVoice.PostedPromptName` - +**request:** `Hume.empathicVoice.PostedPromptName` +
-**requestOptions:** `Prompts.RequestOptions` - +**requestOptions:** `Prompts.RequestOptions` +
+ @@ -1687,7 +1678,6 @@ await client.empathicVoice.prompts.updatePromptName("af699d45-2985-42cc-91b9-af9 Fetches a specified version of a **Prompt**. See our [prompting guide](/docs/speech-to-speech-evi/guides/phone-calling) for tips on crafting your system prompt. - @@ -1703,8 +1693,8 @@ See our [prompting guide](/docs/speech-to-speech-evi/guides/phone-calling) for t ```typescript await client.empathicVoice.prompts.getPromptVersion("af699d45-2985-42cc-91b9-af9e5da3bac5", 0); -``` +``` @@ -1719,34 +1709,35 @@ await client.empathicVoice.prompts.getPromptVersion("af699d45-2985-42cc-91b9-af9
**id:** `string` — Identifier for a Prompt. Formatted as a UUID. - +
-**version:** `number` +**version:** `number` Version number for a Prompt. Prompts, Configs, Custom Voices, and Tools are versioned. This versioning system supports iterative development, allowing you to progressively refine prompts and revert to previous versions if needed. Version numbers are integer values representing different iterations of the Prompt. Each update to the Prompt increments its version number. - +
-**requestOptions:** `Prompts.RequestOptions` - +**requestOptions:** `Prompts.RequestOptions` +
+ @@ -1766,7 +1757,6 @@ Version numbers are integer values representing different iterations of the Prom Deletes a specified version of a **Prompt**. See our [prompting guide](/docs/speech-to-speech-evi/guides/phone-calling) for tips on crafting your system prompt. - @@ -1782,8 +1772,8 @@ See our [prompting guide](/docs/speech-to-speech-evi/guides/phone-calling) for t ```typescript await client.empathicVoice.prompts.deletePromptVersion("af699d45-2985-42cc-91b9-af9e5da3bac5", 1); -``` +``` @@ -1798,34 +1788,35 @@ await client.empathicVoice.prompts.deletePromptVersion("af699d45-2985-42cc-91b9-
**id:** `string` — Identifier for a Prompt. Formatted as a UUID. - +
-**version:** `number` +**version:** `number` Version number for a Prompt. Prompts, Configs, Custom Voices, and Tools are versioned. This versioning system supports iterative development, allowing you to progressively refine prompts and revert to previous versions if needed. Version numbers are integer values representing different iterations of the Prompt. Each update to the Prompt increments its version number. - +
-**requestOptions:** `Prompts.RequestOptions` - +**requestOptions:** `Prompts.RequestOptions` +
+ @@ -1845,7 +1836,6 @@ Version numbers are integer values representing different iterations of the Prom Updates the description of a **Prompt**. See our [prompting guide](/docs/speech-to-speech-evi/guides/phone-calling) for tips on crafting your system prompt. - @@ -1861,10 +1851,10 @@ See our [prompting guide](/docs/speech-to-speech-evi/guides/phone-calling) for t ```typescript await client.empathicVoice.prompts.updatePromptDescription("af699d45-2985-42cc-91b9-af9e5da3bac5", 1, { - versionDescription: "This is an updated version_description.", + versionDescription: "This is an updated version_description." }); -``` +``` @@ -1879,49 +1869,49 @@ await client.empathicVoice.prompts.updatePromptDescription("af699d45-2985-42cc-9
**id:** `string` — Identifier for a Prompt. Formatted as a UUID. - +
-**version:** `number` +**version:** `number` Version number for a Prompt. Prompts, Configs, Custom Voices, and Tools are versioned. This versioning system supports iterative development, allowing you to progressively refine prompts and revert to previous versions if needed. Version numbers are integer values representing different iterations of the Prompt. Each update to the Prompt increments its version number. - +
-**request:** `Hume.empathicVoice.PostedPromptVersionDescription` - +**request:** `Hume.empathicVoice.PostedPromptVersionDescription` +
-**requestOptions:** `Prompts.RequestOptions` - +**requestOptions:** `Prompts.RequestOptions` +
+ ## EmpathicVoice Configs - -
client.empathicVoice.configs.listConfigs({ ...params }) -> core.Page +
client.empathicVoice.configs.listConfigs({ ...params }) -> core.Page
@@ -1936,7 +1926,6 @@ Version numbers are integer values representing different iterations of the Prom Fetches a paginated list of **Configs**. For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration). -
@@ -1951,24 +1940,27 @@ For more details on configuration options and how to configure EVI, see our [con
```typescript -const response = await client.empathicVoice.configs.listConfigs({ +const pageableResponse = await client.empathicVoice.configs.listConfigs({ pageNumber: 0, - pageSize: 1, + pageSize: 1 }); -for await (const item of response) { +for await (const item of pageableResponse) { console.log(item); } // Or you can manually iterate page-by-page let page = await client.empathicVoice.configs.listConfigs({ pageNumber: 0, - pageSize: 1, + pageSize: 1 }); while (page.hasNextPage()) { page = page.getNextPage(); } -``` +// You can also access the underlying response +const response = page.response; + +```
@@ -1982,21 +1974,22 @@ while (page.hasNextPage()) {
-**request:** `Hume.empathicVoice.ConfigsListConfigsRequest` - +**request:** `Hume.empathicVoice.ConfigsListConfigsRequest` +
-**requestOptions:** `Configs.RequestOptions` - +**requestOptions:** `Configs.RequestOptions` +
+
@@ -2016,7 +2009,6 @@ while (page.hasNextPage()) { Creates a **Config** which can be applied to EVI. For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration). - @@ -2035,35 +2027,35 @@ await client.empathicVoice.configs.createConfig({ name: "Weather Assistant Config", prompt: { id: "af699d45-2985-42cc-91b9-af9e5da3bac5", - version: 0, + version: 0 }, eviVersion: "3", voice: { provider: "HUME_AI", - name: "Ava Song", + name: "Ava Song" }, languageModel: { modelProvider: "ANTHROPIC", modelResource: "claude-3-7-sonnet-latest", - temperature: 1, + temperature: 1 }, eventMessages: { onNewChat: { enabled: false, - text: "", + text: "" }, onInactivityTimeout: { enabled: false, - text: "", + text: "" }, onMaxDurationTimeout: { enabled: false, - text: "", - }, - }, + text: "" + } + } }); -``` +``` @@ -2077,26 +2069,27 @@ await client.empathicVoice.configs.createConfig({
-**request:** `Hume.empathicVoice.PostedConfig` - +**request:** `Hume.empathicVoice.PostedConfig` +
-**requestOptions:** `Configs.RequestOptions` - +**requestOptions:** `Configs.RequestOptions` +
+
-
client.empathicVoice.configs.listConfigVersions(id, { ...params }) -> core.Page +
client.empathicVoice.configs.listConfigVersions(id, { ...params }) -> core.Page
@@ -2111,7 +2104,6 @@ await client.empathicVoice.configs.createConfig({ Fetches a list of a **Config's** versions. For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration). -
@@ -2126,8 +2118,8 @@ For more details on configuration options and how to configure EVI, see our [con
```typescript -const response = await client.empathicVoice.configs.listConfigVersions("1b60e1a0-cc59-424a-8d2c-189d354db3f3"); -for await (const item of response) { +const pageableResponse = await client.empathicVoice.configs.listConfigVersions("1b60e1a0-cc59-424a-8d2c-189d354db3f3"); +for await (const item of pageableResponse) { console.log(item); } @@ -2136,8 +2128,11 @@ let page = await client.empathicVoice.configs.listConfigVersions("1b60e1a0-cc59- while (page.hasNextPage()) { page = page.getNextPage(); } -``` +// You can also access the underlying response +const response = page.response; + +```
@@ -2152,28 +2147,29 @@ while (page.hasNextPage()) {
**id:** `string` — Identifier for a Config. Formatted as a UUID. - +
-**request:** `Hume.empathicVoice.ConfigsListConfigVersionsRequest` - +**request:** `Hume.empathicVoice.ConfigsListConfigVersionsRequest` +
-**requestOptions:** `Configs.RequestOptions` - +**requestOptions:** `Configs.RequestOptions` +
+
@@ -2193,7 +2189,6 @@ while (page.hasNextPage()) { Updates a **Config** by creating a new version of the **Config**. For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration). - @@ -2213,37 +2208,37 @@ await client.empathicVoice.configs.createConfigVersion("1b60e1a0-cc59-424a-8d2c- eviVersion: "3", prompt: { id: "af699d45-2985-42cc-91b9-af9e5da3bac5", - version: 0, + version: 0 }, voice: { provider: "HUME_AI", - name: "Ava Song", + name: "Ava Song" }, languageModel: { modelProvider: "ANTHROPIC", modelResource: "claude-3-7-sonnet-latest", - temperature: 1, + temperature: 1 }, ellmModel: { - allowShortResponses: true, + allowShortResponses: true }, eventMessages: { onNewChat: { enabled: false, - text: "", + text: "" }, onInactivityTimeout: { enabled: false, - text: "", + text: "" }, onMaxDurationTimeout: { enabled: false, - text: "", - }, - }, + text: "" + } + } }); -``` +``` @@ -2258,28 +2253,29 @@ await client.empathicVoice.configs.createConfigVersion("1b60e1a0-cc59-424a-8d2c-
**id:** `string` — Identifier for a Config. Formatted as a UUID. - +
-**request:** `Hume.empathicVoice.PostedConfigVersion` - +**request:** `Hume.empathicVoice.PostedConfigVersion` +
-**requestOptions:** `Configs.RequestOptions` - +**requestOptions:** `Configs.RequestOptions` +
+
@@ -2299,7 +2295,6 @@ await client.empathicVoice.configs.createConfigVersion("1b60e1a0-cc59-424a-8d2c- Deletes a **Config** and its versions. For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration). - @@ -2315,8 +2310,8 @@ For more details on configuration options and how to configure EVI, see our [con ```typescript await client.empathicVoice.configs.deleteConfig("1b60e1a0-cc59-424a-8d2c-189d354db3f3"); -``` +``` @@ -2331,20 +2326,21 @@ await client.empathicVoice.configs.deleteConfig("1b60e1a0-cc59-424a-8d2c-189d354
**id:** `string` — Identifier for a Config. Formatted as a UUID. - +
-**requestOptions:** `Configs.RequestOptions` - +**requestOptions:** `Configs.RequestOptions` +
+ @@ -2364,7 +2360,6 @@ await client.empathicVoice.configs.deleteConfig("1b60e1a0-cc59-424a-8d2c-189d354 Updates the name of a **Config**. For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration). - @@ -2380,10 +2375,10 @@ For more details on configuration options and how to configure EVI, see our [con ```typescript await client.empathicVoice.configs.updateConfigName("1b60e1a0-cc59-424a-8d2c-189d354db3f3", { - name: "Updated Weather Assistant Config Name", + name: "Updated Weather Assistant Config Name" }); -``` +``` @@ -2398,28 +2393,29 @@ await client.empathicVoice.configs.updateConfigName("1b60e1a0-cc59-424a-8d2c-189
**id:** `string` — Identifier for a Config. Formatted as a UUID. - +
-**request:** `Hume.empathicVoice.PostedConfigName` - +**request:** `Hume.empathicVoice.PostedConfigName` +
-**requestOptions:** `Configs.RequestOptions` - +**requestOptions:** `Configs.RequestOptions` +
+ @@ -2439,7 +2435,6 @@ await client.empathicVoice.configs.updateConfigName("1b60e1a0-cc59-424a-8d2c-189 Fetches a specified version of a **Config**. For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration). - @@ -2455,8 +2450,8 @@ For more details on configuration options and how to configure EVI, see our [con ```typescript await client.empathicVoice.configs.getConfigVersion("1b60e1a0-cc59-424a-8d2c-189d354db3f3", 1); -``` +``` @@ -2471,34 +2466,35 @@ await client.empathicVoice.configs.getConfigVersion("1b60e1a0-cc59-424a-8d2c-189
**id:** `string` — Identifier for a Config. Formatted as a UUID. - +
-**version:** `number` +**version:** `number` Version number for a Config. Configs, Prompts, Custom Voices, and Tools are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed. Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number. - +
-**requestOptions:** `Configs.RequestOptions` - +**requestOptions:** `Configs.RequestOptions` +
+ @@ -2518,7 +2514,6 @@ Version numbers are integer values representing different iterations of the Conf Deletes a specified version of a **Config**. For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration). - @@ -2534,8 +2529,8 @@ For more details on configuration options and how to configure EVI, see our [con ```typescript await client.empathicVoice.configs.deleteConfigVersion("1b60e1a0-cc59-424a-8d2c-189d354db3f3", 1); -``` +``` @@ -2550,34 +2545,35 @@ await client.empathicVoice.configs.deleteConfigVersion("1b60e1a0-cc59-424a-8d2c-
**id:** `string` — Identifier for a Config. Formatted as a UUID. - +
-**version:** `number` +**version:** `number` Version number for a Config. Configs, Prompts, Custom Voices, and Tools are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed. Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number. - +
-**requestOptions:** `Configs.RequestOptions` - +**requestOptions:** `Configs.RequestOptions` +
+ @@ -2597,7 +2593,6 @@ Version numbers are integer values representing different iterations of the Conf Updates the description of a **Config**. For more details on configuration options and how to configure EVI, see our [configuration guide](/docs/speech-to-speech-evi/configuration). - @@ -2613,10 +2608,10 @@ For more details on configuration options and how to configure EVI, see our [con ```typescript await client.empathicVoice.configs.updateConfigDescription("1b60e1a0-cc59-424a-8d2c-189d354db3f3", 1, { - versionDescription: "This is an updated version_description.", + versionDescription: "This is an updated version_description." }); -``` +``` @@ -2631,49 +2626,49 @@ await client.empathicVoice.configs.updateConfigDescription("1b60e1a0-cc59-424a-8
**id:** `string` — Identifier for a Config. Formatted as a UUID. - +
-**version:** `number` +**version:** `number` Version number for a Config. Configs, Prompts, Custom Voices, and Tools are versioned. This versioning system supports iterative development, allowing you to progressively refine configurations and revert to previous versions if needed. Version numbers are integer values representing different iterations of the Config. Each update to the Config increments its version number. - +
-**request:** `Hume.empathicVoice.PostedConfigVersionDescription` - +**request:** `Hume.empathicVoice.PostedConfigVersionDescription` +
-**requestOptions:** `Configs.RequestOptions` - +**requestOptions:** `Configs.RequestOptions` +
+ ## EmpathicVoice Chats - -
client.empathicVoice.chats.listChats({ ...params }) -> core.Page +
client.empathicVoice.chats.listChats({ ...params }) -> core.Page
@@ -2686,7 +2681,6 @@ Version numbers are integer values representing different iterations of the Conf
Fetches a paginated list of **Chats**. -
@@ -2701,12 +2695,12 @@ Fetches a paginated list of **Chats**.
```typescript -const response = await client.empathicVoice.chats.listChats({ +const pageableResponse = await client.empathicVoice.chats.listChats({ pageNumber: 0, pageSize: 1, - ascendingOrder: true, + ascendingOrder: true }); -for await (const item of response) { +for await (const item of pageableResponse) { console.log(item); } @@ -2714,13 +2708,16 @@ for await (const item of response) { let page = await client.empathicVoice.chats.listChats({ pageNumber: 0, pageSize: 1, - ascendingOrder: true, + ascendingOrder: true }); while (page.hasNextPage()) { page = page.getNextPage(); } -``` +// You can also access the underlying response +const response = page.response; + +```
@@ -2734,26 +2731,27 @@ while (page.hasNextPage()) {
-**request:** `Hume.empathicVoice.ChatsListChatsRequest` - +**request:** `Hume.empathicVoice.ChatsListChatsRequest` +
-**requestOptions:** `Chats.RequestOptions` - +**requestOptions:** `Chats.RequestOptions` +
+
-
client.empathicVoice.chats.listChatEvents(id, { ...params }) -> core.Page +
client.empathicVoice.chats.listChatEvents(id, { ...params }) -> core.Page
@@ -2766,7 +2764,6 @@ while (page.hasNextPage()) {
Fetches a paginated list of **Chat** events. -
@@ -2781,12 +2778,12 @@ Fetches a paginated list of **Chat** events.
```typescript -const response = await client.empathicVoice.chats.listChatEvents("470a49f6-1dec-4afe-8b61-035d3b2d63b0", { +const pageableResponse = await client.empathicVoice.chats.listChatEvents("470a49f6-1dec-4afe-8b61-035d3b2d63b0", { pageNumber: 0, pageSize: 3, - ascendingOrder: true, + ascendingOrder: true }); -for await (const item of response) { +for await (const item of pageableResponse) { console.log(item); } @@ -2794,13 +2791,16 @@ for await (const item of response) { let page = await client.empathicVoice.chats.listChatEvents("470a49f6-1dec-4afe-8b61-035d3b2d63b0", { pageNumber: 0, pageSize: 3, - ascendingOrder: true, + ascendingOrder: true }); while (page.hasNextPage()) { page = page.getNextPage(); } -``` +// You can also access the underlying response +const response = page.response; + +```
@@ -2815,28 +2815,29 @@ while (page.hasNextPage()) {
**id:** `string` — Identifier for a Chat. Formatted as a UUID. - +
-**request:** `Hume.empathicVoice.ChatsListChatEventsRequest` - +**request:** `Hume.empathicVoice.ChatsListChatEventsRequest` +
-**requestOptions:** `Chats.RequestOptions` - +**requestOptions:** `Chats.RequestOptions` +
+
@@ -2854,7 +2855,6 @@ while (page.hasNextPage()) {
Fetches the audio of a previous **Chat**. For more details, see our guide on audio reconstruction [here](/docs/speech-to-speech-evi/faq#can-i-access-the-audio-of-previous-conversations-with-evi). -
@@ -2870,8 +2870,8 @@ Fetches the audio of a previous **Chat**. For more details, see our guide on aud ```typescript await client.empathicVoice.chats.getAudio("470a49f6-1dec-4afe-8b61-035d3b2d63b0"); -``` +``` @@ -2886,27 +2886,27 @@ await client.empathicVoice.chats.getAudio("470a49f6-1dec-4afe-8b61-035d3b2d63b0"
**id:** `string` — Identifier for a chat. Formatted as a UUID. - +
-**requestOptions:** `Chats.RequestOptions` - +**requestOptions:** `Chats.RequestOptions` +
+
## EmpathicVoice ChatGroups - -
client.empathicVoice.chatGroups.listChatGroups({ ...params }) -> core.Page +
client.empathicVoice.chatGroups.listChatGroups({ ...params }) -> core.Page
@@ -2919,7 +2919,6 @@ await client.empathicVoice.chats.getAudio("470a49f6-1dec-4afe-8b61-035d3b2d63b0"
Fetches a paginated list of **Chat Groups**. -
@@ -2934,13 +2933,13 @@ Fetches a paginated list of **Chat Groups**.
```typescript -const response = await client.empathicVoice.chatGroups.listChatGroups({ +const pageableResponse = await client.empathicVoice.chatGroups.listChatGroups({ pageNumber: 0, pageSize: 1, ascendingOrder: true, - configId: "1b60e1a0-cc59-424a-8d2c-189d354db3f3", + configId: "1b60e1a0-cc59-424a-8d2c-189d354db3f3" }); -for await (const item of response) { +for await (const item of pageableResponse) { console.log(item); } @@ -2949,13 +2948,16 @@ let page = await client.empathicVoice.chatGroups.listChatGroups({ pageNumber: 0, pageSize: 1, ascendingOrder: true, - configId: "1b60e1a0-cc59-424a-8d2c-189d354db3f3", + configId: "1b60e1a0-cc59-424a-8d2c-189d354db3f3" }); while (page.hasNextPage()) { page = page.getNextPage(); } -``` +// You can also access the underlying response +const response = page.response; + +```
@@ -2969,21 +2971,22 @@ while (page.hasNextPage()) {
-**request:** `Hume.empathicVoice.ChatGroupsListChatGroupsRequest` - +**request:** `Hume.empathicVoice.ChatGroupsListChatGroupsRequest` +
-**requestOptions:** `ChatGroups.RequestOptions` - +**requestOptions:** `ChatGroups.RequestOptions` +
+
@@ -3001,7 +3004,6 @@ while (page.hasNextPage()) {
Fetches a **ChatGroup** by ID, including a paginated list of **Chats** associated with the **ChatGroup**. -
@@ -3019,10 +3021,10 @@ Fetches a **ChatGroup** by ID, including a paginated list of **Chats** associate await client.empathicVoice.chatGroups.getChatGroup("697056f0-6c7e-487d-9bd8-9c19df79f05f", { pageNumber: 0, pageSize: 1, - ascendingOrder: true, + ascendingOrder: true }); -``` +``` @@ -3037,33 +3039,34 @@ await client.empathicVoice.chatGroups.getChatGroup("697056f0-6c7e-487d-9bd8-9c19
**id:** `string` — Identifier for a Chat Group. Formatted as a UUID. - +
-**request:** `Hume.empathicVoice.ChatGroupsGetChatGroupRequest` - +**request:** `Hume.empathicVoice.ChatGroupsGetChatGroupRequest` +
-**requestOptions:** `ChatGroups.RequestOptions` - +**requestOptions:** `ChatGroups.RequestOptions` +
+
-
client.empathicVoice.chatGroups.listChatGroupEvents(id, { ...params }) -> core.Page +
client.empathicVoice.chatGroups.listChatGroupEvents(id, { ...params }) -> core.Page
@@ -3076,7 +3079,6 @@ await client.empathicVoice.chatGroups.getChatGroup("697056f0-6c7e-487d-9bd8-9c19
Fetches a paginated list of **Chat** events associated with a **Chat Group**. -
@@ -3091,12 +3093,12 @@ Fetches a paginated list of **Chat** events associated with a **Chat Group**.
```typescript -const response = await client.empathicVoice.chatGroups.listChatGroupEvents("697056f0-6c7e-487d-9bd8-9c19df79f05f", { +const pageableResponse = await client.empathicVoice.chatGroups.listChatGroupEvents("697056f0-6c7e-487d-9bd8-9c19df79f05f", { pageNumber: 0, pageSize: 3, - ascendingOrder: true, + ascendingOrder: true }); -for await (const item of response) { +for await (const item of pageableResponse) { console.log(item); } @@ -3104,13 +3106,16 @@ for await (const item of response) { let page = await client.empathicVoice.chatGroups.listChatGroupEvents("697056f0-6c7e-487d-9bd8-9c19df79f05f", { pageNumber: 0, pageSize: 3, - ascendingOrder: true, + ascendingOrder: true }); while (page.hasNextPage()) { page = page.getNextPage(); } -``` +// You can also access the underlying response +const response = page.response; + +```
@@ -3125,28 +3130,29 @@ while (page.hasNextPage()) {
**id:** `string` — Identifier for a Chat Group. Formatted as a UUID. - +
-**request:** `Hume.empathicVoice.ChatGroupsListChatGroupEventsRequest` - +**request:** `Hume.empathicVoice.ChatGroupsListChatGroupEventsRequest` +
-**requestOptions:** `ChatGroups.RequestOptions` - +**requestOptions:** `ChatGroups.RequestOptions` +
+
@@ -3164,7 +3170,6 @@ while (page.hasNextPage()) {
Fetches a paginated list of audio for each **Chat** within the specified **Chat Group**. For more details, see our guide on audio reconstruction [here](/docs/speech-to-speech-evi/faq#can-i-access-the-audio-of-previous-conversations-with-evi). -
@@ -3182,10 +3187,10 @@ Fetches a paginated list of audio for each **Chat** within the specified **Chat await client.empathicVoice.chatGroups.getAudio("369846cf-6ad5-404d-905e-a8acb5cdfc78", { pageNumber: 0, pageSize: 10, - ascendingOrder: true, + ascendingOrder: true }); -``` +``` @@ -3200,34 +3205,34 @@ await client.empathicVoice.chatGroups.getAudio("369846cf-6ad5-404d-905e-a8acb5cd
**id:** `string` — Identifier for a Chat Group. Formatted as a UUID. - +
-**request:** `Hume.empathicVoice.ChatGroupsGetAudioRequest` - +**request:** `Hume.empathicVoice.ChatGroupsGetAudioRequest` +
-**requestOptions:** `ChatGroups.RequestOptions` - +**requestOptions:** `ChatGroups.RequestOptions` +
+
## ExpressionMeasurement Batch -
client.expressionMeasurement.batch.listJobs({ ...params }) -> Hume.UnionJob[]
@@ -3241,7 +3246,6 @@ await client.empathicVoice.chatGroups.getAudio("369846cf-6ad5-404d-905e-a8acb5cd
Sort and filter jobs. -
@@ -3257,8 +3261,8 @@ Sort and filter jobs. ```typescript await client.expressionMeasurement.batch.listJobs(); -``` +``` @@ -3272,21 +3276,22 @@ await client.expressionMeasurement.batch.listJobs();
-**request:** `Hume.expressionMeasurement.batch.BatchListJobsRequest` - +**request:** `Hume.expressionMeasurement.batch.BatchListJobsRequest` +
-**requestOptions:** `Batch.RequestOptions` - +**requestOptions:** `Batch.RequestOptions` +
+
@@ -3304,7 +3309,6 @@ await client.expressionMeasurement.batch.listJobs();
Start a new measurement inference job. -
@@ -3321,10 +3325,10 @@ Start a new measurement inference job. ```typescript await client.expressionMeasurement.batch.startInferenceJob({ urls: ["https://hume-tutorials.s3.amazonaws.com/faces.zip"], - notify: true, + notify: true }); -``` +``` @@ -3338,21 +3342,22 @@ await client.expressionMeasurement.batch.startInferenceJob({
-**request:** `Hume.InferenceBaseRequest` - +**request:** `Hume.InferenceBaseRequest` +
-**requestOptions:** `Batch.RequestOptions` - +**requestOptions:** `Batch.RequestOptions` +
+
@@ -3370,7 +3375,6 @@ await client.expressionMeasurement.batch.startInferenceJob({
Get the request details and state of a given job. -
@@ -3386,8 +3390,8 @@ Get the request details and state of a given job. ```typescript await client.expressionMeasurement.batch.getJobDetails("job_id"); -``` +``` @@ -3402,20 +3406,21 @@ await client.expressionMeasurement.batch.getJobDetails("job_id");
**id:** `string` — The unique identifier for the job. - +
-**requestOptions:** `Batch.RequestOptions` - +**requestOptions:** `Batch.RequestOptions` +
+ @@ -3433,7 +3438,6 @@ await client.expressionMeasurement.batch.getJobDetails("job_id");
Get the JSON predictions of a completed inference job. -
@@ -3449,8 +3453,8 @@ Get the JSON predictions of a completed inference job. ```typescript await client.expressionMeasurement.batch.getJobPredictions("job_id"); -``` +``` @@ -3465,20 +3469,21 @@ await client.expressionMeasurement.batch.getJobPredictions("job_id");
**id:** `string` — The unique identifier for the job. - +
-**requestOptions:** `Batch.RequestOptions` - +**requestOptions:** `Batch.RequestOptions` +
+ @@ -3496,7 +3501,6 @@ await client.expressionMeasurement.batch.getJobPredictions("job_id");
Start a new batch inference job. -
@@ -3512,10 +3516,10 @@ Start a new batch inference job. ```typescript await client.expressionMeasurement.batch.startInferenceJobFromLocalFile({ - file: [fs.createReadStream("/path/to/your/file")], + file: [fs.createReadStream("/path/to/your/file")] }); -``` +``` @@ -3529,21 +3533,22 @@ await client.expressionMeasurement.batch.startInferenceJobFromLocalFile({
-**request:** `Hume.expressionMeasurement.batch.BatchStartInferenceJobFromLocalFileRequest` - +**request:** `Hume.expressionMeasurement.batch.BatchStartInferenceJobFromLocalFileRequest` +
-**requestOptions:** `Batch.RequestOptions` - +**requestOptions:** `Batch.RequestOptions` +
+ diff --git a/src/BaseClient.ts b/src/BaseClient.ts new file mode 100644 index 00000000..4010fa36 --- /dev/null +++ b/src/BaseClient.ts @@ -0,0 +1,31 @@ +// 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; + apiKey?: 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; + fetcher?: core.FetchFunction; +} + +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; + /** 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 7a71a0e4..a66a0dc4 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -1,37 +1,16 @@ -/** - * 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 { mergeHeaders } from "./core/headers.js"; -import { Tts } from "./api/resources/tts/client/Client.js"; import { EmpathicVoice } from "./api/resources/empathicVoice/client/Client.js"; import { ExpressionMeasurement } from "./api/resources/expressionMeasurement/client/Client.js"; +import { Tts } from "./api/resources/tts/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 HumeClient { - export interface Options { - environment?: core.Supplier; - /** Specify a custom URL to connect the client to. */ - baseUrl?: core.Supplier; - apiKey?: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | null | undefined>; - fetcher?: core.FetchFunction; - } + export interface Options extends BaseClientOptions {} - 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; - /** Additional query string parameters to include in the request. */ - queryParams?: Record; - /** Additional headers to include in the request. */ - headers?: Record | null | undefined>; - } + export interface RequestOptions extends BaseRequestOptions {} } export class HumeClient { @@ -47,8 +26,8 @@ export class HumeClient { { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "hume", - "X-Fern-SDK-Version": "0.15.2", - "User-Agent": "hume/0.15.2", + "X-Fern-SDK-Version": "0.15.3", + "User-Agent": "hume/0.15.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/empathicVoice/client/Client.ts b/src/api/resources/empathicVoice/client/Client.ts index c934a693..7cc8c273 100644 --- a/src/api/resources/empathicVoice/client/Client.ts +++ b/src/api/resources/empathicVoice/client/Client.ts @@ -1,26 +1,15 @@ -/** - * 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 { Tools } from "../resources/tools/client/Client.js"; -import { Prompts } from "../resources/prompts/client/Client.js"; -import { Configs } from "../resources/configs/client/Client.js"; -import { Chats } from "../resources/chats/client/Client.js"; -import { ChatGroups } from "../resources/chatGroups/client/Client.js"; +import type { BaseClientOptions } from "../../../../BaseClient.js"; import { Chat } from "../resources/chat/client/Client.js"; +import { ChatGroups } from "../resources/chatGroups/client/Client.js"; +import { Chats } from "../resources/chats/client/Client.js"; +import { Configs } from "../resources/configs/client/Client.js"; +import { Prompts } from "../resources/prompts/client/Client.js"; +import { Tools } from "../resources/tools/client/Client.js"; export declare namespace EmpathicVoice { - export interface Options { - environment?: core.Supplier; - /** Specify a custom URL to connect the client to. */ - baseUrl?: core.Supplier; - apiKey?: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | null | undefined>; - fetcher?: core.FetchFunction; - } + export interface Options extends BaseClientOptions {} } export class EmpathicVoice { diff --git a/src/api/resources/empathicVoice/errors/BadRequestError.ts b/src/api/resources/empathicVoice/errors/BadRequestError.ts index 5127ea80..a094af79 100644 --- a/src/api/resources/empathicVoice/errors/BadRequestError.ts +++ b/src/api/resources/empathicVoice/errors/BadRequestError.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 Hume from "../../../index.js"; -import * as core from "../../../../core/index.js"; +import type * as Hume from "../../../index.js"; export class BadRequestError extends errors.HumeError { constructor(body: Hume.empathicVoice.ErrorResponse, rawResponse?: core.RawResponse) { diff --git a/src/api/resources/empathicVoice/index.ts b/src/api/resources/empathicVoice/index.ts index e5836d1b..d73889d8 100644 --- a/src/api/resources/empathicVoice/index.ts +++ b/src/api/resources/empathicVoice/index.ts @@ -1,4 +1,4 @@ +export * from "./client/index.js"; +export * from "./errors/index.js"; export * from "./resources/index.js"; export * from "./types/index.js"; -export * from "./errors/index.js"; -export * from "./client/index.js"; diff --git a/src/api/resources/empathicVoice/resources/chat/client/Client.ts b/src/api/resources/empathicVoice/resources/chat/client/Client.ts index 7cf7404b..3a76e012 100644 --- a/src/api/resources/empathicVoice/resources/chat/client/Client.ts +++ b/src/api/resources/empathicVoice/resources/chat/client/Client.ts @@ -136,7 +136,7 @@ export class Chat { return new ChatSocket({ socket }); } - protected _getCustomAuthorizationHeaders() { + protected _getCustomAuthorizationHeaders(): Record { const apiKeyValue = core.Supplier.get(this._options.apiKey); // This `authHeaderValue` is manually added as if you don't provide it it will // be omitted from the headers which means it won't reach the logic in ws.ts that diff --git a/src/api/resources/empathicVoice/resources/chat/client/Socket.ts b/src/api/resources/empathicVoice/resources/chat/client/Socket.ts index 5f7c60d7..a55c7b58 100644 --- a/src/api/resources/empathicVoice/resources/chat/client/Socket.ts +++ b/src/api/resources/empathicVoice/resources/chat/client/Socket.ts @@ -76,7 +76,7 @@ export class ChatSocket { * }); * ``` */ - public on(event: T, callback: ChatSocket.EventHandlers[T]) { + public on(event: T, callback: ChatSocket.EventHandlers[T]): void { this.eventHandlers[event] = callback; } diff --git a/src/api/resources/empathicVoice/resources/chat/index.ts b/src/api/resources/empathicVoice/resources/chat/index.ts index f095e147..d9adb1af 100644 --- a/src/api/resources/empathicVoice/resources/chat/index.ts +++ b/src/api/resources/empathicVoice/resources/chat/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/empathicVoice/resources/chat/types/PublishEvent.ts b/src/api/resources/empathicVoice/resources/chat/types/PublishEvent.ts index 91227dd6..f8f4ca3c 100644 --- a/src/api/resources/empathicVoice/resources/chat/types/PublishEvent.ts +++ b/src/api/resources/empathicVoice/resources/chat/types/PublishEvent.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export type PublishEvent = | Hume.empathicVoice.AudioInput diff --git a/src/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.ts b/src/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.ts index 5137c481..f2f52eb8 100644 --- a/src/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.ts +++ b/src/api/resources/empathicVoice/resources/chat/types/SubscribeEvent.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export type SubscribeEvent = | Hume.empathicVoice.AssistantEnd diff --git a/src/api/resources/empathicVoice/resources/chatGroups/client/Client.ts b/src/api/resources/empathicVoice/resources/chatGroups/client/Client.ts index 0547ae17..0c0bb2ef 100644 --- a/src/api/resources/empathicVoice/resources/chatGroups/client/Client.ts +++ b/src/api/resources/empathicVoice/resources/chatGroups/client/Client.ts @@ -1,37 +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 environments from "../../../../../../environments.js"; -import * as core from "../../../../../../core/index.js"; -import * as Hume 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 environments from "../../../../../../environments.js"; import * as errors from "../../../../../../errors/index.js"; +import * as serializers from "../../../../../../serialization/index.js"; +import * as Hume from "../../../../../index.js"; export declare namespace ChatGroups { - export interface Options { - environment?: core.Supplier; - /** Specify a custom URL to connect the client to. */ - baseUrl?: core.Supplier; - apiKey?: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | null | undefined>; - fetcher?: core.FetchFunction; - } + export interface Options extends BaseClientOptions {} - 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; - /** Additional query string parameters to include in the request. */ - queryParams?: Record; - /** Additional headers to include in the request. */ - headers?: Record | null | undefined>; - } + export interface RequestOptions extends BaseRequestOptions {} } export class ChatGroups { @@ -60,7 +40,7 @@ export class ChatGroups { public async listChatGroups( request: Hume.empathicVoice.ChatGroupsListChatGroupsRequest = {}, requestOptions?: ChatGroups.RequestOptions, - ): Promise> { + ): Promise> { const list = core.HttpResponsePromise.interceptFunction( async ( request: Hume.empathicVoice.ChatGroupsListChatGroupsRequest, @@ -68,18 +48,18 @@ export class ChatGroups { const { pageNumber, pageSize, ascendingOrder, configId } = request; const _queryParams: Record = {}; if (pageNumber != null) { - _queryParams["page_number"] = pageNumber.toString(); + _queryParams.page_number = pageNumber.toString(); } if (pageSize != null) { - _queryParams["page_size"] = pageSize.toString(); + _queryParams.page_size = pageSize.toString(); } if (ascendingOrder != null) { - _queryParams["ascending_order"] = ascendingOrder.toString(); + _queryParams.ascending_order = ascendingOrder.toString(); } if (configId != null) { - _queryParams["config_id"] = configId; + _queryParams.config_id = configId; } - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -94,9 +74,8 @@ export class ChatGroups { method: "GET", headers: _headers, queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - 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, }); if (_response.ok) { @@ -151,7 +130,7 @@ export class ChatGroups { ); let _offset = request?.pageNumber != null ? request?.pageNumber : 0; const dataWithRawResponse = await list(request).withRawResponse(); - return new core.Pageable({ + return new core.Page({ response: dataWithRawResponse.data, rawResponse: dataWithRawResponse.rawResponse, hasNextPage: (response) => (response?.chatGroupsPage ?? []).length > 0, @@ -195,18 +174,18 @@ export class ChatGroups { const { pageSize, pageNumber, ascendingOrder } = request; const _queryParams: Record = {}; if (pageSize != null) { - _queryParams["page_size"] = pageSize.toString(); + _queryParams.page_size = pageSize.toString(); } if (pageNumber != null) { - _queryParams["page_number"] = pageNumber.toString(); + _queryParams.page_number = pageNumber.toString(); } if (ascendingOrder != null) { - _queryParams["ascending_order"] = ascendingOrder.toString(); + _queryParams.ascending_order = ascendingOrder.toString(); } - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -215,13 +194,13 @@ export class ChatGroups { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/evi/chat_groups/${encodeURIComponent(id)}`, + `v0/evi/chat_groups/${core.url.encodePathParam(id)}`, ), method: "GET", headers: _headers, queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - 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, }); if (_response.ok) { @@ -296,7 +275,7 @@ export class ChatGroups { id: string, request: Hume.empathicVoice.ChatGroupsListChatGroupEventsRequest = {}, requestOptions?: ChatGroups.RequestOptions, - ): Promise> { + ): Promise> { const list = core.HttpResponsePromise.interceptFunction( async ( request: Hume.empathicVoice.ChatGroupsListChatGroupEventsRequest, @@ -304,15 +283,15 @@ export class ChatGroups { const { pageSize, pageNumber, ascendingOrder } = request; const _queryParams: Record = {}; if (pageSize != null) { - _queryParams["page_size"] = pageSize.toString(); + _queryParams.page_size = pageSize.toString(); } if (pageNumber != null) { - _queryParams["page_number"] = pageNumber.toString(); + _queryParams.page_number = pageNumber.toString(); } if (ascendingOrder != null) { - _queryParams["ascending_order"] = ascendingOrder.toString(); + _queryParams.ascending_order = ascendingOrder.toString(); } - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -322,14 +301,13 @@ export class ChatGroups { (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod) .base, - `v0/evi/chat_groups/${encodeURIComponent(id)}/events`, + `v0/evi/chat_groups/${core.url.encodePathParam(id)}/events`, ), method: "GET", headers: _headers, queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - 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, }); if (_response.ok) { @@ -386,7 +364,7 @@ export class ChatGroups { ); let _offset = request?.pageNumber != null ? request?.pageNumber : 0; const dataWithRawResponse = await list(request).withRawResponse(); - return new core.Pageable({ + return new core.Page({ response: dataWithRawResponse.data, rawResponse: dataWithRawResponse.rawResponse, hasNextPage: (response) => (response?.eventsPage ?? []).length > 0, @@ -430,18 +408,18 @@ export class ChatGroups { const { pageNumber, pageSize, ascendingOrder } = request; const _queryParams: Record = {}; if (pageNumber != null) { - _queryParams["page_number"] = pageNumber.toString(); + _queryParams.page_number = pageNumber.toString(); } if (pageSize != null) { - _queryParams["page_size"] = pageSize.toString(); + _queryParams.page_size = pageSize.toString(); } if (ascendingOrder != null) { - _queryParams["ascending_order"] = ascendingOrder.toString(); + _queryParams.ascending_order = ascendingOrder.toString(); } - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -450,13 +428,13 @@ export class ChatGroups { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/evi/chat_groups/${encodeURIComponent(id)}/audio`, + `v0/evi/chat_groups/${core.url.encodePathParam(id)}/audio`, ), method: "GET", headers: _headers, queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - 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, }); if (_response.ok) { @@ -511,7 +489,7 @@ export class ChatGroups { } } - protected async _getCustomAuthorizationHeaders() { + protected async _getCustomAuthorizationHeaders(): Promise> { const apiKeyValue = await core.Supplier.get(this._options.apiKey); return { "X-Hume-Api-Key": apiKeyValue }; } diff --git a/src/api/resources/empathicVoice/resources/chatGroups/client/index.ts b/src/api/resources/empathicVoice/resources/chatGroups/client/index.ts index 82648c6f..195f9aa8 100644 --- a/src/api/resources/empathicVoice/resources/chatGroups/client/index.ts +++ b/src/api/resources/empathicVoice/resources/chatGroups/client/index.ts @@ -1,2 +1 @@ -export {}; export * from "./requests/index.js"; diff --git a/src/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.ts b/src/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.ts index 3a8ed940..079882d5 100644 --- a/src/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.ts +++ b/src/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.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 diff --git a/src/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetChatGroupRequest.ts b/src/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetChatGroupRequest.ts index 10d43420..67448e66 100644 --- a/src/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetChatGroupRequest.ts +++ b/src/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetChatGroupRequest.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 diff --git a/src/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.ts b/src/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.ts index 4c10b040..ff10d0b8 100644 --- a/src/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.ts +++ b/src/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupEventsRequest.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 diff --git a/src/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.ts b/src/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.ts index 623379e1..c7cf7aec 100644 --- a/src/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.ts +++ b/src/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsListChatGroupsRequest.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 diff --git a/src/api/resources/empathicVoice/resources/chatGroups/client/requests/index.ts b/src/api/resources/empathicVoice/resources/chatGroups/client/requests/index.ts index 28d8014d..82734a25 100644 --- a/src/api/resources/empathicVoice/resources/chatGroups/client/requests/index.ts +++ b/src/api/resources/empathicVoice/resources/chatGroups/client/requests/index.ts @@ -1,4 +1,4 @@ -export { type ChatGroupsListChatGroupsRequest } from "./ChatGroupsListChatGroupsRequest.js"; -export { type ChatGroupsGetChatGroupRequest } from "./ChatGroupsGetChatGroupRequest.js"; -export { type ChatGroupsListChatGroupEventsRequest } from "./ChatGroupsListChatGroupEventsRequest.js"; -export { type ChatGroupsGetAudioRequest } from "./ChatGroupsGetAudioRequest.js"; +export type { ChatGroupsGetAudioRequest } from "./ChatGroupsGetAudioRequest.js"; +export type { ChatGroupsGetChatGroupRequest } from "./ChatGroupsGetChatGroupRequest.js"; +export type { ChatGroupsListChatGroupEventsRequest } from "./ChatGroupsListChatGroupEventsRequest.js"; +export type { ChatGroupsListChatGroupsRequest } from "./ChatGroupsListChatGroupsRequest.js"; diff --git a/src/api/resources/empathicVoice/resources/chats/client/Client.ts b/src/api/resources/empathicVoice/resources/chats/client/Client.ts index 618d048a..5eec5e35 100644 --- a/src/api/resources/empathicVoice/resources/chats/client/Client.ts +++ b/src/api/resources/empathicVoice/resources/chats/client/Client.ts @@ -1,37 +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 environments from "../../../../../../environments.js"; -import * as core from "../../../../../../core/index.js"; -import * as Hume 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 environments from "../../../../../../environments.js"; import * as errors from "../../../../../../errors/index.js"; +import * as serializers from "../../../../../../serialization/index.js"; +import * as Hume from "../../../../../index.js"; export declare namespace Chats { - export interface Options { - environment?: core.Supplier; - /** Specify a custom URL to connect the client to. */ - baseUrl?: core.Supplier; - apiKey?: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | null | undefined>; - fetcher?: core.FetchFunction; - } + export interface Options extends BaseClientOptions {} - 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; - /** Additional query string parameters to include in the request. */ - queryParams?: Record; - /** Additional headers to include in the request. */ - headers?: Record | null | undefined>; - } + export interface RequestOptions extends BaseRequestOptions {} } export class Chats { @@ -59,7 +39,7 @@ export class Chats { public async listChats( request: Hume.empathicVoice.ChatsListChatsRequest = {}, requestOptions?: Chats.RequestOptions, - ): Promise> { + ): Promise> { const list = core.HttpResponsePromise.interceptFunction( async ( request: Hume.empathicVoice.ChatsListChatsRequest, @@ -67,18 +47,18 @@ export class Chats { const { pageNumber, pageSize, ascendingOrder, configId } = request; const _queryParams: Record = {}; if (pageNumber != null) { - _queryParams["page_number"] = pageNumber.toString(); + _queryParams.page_number = pageNumber.toString(); } if (pageSize != null) { - _queryParams["page_size"] = pageSize.toString(); + _queryParams.page_size = pageSize.toString(); } if (ascendingOrder != null) { - _queryParams["ascending_order"] = ascendingOrder.toString(); + _queryParams.ascending_order = ascendingOrder.toString(); } if (configId != null) { - _queryParams["config_id"] = configId; + _queryParams.config_id = configId; } - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -93,9 +73,8 @@ export class Chats { method: "GET", headers: _headers, queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - 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, }); if (_response.ok) { @@ -150,7 +129,7 @@ export class Chats { ); let _offset = request?.pageNumber != null ? request?.pageNumber : 0; const dataWithRawResponse = await list(request).withRawResponse(); - return new core.Pageable({ + return new core.Page({ response: dataWithRawResponse.data, rawResponse: dataWithRawResponse.rawResponse, hasNextPage: (response) => (response?.chatsPage ?? []).length > 0, @@ -182,7 +161,7 @@ export class Chats { id: string, request: Hume.empathicVoice.ChatsListChatEventsRequest = {}, requestOptions?: Chats.RequestOptions, - ): Promise> { + ): Promise> { const list = core.HttpResponsePromise.interceptFunction( async ( request: Hume.empathicVoice.ChatsListChatEventsRequest, @@ -190,15 +169,15 @@ export class Chats { const { pageSize, pageNumber, ascendingOrder } = request; const _queryParams: Record = {}; if (pageSize != null) { - _queryParams["page_size"] = pageSize.toString(); + _queryParams.page_size = pageSize.toString(); } if (pageNumber != null) { - _queryParams["page_number"] = pageNumber.toString(); + _queryParams.page_number = pageNumber.toString(); } if (ascendingOrder != null) { - _queryParams["ascending_order"] = ascendingOrder.toString(); + _queryParams.ascending_order = ascendingOrder.toString(); } - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -208,14 +187,13 @@ export class Chats { (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod) .base, - `v0/evi/chats/${encodeURIComponent(id)}`, + `v0/evi/chats/${core.url.encodePathParam(id)}`, ), method: "GET", headers: _headers, queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - 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, }); if (_response.ok) { @@ -270,7 +248,7 @@ export class Chats { ); let _offset = request?.pageNumber != null ? request?.pageNumber : 0; const dataWithRawResponse = await list(request).withRawResponse(); - return new core.Pageable({ + return new core.Page({ response: dataWithRawResponse.data, rawResponse: dataWithRawResponse.rawResponse, hasNextPage: (response) => (response?.eventsPage ?? []).length > 0, @@ -304,7 +282,7 @@ export class Chats { id: string, requestOptions?: Chats.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -313,13 +291,13 @@ export class Chats { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/evi/chats/${encodeURIComponent(id)}/audio`, + `v0/evi/chats/${core.url.encodePathParam(id)}/audio`, ), method: "GET", headers: _headers, queryParameters: requestOptions?.queryParams, - 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, }); if (_response.ok) { @@ -374,7 +352,7 @@ export class Chats { } } - protected async _getCustomAuthorizationHeaders() { + protected async _getCustomAuthorizationHeaders(): Promise> { const apiKeyValue = await core.Supplier.get(this._options.apiKey); return { "X-Hume-Api-Key": apiKeyValue }; } diff --git a/src/api/resources/empathicVoice/resources/chats/client/index.ts b/src/api/resources/empathicVoice/resources/chats/client/index.ts index 82648c6f..195f9aa8 100644 --- a/src/api/resources/empathicVoice/resources/chats/client/index.ts +++ b/src/api/resources/empathicVoice/resources/chats/client/index.ts @@ -1,2 +1 @@ -export {}; export * from "./requests/index.js"; diff --git a/src/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.ts b/src/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.ts index f61e75e9..0ee4383b 100644 --- a/src/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.ts +++ b/src/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatEventsRequest.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 diff --git a/src/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.ts b/src/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.ts index d5db16fa..e0d9193f 100644 --- a/src/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.ts +++ b/src/api/resources/empathicVoice/resources/chats/client/requests/ChatsListChatsRequest.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 diff --git a/src/api/resources/empathicVoice/resources/chats/client/requests/index.ts b/src/api/resources/empathicVoice/resources/chats/client/requests/index.ts index 43a2f6c9..fa42e9bd 100644 --- a/src/api/resources/empathicVoice/resources/chats/client/requests/index.ts +++ b/src/api/resources/empathicVoice/resources/chats/client/requests/index.ts @@ -1,2 +1,2 @@ -export { type ChatsListChatsRequest } from "./ChatsListChatsRequest.js"; -export { type ChatsListChatEventsRequest } from "./ChatsListChatEventsRequest.js"; +export type { ChatsListChatEventsRequest } from "./ChatsListChatEventsRequest.js"; +export type { ChatsListChatsRequest } from "./ChatsListChatsRequest.js"; diff --git a/src/api/resources/empathicVoice/resources/configs/client/Client.ts b/src/api/resources/empathicVoice/resources/configs/client/Client.ts index cfef0d57..55b35f15 100644 --- a/src/api/resources/empathicVoice/resources/configs/client/Client.ts +++ b/src/api/resources/empathicVoice/resources/configs/client/Client.ts @@ -1,37 +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 environments from "../../../../../../environments.js"; -import * as core from "../../../../../../core/index.js"; -import * as Hume 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 environments from "../../../../../../environments.js"; import * as errors from "../../../../../../errors/index.js"; +import * as serializers from "../../../../../../serialization/index.js"; +import * as Hume from "../../../../../index.js"; export declare namespace Configs { - export interface Options { - environment?: core.Supplier; - /** Specify a custom URL to connect the client to. */ - baseUrl?: core.Supplier; - apiKey?: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | null | undefined>; - fetcher?: core.FetchFunction; - } + export interface Options extends BaseClientOptions {} - 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; - /** Additional query string parameters to include in the request. */ - queryParams?: Record; - /** Additional headers to include in the request. */ - headers?: Record | null | undefined>; - } + export interface RequestOptions extends BaseRequestOptions {} } export class Configs { @@ -60,7 +40,7 @@ export class Configs { public async listConfigs( request: Hume.empathicVoice.ConfigsListConfigsRequest = {}, requestOptions?: Configs.RequestOptions, - ): Promise> { + ): Promise> { const list = core.HttpResponsePromise.interceptFunction( async ( request: Hume.empathicVoice.ConfigsListConfigsRequest, @@ -68,18 +48,18 @@ export class Configs { const { pageNumber, pageSize, restrictToMostRecent, name } = request; const _queryParams: Record = {}; if (pageNumber != null) { - _queryParams["page_number"] = pageNumber.toString(); + _queryParams.page_number = pageNumber.toString(); } if (pageSize != null) { - _queryParams["page_size"] = pageSize.toString(); + _queryParams.page_size = pageSize.toString(); } if (restrictToMostRecent != null) { - _queryParams["restrict_to_most_recent"] = restrictToMostRecent.toString(); + _queryParams.restrict_to_most_recent = restrictToMostRecent.toString(); } if (name != null) { - _queryParams["name"] = name; + _queryParams.name = name; } - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -94,9 +74,8 @@ export class Configs { method: "GET", headers: _headers, queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - 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, }); if (_response.ok) { @@ -151,7 +130,7 @@ export class Configs { ); let _offset = request?.pageNumber != null ? request?.pageNumber : 0; const dataWithRawResponse = await list(request).withRawResponse(); - return new core.Pageable({ + return new core.Page({ response: dataWithRawResponse.data, rawResponse: dataWithRawResponse.rawResponse, hasNextPage: (response) => (response?.configsPage ?? []).length > 0, @@ -217,7 +196,7 @@ export class Configs { request: Hume.empathicVoice.PostedConfig, requestOptions?: Configs.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -237,8 +216,8 @@ export class Configs { 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, }); if (_response.ok) { @@ -311,7 +290,7 @@ export class Configs { id: string, request: Hume.empathicVoice.ConfigsListConfigVersionsRequest = {}, requestOptions?: Configs.RequestOptions, - ): Promise> { + ): Promise> { const list = core.HttpResponsePromise.interceptFunction( async ( request: Hume.empathicVoice.ConfigsListConfigVersionsRequest, @@ -319,15 +298,15 @@ export class Configs { const { pageNumber, pageSize, restrictToMostRecent } = request; const _queryParams: Record = {}; if (pageNumber != null) { - _queryParams["page_number"] = pageNumber.toString(); + _queryParams.page_number = pageNumber.toString(); } if (pageSize != null) { - _queryParams["page_size"] = pageSize.toString(); + _queryParams.page_size = pageSize.toString(); } if (restrictToMostRecent != null) { - _queryParams["restrict_to_most_recent"] = restrictToMostRecent.toString(); + _queryParams.restrict_to_most_recent = restrictToMostRecent.toString(); } - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -337,14 +316,13 @@ export class Configs { (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod) .base, - `v0/evi/configs/${encodeURIComponent(id)}`, + `v0/evi/configs/${core.url.encodePathParam(id)}`, ), method: "GET", headers: _headers, queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - 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, }); if (_response.ok) { @@ -399,7 +377,7 @@ export class Configs { ); let _offset = request?.pageNumber != null ? request?.pageNumber : 0; const dataWithRawResponse = await list(request).withRawResponse(); - return new core.Pageable({ + return new core.Page({ response: dataWithRawResponse.data, rawResponse: dataWithRawResponse.rawResponse, hasNextPage: (response) => (response?.configsPage ?? []).length > 0, @@ -471,7 +449,7 @@ export class Configs { request: Hume.empathicVoice.PostedConfigVersion, requestOptions?: Configs.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -480,7 +458,7 @@ export class Configs { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/evi/configs/${encodeURIComponent(id)}`, + `v0/evi/configs/${core.url.encodePathParam(id)}`, ), method: "POST", headers: _headers, @@ -491,8 +469,8 @@ export class Configs { 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, }); if (_response.ok) { @@ -568,7 +546,7 @@ export class Configs { id: string, requestOptions?: Configs.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -577,13 +555,13 @@ export class Configs { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/evi/configs/${encodeURIComponent(id)}`, + `v0/evi/configs/${core.url.encodePathParam(id)}`, ), method: "DELETE", headers: _headers, queryParameters: requestOptions?.queryParams, - 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, }); if (_response.ok) { @@ -658,7 +636,7 @@ export class Configs { request: Hume.empathicVoice.PostedConfigName, requestOptions?: Configs.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -667,7 +645,7 @@ export class Configs { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/evi/configs/${encodeURIComponent(id)}`, + `v0/evi/configs/${core.url.encodePathParam(id)}`, ), method: "PATCH", headers: _headers, @@ -679,8 +657,8 @@ export class Configs { omitUndefined: true, }), responseType: "text", - 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, }); if (_response.ok) { @@ -757,7 +735,7 @@ export class Configs { version: number, requestOptions?: Configs.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -766,13 +744,13 @@ export class Configs { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/evi/configs/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`, + `v0/evi/configs/${core.url.encodePathParam(id)}/version/${core.url.encodePathParam(version)}`, ), method: "GET", headers: _headers, queryParameters: requestOptions?.queryParams, - 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, }); if (_response.ok) { @@ -860,7 +838,7 @@ export class Configs { version: number, requestOptions?: Configs.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -869,13 +847,13 @@ export class Configs { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/evi/configs/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`, + `v0/evi/configs/${core.url.encodePathParam(id)}/version/${core.url.encodePathParam(version)}`, ), method: "DELETE", headers: _headers, queryParameters: requestOptions?.queryParams, - 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, }); if (_response.ok) { @@ -961,7 +939,7 @@ export class Configs { request: Hume.empathicVoice.PostedConfigVersionDescription = {}, requestOptions?: Configs.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -970,7 +948,7 @@ export class Configs { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/evi/configs/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`, + `v0/evi/configs/${core.url.encodePathParam(id)}/version/${core.url.encodePathParam(version)}`, ), method: "PATCH", headers: _headers, @@ -981,8 +959,8 @@ export class Configs { 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, }); if (_response.ok) { @@ -1039,7 +1017,7 @@ export class Configs { } } - protected async _getCustomAuthorizationHeaders() { + protected async _getCustomAuthorizationHeaders(): Promise> { const apiKeyValue = await core.Supplier.get(this._options.apiKey); return { "X-Hume-Api-Key": apiKeyValue }; } diff --git a/src/api/resources/empathicVoice/resources/configs/client/index.ts b/src/api/resources/empathicVoice/resources/configs/client/index.ts index 82648c6f..195f9aa8 100644 --- a/src/api/resources/empathicVoice/resources/configs/client/index.ts +++ b/src/api/resources/empathicVoice/resources/configs/client/index.ts @@ -1,2 +1 @@ -export {}; export * from "./requests/index.js"; diff --git a/src/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigVersionsRequest.ts b/src/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigVersionsRequest.ts index 466dafa2..90e3ad62 100644 --- a/src/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigVersionsRequest.ts +++ b/src/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigVersionsRequest.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 diff --git a/src/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.ts b/src/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.ts index 057e79f2..bb17701e 100644 --- a/src/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.ts +++ b/src/api/resources/empathicVoice/resources/configs/client/requests/ConfigsListConfigsRequest.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 diff --git a/src/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.ts b/src/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.ts index ce4e9e85..822e7d25 100644 --- a/src/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.ts +++ b/src/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.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 Hume from "../../../../../../index.js"; +import type * as Hume from "../../../../../../index.js"; /** * @example diff --git a/src/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigName.ts b/src/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigName.ts index 5e3cbae6..e6fc41e6 100644 --- a/src/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigName.ts +++ b/src/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigName.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 diff --git a/src/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.ts b/src/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.ts index 15c4fa06..a575804f 100644 --- a/src/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.ts +++ b/src/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.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 Hume from "../../../../../../index.js"; +import type * as Hume from "../../../../../../index.js"; /** * @example diff --git a/src/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.ts b/src/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.ts index 51378a19..3f7265bb 100644 --- a/src/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.ts +++ b/src/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.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 diff --git a/src/api/resources/empathicVoice/resources/configs/client/requests/index.ts b/src/api/resources/empathicVoice/resources/configs/client/requests/index.ts index 2e4c2874..13301aad 100644 --- a/src/api/resources/empathicVoice/resources/configs/client/requests/index.ts +++ b/src/api/resources/empathicVoice/resources/configs/client/requests/index.ts @@ -1,6 +1,6 @@ -export { type ConfigsListConfigsRequest } from "./ConfigsListConfigsRequest.js"; -export { type PostedConfig } from "./PostedConfig.js"; -export { type ConfigsListConfigVersionsRequest } from "./ConfigsListConfigVersionsRequest.js"; -export { type PostedConfigVersion } from "./PostedConfigVersion.js"; -export { type PostedConfigName } from "./PostedConfigName.js"; -export { type PostedConfigVersionDescription } from "./PostedConfigVersionDescription.js"; +export type { ConfigsListConfigsRequest } from "./ConfigsListConfigsRequest.js"; +export type { ConfigsListConfigVersionsRequest } from "./ConfigsListConfigVersionsRequest.js"; +export type { PostedConfig } from "./PostedConfig.js"; +export type { PostedConfigName } from "./PostedConfigName.js"; +export type { PostedConfigVersion } from "./PostedConfigVersion.js"; +export type { PostedConfigVersionDescription } from "./PostedConfigVersionDescription.js"; diff --git a/src/api/resources/empathicVoice/resources/index.ts b/src/api/resources/empathicVoice/resources/index.ts index 1d7370cb..77f0d8c4 100644 --- a/src/api/resources/empathicVoice/resources/index.ts +++ b/src/api/resources/empathicVoice/resources/index.ts @@ -1,12 +1,12 @@ export * as chat from "./chat/index.js"; export * from "./chat/types/index.js"; -export * as tools from "./tools/index.js"; -export * as prompts from "./prompts/index.js"; -export * as configs from "./configs/index.js"; -export * as chats from "./chats/index.js"; +export * from "./chatGroups/client/requests/index.js"; export * as chatGroups from "./chatGroups/index.js"; -export * from "./tools/client/requests/index.js"; -export * from "./prompts/client/requests/index.js"; -export * from "./configs/client/requests/index.js"; export * from "./chats/client/requests/index.js"; -export * from "./chatGroups/client/requests/index.js"; +export * as chats from "./chats/index.js"; +export * from "./configs/client/requests/index.js"; +export * as configs from "./configs/index.js"; +export * from "./prompts/client/requests/index.js"; +export * as prompts from "./prompts/index.js"; +export * from "./tools/client/requests/index.js"; +export * as tools from "./tools/index.js"; diff --git a/src/api/resources/empathicVoice/resources/prompts/client/Client.ts b/src/api/resources/empathicVoice/resources/prompts/client/Client.ts index a29591a4..33c95425 100644 --- a/src/api/resources/empathicVoice/resources/prompts/client/Client.ts +++ b/src/api/resources/empathicVoice/resources/prompts/client/Client.ts @@ -1,37 +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 environments from "../../../../../../environments.js"; -import * as core from "../../../../../../core/index.js"; -import * as Hume 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 environments from "../../../../../../environments.js"; import * as errors from "../../../../../../errors/index.js"; +import * as serializers from "../../../../../../serialization/index.js"; +import * as Hume from "../../../../../index.js"; export declare namespace Prompts { - export interface Options { - environment?: core.Supplier; - /** Specify a custom URL to connect the client to. */ - baseUrl?: core.Supplier; - apiKey?: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | null | undefined>; - fetcher?: core.FetchFunction; - } + export interface Options extends BaseClientOptions {} - 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; - /** Additional query string parameters to include in the request. */ - queryParams?: Record; - /** Additional headers to include in the request. */ - headers?: Record | null | undefined>; - } + export interface RequestOptions extends BaseRequestOptions {} } export class Prompts { @@ -60,7 +40,7 @@ export class Prompts { public async listPrompts( request: Hume.empathicVoice.PromptsListPromptsRequest = {}, requestOptions?: Prompts.RequestOptions, - ): Promise> { + ): Promise> { const list = core.HttpResponsePromise.interceptFunction( async ( request: Hume.empathicVoice.PromptsListPromptsRequest, @@ -68,18 +48,18 @@ export class Prompts { const { pageNumber, pageSize, restrictToMostRecent, name } = request; const _queryParams: Record = {}; if (pageNumber != null) { - _queryParams["page_number"] = pageNumber.toString(); + _queryParams.page_number = pageNumber.toString(); } if (pageSize != null) { - _queryParams["page_size"] = pageSize.toString(); + _queryParams.page_size = pageSize.toString(); } if (restrictToMostRecent != null) { - _queryParams["restrict_to_most_recent"] = restrictToMostRecent.toString(); + _queryParams.restrict_to_most_recent = restrictToMostRecent.toString(); } if (name != null) { - _queryParams["name"] = name; + _queryParams.name = name; } - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -94,9 +74,8 @@ export class Prompts { method: "GET", headers: _headers, queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - 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, }); if (_response.ok) { @@ -151,7 +130,7 @@ export class Prompts { ); let _offset = request?.pageNumber != null ? request?.pageNumber : 0; const dataWithRawResponse = await list(request).withRawResponse(); - return new core.Pageable({ + return new core.Page({ response: dataWithRawResponse.data, rawResponse: dataWithRawResponse.rawResponse, hasNextPage: (response) => (response?.promptsPage ?? []).length > 0, @@ -190,7 +169,7 @@ export class Prompts { request: Hume.empathicVoice.PostedPrompt, requestOptions?: Prompts.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -210,8 +189,8 @@ export class Prompts { 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, }); if (_response.ok) { @@ -296,18 +275,18 @@ export class Prompts { const { pageNumber, pageSize, restrictToMostRecent } = request; const _queryParams: Record = {}; if (pageNumber != null) { - _queryParams["page_number"] = pageNumber.toString(); + _queryParams.page_number = pageNumber.toString(); } if (pageSize != null) { - _queryParams["page_size"] = pageSize.toString(); + _queryParams.page_size = pageSize.toString(); } if (restrictToMostRecent != null) { - _queryParams["restrict_to_most_recent"] = restrictToMostRecent.toString(); + _queryParams.restrict_to_most_recent = restrictToMostRecent.toString(); } - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -316,13 +295,13 @@ export class Prompts { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/evi/prompts/${encodeURIComponent(id)}`, + `v0/evi/prompts/${core.url.encodePathParam(id)}`, ), method: "GET", headers: _headers, queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - 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, }); if (_response.ok) { @@ -407,7 +386,7 @@ export class Prompts { request: Hume.empathicVoice.PostedPromptVersion, requestOptions?: Prompts.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -416,7 +395,7 @@ export class Prompts { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/evi/prompts/${encodeURIComponent(id)}`, + `v0/evi/prompts/${core.url.encodePathParam(id)}`, ), method: "POST", headers: _headers, @@ -427,8 +406,8 @@ export class Prompts { 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, }); if (_response.ok) { @@ -504,7 +483,7 @@ export class Prompts { id: string, requestOptions?: Prompts.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -513,13 +492,13 @@ export class Prompts { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/evi/prompts/${encodeURIComponent(id)}`, + `v0/evi/prompts/${core.url.encodePathParam(id)}`, ), method: "DELETE", headers: _headers, queryParameters: requestOptions?.queryParams, - 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, }); if (_response.ok) { @@ -594,7 +573,7 @@ export class Prompts { request: Hume.empathicVoice.PostedPromptName, requestOptions?: Prompts.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -603,7 +582,7 @@ export class Prompts { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/evi/prompts/${encodeURIComponent(id)}`, + `v0/evi/prompts/${core.url.encodePathParam(id)}`, ), method: "PATCH", headers: _headers, @@ -615,8 +594,8 @@ export class Prompts { omitUndefined: true, }), responseType: "text", - 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, }); if (_response.ok) { @@ -693,7 +672,7 @@ export class Prompts { version: number, requestOptions?: Prompts.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -702,13 +681,13 @@ export class Prompts { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/evi/prompts/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`, + `v0/evi/prompts/${core.url.encodePathParam(id)}/version/${core.url.encodePathParam(version)}`, ), method: "GET", headers: _headers, queryParameters: requestOptions?.queryParams, - 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, }); if (_response.ok) { @@ -796,7 +775,7 @@ export class Prompts { version: number, requestOptions?: Prompts.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -805,13 +784,13 @@ export class Prompts { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/evi/prompts/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`, + `v0/evi/prompts/${core.url.encodePathParam(id)}/version/${core.url.encodePathParam(version)}`, ), method: "DELETE", headers: _headers, queryParameters: requestOptions?.queryParams, - 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, }); if (_response.ok) { @@ -897,7 +876,7 @@ export class Prompts { request: Hume.empathicVoice.PostedPromptVersionDescription = {}, requestOptions?: Prompts.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -906,7 +885,7 @@ export class Prompts { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/evi/prompts/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`, + `v0/evi/prompts/${core.url.encodePathParam(id)}/version/${core.url.encodePathParam(version)}`, ), method: "PATCH", headers: _headers, @@ -917,8 +896,8 @@ export class Prompts { 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, }); if (_response.ok) { @@ -975,7 +954,7 @@ export class Prompts { } } - protected async _getCustomAuthorizationHeaders() { + protected async _getCustomAuthorizationHeaders(): Promise> { const apiKeyValue = await core.Supplier.get(this._options.apiKey); return { "X-Hume-Api-Key": apiKeyValue }; } diff --git a/src/api/resources/empathicVoice/resources/prompts/client/index.ts b/src/api/resources/empathicVoice/resources/prompts/client/index.ts index 82648c6f..195f9aa8 100644 --- a/src/api/resources/empathicVoice/resources/prompts/client/index.ts +++ b/src/api/resources/empathicVoice/resources/prompts/client/index.ts @@ -1,2 +1 @@ -export {}; export * from "./requests/index.js"; diff --git a/src/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.ts b/src/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.ts index 2dffc430..4166d987 100644 --- a/src/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.ts +++ b/src/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.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 diff --git a/src/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptName.ts b/src/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptName.ts index 96ebe9c1..8912fc52 100644 --- a/src/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptName.ts +++ b/src/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptName.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 diff --git a/src/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.ts b/src/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.ts index ac94a518..daa08c8a 100644 --- a/src/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.ts +++ b/src/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.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 diff --git a/src/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.ts b/src/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.ts index 59fa9f5c..6af15747 100644 --- a/src/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.ts +++ b/src/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.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 diff --git a/src/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptVersionsRequest.ts b/src/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptVersionsRequest.ts index 10ecac51..bdaad4a6 100644 --- a/src/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptVersionsRequest.ts +++ b/src/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptVersionsRequest.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 diff --git a/src/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.ts b/src/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.ts index 0e11a88a..77c501f4 100644 --- a/src/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.ts +++ b/src/api/resources/empathicVoice/resources/prompts/client/requests/PromptsListPromptsRequest.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 diff --git a/src/api/resources/empathicVoice/resources/prompts/client/requests/index.ts b/src/api/resources/empathicVoice/resources/prompts/client/requests/index.ts index 4de1f911..904a263e 100644 --- a/src/api/resources/empathicVoice/resources/prompts/client/requests/index.ts +++ b/src/api/resources/empathicVoice/resources/prompts/client/requests/index.ts @@ -1,6 +1,6 @@ -export { type PromptsListPromptsRequest } from "./PromptsListPromptsRequest.js"; -export { type PostedPrompt } from "./PostedPrompt.js"; -export { type PromptsListPromptVersionsRequest } from "./PromptsListPromptVersionsRequest.js"; -export { type PostedPromptVersion } from "./PostedPromptVersion.js"; -export { type PostedPromptName } from "./PostedPromptName.js"; -export { type PostedPromptVersionDescription } from "./PostedPromptVersionDescription.js"; +export type { PostedPrompt } from "./PostedPrompt.js"; +export type { PostedPromptName } from "./PostedPromptName.js"; +export type { PostedPromptVersion } from "./PostedPromptVersion.js"; +export type { PostedPromptVersionDescription } from "./PostedPromptVersionDescription.js"; +export type { PromptsListPromptsRequest } from "./PromptsListPromptsRequest.js"; +export type { PromptsListPromptVersionsRequest } from "./PromptsListPromptVersionsRequest.js"; diff --git a/src/api/resources/empathicVoice/resources/tools/client/Client.ts b/src/api/resources/empathicVoice/resources/tools/client/Client.ts index 8e68e357..c2a91cbf 100644 --- a/src/api/resources/empathicVoice/resources/tools/client/Client.ts +++ b/src/api/resources/empathicVoice/resources/tools/client/Client.ts @@ -1,37 +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 environments from "../../../../../../environments.js"; -import * as core from "../../../../../../core/index.js"; -import * as Hume 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 environments from "../../../../../../environments.js"; import * as errors from "../../../../../../errors/index.js"; +import * as serializers from "../../../../../../serialization/index.js"; +import * as Hume from "../../../../../index.js"; export declare namespace Tools { - export interface Options { - environment?: core.Supplier; - /** Specify a custom URL to connect the client to. */ - baseUrl?: core.Supplier; - apiKey?: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | null | undefined>; - fetcher?: core.FetchFunction; - } + export interface Options extends BaseClientOptions {} - 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; - /** Additional query string parameters to include in the request. */ - queryParams?: Record; - /** Additional headers to include in the request. */ - headers?: Record | null | undefined>; - } + export interface RequestOptions extends BaseRequestOptions {} } export class Tools { @@ -60,7 +40,9 @@ export class Tools { public async listTools( request: Hume.empathicVoice.ToolsListToolsRequest = {}, requestOptions?: Tools.RequestOptions, - ): Promise> { + ): Promise< + core.Page + > { const list = core.HttpResponsePromise.interceptFunction( async ( request: Hume.empathicVoice.ToolsListToolsRequest, @@ -68,18 +50,18 @@ export class Tools { const { pageNumber, pageSize, restrictToMostRecent, name } = request; const _queryParams: Record = {}; if (pageNumber != null) { - _queryParams["page_number"] = pageNumber.toString(); + _queryParams.page_number = pageNumber.toString(); } if (pageSize != null) { - _queryParams["page_size"] = pageSize.toString(); + _queryParams.page_size = pageSize.toString(); } if (restrictToMostRecent != null) { - _queryParams["restrict_to_most_recent"] = restrictToMostRecent.toString(); + _queryParams.restrict_to_most_recent = restrictToMostRecent.toString(); } if (name != null) { - _queryParams["name"] = name; + _queryParams.name = name; } - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -94,9 +76,8 @@ export class Tools { method: "GET", headers: _headers, queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - 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, }); if (_response.ok) { @@ -151,9 +132,9 @@ export class Tools { ); let _offset = request?.pageNumber != null ? request?.pageNumber : 0; const dataWithRawResponse = await list(request).withRawResponse(); - return new core.Pageable< - Hume.empathicVoice.ReturnPagedUserDefinedTools, - Hume.empathicVoice.ReturnUserDefinedTool | undefined + return new core.Page< + Hume.empathicVoice.ReturnUserDefinedTool | undefined, + Hume.empathicVoice.ReturnPagedUserDefinedTools >({ response: dataWithRawResponse.data, rawResponse: dataWithRawResponse.rawResponse, @@ -196,7 +177,7 @@ export class Tools { request: Hume.empathicVoice.PostedUserDefinedTool, requestOptions?: Tools.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -216,8 +197,8 @@ export class Tools { 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, }); if (_response.ok) { @@ -290,7 +271,9 @@ export class Tools { id: string, request: Hume.empathicVoice.ToolsListToolVersionsRequest = {}, requestOptions?: Tools.RequestOptions, - ): Promise> { + ): Promise< + core.Page + > { const list = core.HttpResponsePromise.interceptFunction( async ( request: Hume.empathicVoice.ToolsListToolVersionsRequest, @@ -298,15 +281,15 @@ export class Tools { const { pageNumber, pageSize, restrictToMostRecent } = request; const _queryParams: Record = {}; if (pageNumber != null) { - _queryParams["page_number"] = pageNumber.toString(); + _queryParams.page_number = pageNumber.toString(); } if (pageSize != null) { - _queryParams["page_size"] = pageSize.toString(); + _queryParams.page_size = pageSize.toString(); } if (restrictToMostRecent != null) { - _queryParams["restrict_to_most_recent"] = restrictToMostRecent.toString(); + _queryParams.restrict_to_most_recent = restrictToMostRecent.toString(); } - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -316,14 +299,13 @@ export class Tools { (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod) .base, - `v0/evi/tools/${encodeURIComponent(id)}`, + `v0/evi/tools/${core.url.encodePathParam(id)}`, ), method: "GET", headers: _headers, queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - 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, }); if (_response.ok) { @@ -378,9 +360,9 @@ export class Tools { ); let _offset = request?.pageNumber != null ? request?.pageNumber : 0; const dataWithRawResponse = await list(request).withRawResponse(); - return new core.Pageable< - Hume.empathicVoice.ReturnPagedUserDefinedTools, - Hume.empathicVoice.ReturnUserDefinedTool | undefined + return new core.Page< + Hume.empathicVoice.ReturnUserDefinedTool | undefined, + Hume.empathicVoice.ReturnPagedUserDefinedTools >({ response: dataWithRawResponse.data, rawResponse: dataWithRawResponse.rawResponse, @@ -425,7 +407,7 @@ export class Tools { request: Hume.empathicVoice.PostedUserDefinedToolVersion, requestOptions?: Tools.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -434,7 +416,7 @@ export class Tools { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/evi/tools/${encodeURIComponent(id)}`, + `v0/evi/tools/${core.url.encodePathParam(id)}`, ), method: "POST", headers: _headers, @@ -445,8 +427,8 @@ export class Tools { 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, }); if (_response.ok) { @@ -519,7 +501,7 @@ export class Tools { } private async __deleteTool(id: string, requestOptions?: Tools.RequestOptions): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -528,13 +510,13 @@ export class Tools { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/evi/tools/${encodeURIComponent(id)}`, + `v0/evi/tools/${core.url.encodePathParam(id)}`, ), method: "DELETE", headers: _headers, queryParameters: requestOptions?.queryParams, - 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, }); if (_response.ok) { @@ -609,7 +591,7 @@ export class Tools { request: Hume.empathicVoice.PostedUserDefinedToolName, requestOptions?: Tools.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -618,7 +600,7 @@ export class Tools { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/evi/tools/${encodeURIComponent(id)}`, + `v0/evi/tools/${core.url.encodePathParam(id)}`, ), method: "PATCH", headers: _headers, @@ -630,8 +612,8 @@ export class Tools { omitUndefined: true, }), responseType: "text", - 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, }); if (_response.ok) { @@ -708,7 +690,7 @@ export class Tools { version: number, requestOptions?: Tools.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -717,13 +699,13 @@ export class Tools { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/evi/tools/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`, + `v0/evi/tools/${core.url.encodePathParam(id)}/version/${core.url.encodePathParam(version)}`, ), method: "GET", headers: _headers, queryParameters: requestOptions?.queryParams, - 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, }); if (_response.ok) { @@ -811,7 +793,7 @@ export class Tools { version: number, requestOptions?: Tools.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -820,13 +802,13 @@ export class Tools { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/evi/tools/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`, + `v0/evi/tools/${core.url.encodePathParam(id)}/version/${core.url.encodePathParam(version)}`, ), method: "DELETE", headers: _headers, queryParameters: requestOptions?.queryParams, - 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, }); if (_response.ok) { @@ -910,7 +892,7 @@ export class Tools { request: Hume.empathicVoice.PostedUserDefinedToolVersionDescription = {}, requestOptions?: Tools.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -919,7 +901,7 @@ export class Tools { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/evi/tools/${encodeURIComponent(id)}/version/${encodeURIComponent(version)}`, + `v0/evi/tools/${core.url.encodePathParam(id)}/version/${core.url.encodePathParam(version)}`, ), method: "PATCH", headers: _headers, @@ -930,8 +912,8 @@ export class Tools { 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, }); if (_response.ok) { @@ -988,7 +970,7 @@ export class Tools { } } - protected async _getCustomAuthorizationHeaders() { + protected async _getCustomAuthorizationHeaders(): Promise> { const apiKeyValue = await core.Supplier.get(this._options.apiKey); return { "X-Hume-Api-Key": apiKeyValue }; } diff --git a/src/api/resources/empathicVoice/resources/tools/client/index.ts b/src/api/resources/empathicVoice/resources/tools/client/index.ts index 82648c6f..195f9aa8 100644 --- a/src/api/resources/empathicVoice/resources/tools/client/index.ts +++ b/src/api/resources/empathicVoice/resources/tools/client/index.ts @@ -1,2 +1 @@ -export {}; export * from "./requests/index.js"; diff --git a/src/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.ts b/src/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.ts index 3a1bb56b..8036024f 100644 --- a/src/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.ts +++ b/src/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.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 diff --git a/src/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolName.ts b/src/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolName.ts index 15437411..589576a5 100644 --- a/src/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolName.ts +++ b/src/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolName.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 diff --git a/src/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.ts b/src/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.ts index c3305d74..3a9fe678 100644 --- a/src/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.ts +++ b/src/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.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 diff --git a/src/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.ts b/src/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.ts index 261244f0..4b436e47 100644 --- a/src/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.ts +++ b/src/api/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.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 diff --git a/src/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolVersionsRequest.ts b/src/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolVersionsRequest.ts index 7ffc001d..dcff3a11 100644 --- a/src/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolVersionsRequest.ts +++ b/src/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolVersionsRequest.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 diff --git a/src/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.ts b/src/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.ts index ce076f6a..15369f90 100644 --- a/src/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.ts +++ b/src/api/resources/empathicVoice/resources/tools/client/requests/ToolsListToolsRequest.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 diff --git a/src/api/resources/empathicVoice/resources/tools/client/requests/index.ts b/src/api/resources/empathicVoice/resources/tools/client/requests/index.ts index b2092773..f50258c7 100644 --- a/src/api/resources/empathicVoice/resources/tools/client/requests/index.ts +++ b/src/api/resources/empathicVoice/resources/tools/client/requests/index.ts @@ -1,6 +1,6 @@ -export { type ToolsListToolsRequest } from "./ToolsListToolsRequest.js"; -export { type PostedUserDefinedTool } from "./PostedUserDefinedTool.js"; -export { type ToolsListToolVersionsRequest } from "./ToolsListToolVersionsRequest.js"; -export { type PostedUserDefinedToolVersion } from "./PostedUserDefinedToolVersion.js"; -export { type PostedUserDefinedToolName } from "./PostedUserDefinedToolName.js"; -export { type PostedUserDefinedToolVersionDescription } from "./PostedUserDefinedToolVersionDescription.js"; +export type { PostedUserDefinedTool } from "./PostedUserDefinedTool.js"; +export type { PostedUserDefinedToolName } from "./PostedUserDefinedToolName.js"; +export type { PostedUserDefinedToolVersion } from "./PostedUserDefinedToolVersion.js"; +export type { PostedUserDefinedToolVersionDescription } from "./PostedUserDefinedToolVersionDescription.js"; +export type { ToolsListToolsRequest } from "./ToolsListToolsRequest.js"; +export type { ToolsListToolVersionsRequest } from "./ToolsListToolVersionsRequest.js"; diff --git a/src/api/resources/empathicVoice/types/AssistantEnd.ts b/src/api/resources/empathicVoice/types/AssistantEnd.ts index 815812b5..0add9f8e 100644 --- a/src/api/resources/empathicVoice/types/AssistantEnd.ts +++ b/src/api/resources/empathicVoice/types/AssistantEnd.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. /** * When provided, the output is an assistant end message. diff --git a/src/api/resources/empathicVoice/types/AssistantInput.ts b/src/api/resources/empathicVoice/types/AssistantInput.ts index ef166abf..98407e2a 100644 --- a/src/api/resources/empathicVoice/types/AssistantInput.ts +++ b/src/api/resources/empathicVoice/types/AssistantInput.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. /** * When provided, the input is spoken by EVI. diff --git a/src/api/resources/empathicVoice/types/AssistantMessage.ts b/src/api/resources/empathicVoice/types/AssistantMessage.ts index 22f10772..9902c3d3 100644 --- a/src/api/resources/empathicVoice/types/AssistantMessage.ts +++ b/src/api/resources/empathicVoice/types/AssistantMessage.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * When provided, the output is an assistant message. diff --git a/src/api/resources/empathicVoice/types/AssistantProsody.ts b/src/api/resources/empathicVoice/types/AssistantProsody.ts index ec376d00..bbb79bff 100644 --- a/src/api/resources/empathicVoice/types/AssistantProsody.ts +++ b/src/api/resources/empathicVoice/types/AssistantProsody.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * When provided, the output is an Assistant Prosody message. diff --git a/src/api/resources/empathicVoice/types/AudioConfiguration.ts b/src/api/resources/empathicVoice/types/AudioConfiguration.ts index 07b9dfac..975bbec8 100644 --- a/src/api/resources/empathicVoice/types/AudioConfiguration.ts +++ b/src/api/resources/empathicVoice/types/AudioConfiguration.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface AudioConfiguration { /** Number of audio channels. */ diff --git a/src/api/resources/empathicVoice/types/AudioInput.ts b/src/api/resources/empathicVoice/types/AudioInput.ts index 27bc67da..2413d7f6 100644 --- a/src/api/resources/empathicVoice/types/AudioInput.ts +++ b/src/api/resources/empathicVoice/types/AudioInput.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. /** * When provided, the input is audio. diff --git a/src/api/resources/empathicVoice/types/AudioOutput.ts b/src/api/resources/empathicVoice/types/AudioOutput.ts index faa3e942..4928f29c 100644 --- a/src/api/resources/empathicVoice/types/AudioOutput.ts +++ b/src/api/resources/empathicVoice/types/AudioOutput.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. /** * The type of message sent through the socket; for an Audio Output message, this must be `audio_output`. diff --git a/src/api/resources/empathicVoice/types/BuiltInTool.ts b/src/api/resources/empathicVoice/types/BuiltInTool.ts index ee69a93b..f5b284b9 100644 --- a/src/api/resources/empathicVoice/types/BuiltInTool.ts +++ b/src/api/resources/empathicVoice/types/BuiltInTool.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. -/** - * Name of the built-in tool. Set to `web_search` to equip EVI with the built-in Web Search tool. - */ -export type BuiltInTool = "web_search" | "hang_up"; +/** Name of the built-in tool. Set to `web_search` to equip EVI with the built-in Web Search tool. */ export const BuiltInTool = { WebSearch: "web_search", HangUp: "hang_up", } as const; +export type BuiltInTool = (typeof BuiltInTool)[keyof typeof BuiltInTool]; diff --git a/src/api/resources/empathicVoice/types/BuiltinToolConfig.ts b/src/api/resources/empathicVoice/types/BuiltinToolConfig.ts index fb333e75..3dfabc32 100644 --- a/src/api/resources/empathicVoice/types/BuiltinToolConfig.ts +++ b/src/api/resources/empathicVoice/types/BuiltinToolConfig.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface BuiltinToolConfig { /** Optional text passed to the supplemental LLM if the tool call fails. The LLM then uses this text to generate a response back to the user, ensuring continuity in the conversation. */ diff --git a/src/api/resources/empathicVoice/types/ChatMessage.ts b/src/api/resources/empathicVoice/types/ChatMessage.ts index 8be64df4..9282b664 100644 --- a/src/api/resources/empathicVoice/types/ChatMessage.ts +++ b/src/api/resources/empathicVoice/types/ChatMessage.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface ChatMessage { /** Transcript of the message. */ diff --git a/src/api/resources/empathicVoice/types/ChatMessageToolResult.ts b/src/api/resources/empathicVoice/types/ChatMessageToolResult.ts index 049329f0..3c4b270c 100644 --- a/src/api/resources/empathicVoice/types/ChatMessageToolResult.ts +++ b/src/api/resources/empathicVoice/types/ChatMessageToolResult.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * Function call response from client. diff --git a/src/api/resources/empathicVoice/types/ChatMetadata.ts b/src/api/resources/empathicVoice/types/ChatMetadata.ts index 04b15821..304b757b 100644 --- a/src/api/resources/empathicVoice/types/ChatMetadata.ts +++ b/src/api/resources/empathicVoice/types/ChatMetadata.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. /** * When provided, the output is a chat metadata message. diff --git a/src/api/resources/empathicVoice/types/ConnectSessionSettings.ts b/src/api/resources/empathicVoice/types/ConnectSessionSettings.ts index 29221550..55e6c137 100644 --- a/src/api/resources/empathicVoice/types/ConnectSessionSettings.ts +++ b/src/api/resources/empathicVoice/types/ConnectSessionSettings.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface ConnectSessionSettings { audio?: Hume.empathicVoice.ConnectSessionSettingsAudio; diff --git a/src/api/resources/empathicVoice/types/ConnectSessionSettingsAudio.ts b/src/api/resources/empathicVoice/types/ConnectSessionSettingsAudio.ts index c98d3f77..ff0f825c 100644 --- a/src/api/resources/empathicVoice/types/ConnectSessionSettingsAudio.ts +++ b/src/api/resources/empathicVoice/types/ConnectSessionSettingsAudio.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 ConnectSessionSettingsAudio { channels?: number; diff --git a/src/api/resources/empathicVoice/types/ConnectSessionSettingsContext.ts b/src/api/resources/empathicVoice/types/ConnectSessionSettingsContext.ts index 8732189a..ec7d6283 100644 --- a/src/api/resources/empathicVoice/types/ConnectSessionSettingsContext.ts +++ b/src/api/resources/empathicVoice/types/ConnectSessionSettingsContext.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 ConnectSessionSettingsContext { text?: string; diff --git a/src/api/resources/empathicVoice/types/ConnectSessionSettingsVariablesValue.ts b/src/api/resources/empathicVoice/types/ConnectSessionSettingsVariablesValue.ts index a7af86af..75bd6223 100644 --- a/src/api/resources/empathicVoice/types/ConnectSessionSettingsVariablesValue.ts +++ b/src/api/resources/empathicVoice/types/ConnectSessionSettingsVariablesValue.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 ConnectSessionSettingsVariablesValue = string | number | boolean; diff --git a/src/api/resources/empathicVoice/types/Context.ts b/src/api/resources/empathicVoice/types/Context.ts index 7d1766bc..db1005f6 100644 --- a/src/api/resources/empathicVoice/types/Context.ts +++ b/src/api/resources/empathicVoice/types/Context.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface Context { /** diff --git a/src/api/resources/empathicVoice/types/ContextType.ts b/src/api/resources/empathicVoice/types/ContextType.ts index abafe5db..4b933ffd 100644 --- a/src/api/resources/empathicVoice/types/ContextType.ts +++ b/src/api/resources/empathicVoice/types/ContextType.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 ContextType = "persistent" | "temporary"; export const ContextType = { Persistent: "persistent", Temporary: "temporary", } as const; +export type ContextType = (typeof ContextType)[keyof typeof ContextType]; diff --git a/src/api/resources/empathicVoice/types/EmotionScores.ts b/src/api/resources/empathicVoice/types/EmotionScores.ts index 5a183411..2aa5a38a 100644 --- a/src/api/resources/empathicVoice/types/EmotionScores.ts +++ b/src/api/resources/empathicVoice/types/EmotionScores.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 EmotionScores { admiration: number; diff --git a/src/api/resources/empathicVoice/types/Encoding.ts b/src/api/resources/empathicVoice/types/Encoding.ts index a3f72e77..3d12003c 100644 --- a/src/api/resources/empathicVoice/types/Encoding.ts +++ b/src/api/resources/empathicVoice/types/Encoding.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 Encoding = "linear16"; diff --git a/src/api/resources/empathicVoice/types/ErrorLevel.ts b/src/api/resources/empathicVoice/types/ErrorLevel.ts index 0215d7d8..96f899fa 100644 --- a/src/api/resources/empathicVoice/types/ErrorLevel.ts +++ b/src/api/resources/empathicVoice/types/ErrorLevel.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 ErrorLevel = "warn"; diff --git a/src/api/resources/empathicVoice/types/ErrorResponse.ts b/src/api/resources/empathicVoice/types/ErrorResponse.ts index d554b643..bc1138fb 100644 --- a/src/api/resources/empathicVoice/types/ErrorResponse.ts +++ b/src/api/resources/empathicVoice/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 { error?: string; diff --git a/src/api/resources/empathicVoice/types/HttpValidationError.ts b/src/api/resources/empathicVoice/types/HttpValidationError.ts index d585cf26..2e7965ad 100644 --- a/src/api/resources/empathicVoice/types/HttpValidationError.ts +++ b/src/api/resources/empathicVoice/types/HttpValidationError.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface HttpValidationError { detail?: Hume.empathicVoice.ValidationError[]; diff --git a/src/api/resources/empathicVoice/types/Inference.ts b/src/api/resources/empathicVoice/types/Inference.ts index 80f3e629..dcf4eb28 100644 --- a/src/api/resources/empathicVoice/types/Inference.ts +++ b/src/api/resources/empathicVoice/types/Inference.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface Inference { /** diff --git a/src/api/resources/empathicVoice/types/JsonMessage.ts b/src/api/resources/empathicVoice/types/JsonMessage.ts index 0a18ef21..36de4e88 100644 --- a/src/api/resources/empathicVoice/types/JsonMessage.ts +++ b/src/api/resources/empathicVoice/types/JsonMessage.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export type JsonMessage = | Hume.empathicVoice.AssistantEnd diff --git a/src/api/resources/empathicVoice/types/LanguageModelType.ts b/src/api/resources/empathicVoice/types/LanguageModelType.ts index 417f395b..478d6066 100644 --- a/src/api/resources/empathicVoice/types/LanguageModelType.ts +++ b/src/api/resources/empathicVoice/types/LanguageModelType.ts @@ -1,68 +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 LanguageModelType = - | "claude-3-7-sonnet-latest" - | "claude-3-5-sonnet-latest" - | "claude-3-5-haiku-latest" - | "claude-3-5-sonnet-20240620" - | "claude-3-opus-20240229" - | "claude-3-sonnet-20240229" - | "claude-3-haiku-20240307" - | "claude-sonnet-4-20250514" - | "claude-sonnet-4-5-20250929" - | "us.anthropic.claude-3-5-haiku-20241022-v1:0" - | "us.anthropic.claude-3-5-sonnet-20240620-v1:0" - | "us.anthropic.claude-3-haiku-20240307-v1:0" - | "gpt-oss-120b" - | "qwen-3-235b-a22b" - | "qwen-3-235b-a22b-instruct-2507" - | "qwen-3-235b-a22b-thinking-2507" - | "gemini-1.5-pro" - | "gemini-1.5-flash" - | "gemini-1.5-pro-002" - | "gemini-1.5-flash-002" - | "gemini-2.0-flash" - | "gemini-2.5-flash" - | "gemini-2.5-flash-preview-04-17" - | "gpt-4-turbo" - | "gpt-4-turbo-preview" - | "gpt-3.5-turbo-0125" - | "gpt-3.5-turbo" - | "gpt-4o" - | "gpt-4o-mini" - | "gpt-4.1" - | "gpt-5" - | "gpt-5-mini" - | "gpt-5-nano" - | "gpt-4o-priority" - | "gpt-4o-mini-priority" - | "gpt-4.1-priority" - | "gpt-5-priority" - | "gpt-5-mini-priority" - | "gpt-5-nano-priority" - | "gemma-7b-it" - | "llama3-8b-8192" - | "llama3-70b-8192" - | "llama-3.1-70b-versatile" - | "llama-3.3-70b-versatile" - | "llama-3.1-8b-instant" - | "moonshotai/kimi-k2-instruct" - | "accounts/fireworks/models/mixtral-8x7b-instruct" - | "accounts/fireworks/models/llama-v3p1-405b-instruct" - | "accounts/fireworks/models/llama-v3p1-70b-instruct" - | "accounts/fireworks/models/llama-v3p1-8b-instruct" - | "sonar" - | "sonar-pro" - | "sambanova" - | "DeepSeek-R1-Distill-Llama-70B" - | "Llama-4-Maverick-17B-128E-Instruct" - | "Qwen3-32B" - | "grok-4-fast-non-reasoning-latest" - | "ellm" - | "custom-language-model" - | "hume-evi-3-web-search"; export const LanguageModelType = { Claude37SonnetLatest: "claude-3-7-sonnet-latest", Claude35SonnetLatest: "claude-3-5-sonnet-latest", @@ -125,3 +62,4 @@ export const LanguageModelType = { CustomLanguageModel: "custom-language-model", HumeEvi3WebSearch: "hume-evi-3-web-search", } as const; +export type LanguageModelType = (typeof LanguageModelType)[keyof typeof LanguageModelType]; diff --git a/src/api/resources/empathicVoice/types/MillisecondInterval.ts b/src/api/resources/empathicVoice/types/MillisecondInterval.ts index 683d02ea..02d81c35 100644 --- a/src/api/resources/empathicVoice/types/MillisecondInterval.ts +++ b/src/api/resources/empathicVoice/types/MillisecondInterval.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 MillisecondInterval { /** Start time of the interval in milliseconds. */ diff --git a/src/api/resources/empathicVoice/types/ModelProviderEnum.ts b/src/api/resources/empathicVoice/types/ModelProviderEnum.ts index 8d627258..bebbfdb8 100644 --- a/src/api/resources/empathicVoice/types/ModelProviderEnum.ts +++ b/src/api/resources/empathicVoice/types/ModelProviderEnum.ts @@ -1,19 +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 ModelProviderEnum = - | "GROQ" - | "OPEN_AI" - | "FIREWORKS" - | "ANTHROPIC" - | "CUSTOM_LANGUAGE_MODEL" - | "GOOGLE" - | "HUME_AI" - | "AMAZON_BEDROCK" - | "PERPLEXITY" - | "SAMBANOVA" - | "CEREBRAS"; export const ModelProviderEnum = { Groq: "GROQ", OpenAi: "OPEN_AI", @@ -27,3 +13,4 @@ export const ModelProviderEnum = { Sambanova: "SAMBANOVA", Cerebras: "CEREBRAS", } as const; +export type ModelProviderEnum = (typeof ModelProviderEnum)[keyof typeof ModelProviderEnum]; diff --git a/src/api/resources/empathicVoice/types/PauseAssistantMessage.ts b/src/api/resources/empathicVoice/types/PauseAssistantMessage.ts index 60b1c5d5..d29ae357 100644 --- a/src/api/resources/empathicVoice/types/PauseAssistantMessage.ts +++ b/src/api/resources/empathicVoice/types/PauseAssistantMessage.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. /** * Pause responses from EVI. Chat history is still saved and sent after resuming. diff --git a/src/api/resources/empathicVoice/types/PostedBuiltinTool.ts b/src/api/resources/empathicVoice/types/PostedBuiltinTool.ts index 754528c6..4a4bfc08 100644 --- a/src/api/resources/empathicVoice/types/PostedBuiltinTool.ts +++ b/src/api/resources/empathicVoice/types/PostedBuiltinTool.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * A configuration of a built-in tool to be posted to the server diff --git a/src/api/resources/empathicVoice/types/PostedBuiltinToolName.ts b/src/api/resources/empathicVoice/types/PostedBuiltinToolName.ts index 76e71357..c0f3e54f 100644 --- a/src/api/resources/empathicVoice/types/PostedBuiltinToolName.ts +++ b/src/api/resources/empathicVoice/types/PostedBuiltinToolName.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. /** * Name of the built-in tool to use. Hume supports the following built-in tools: @@ -10,8 +8,8 @@ * * For more information, see our guide on [using built-in tools](/docs/speech-to-speech-evi/features/tool-use#using-built-in-tools). */ -export type PostedBuiltinToolName = "web_search" | "hang_up"; export const PostedBuiltinToolName = { WebSearch: "web_search", HangUp: "hang_up", } as const; +export type PostedBuiltinToolName = (typeof PostedBuiltinToolName)[keyof typeof PostedBuiltinToolName]; diff --git a/src/api/resources/empathicVoice/types/PostedConfigPromptSpec.ts b/src/api/resources/empathicVoice/types/PostedConfigPromptSpec.ts index 862cbd9d..841458be 100644 --- a/src/api/resources/empathicVoice/types/PostedConfigPromptSpec.ts +++ b/src/api/resources/empathicVoice/types/PostedConfigPromptSpec.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. /** * Identifies which prompt to use in a a config OR how to create a new prompt to use in the config diff --git a/src/api/resources/empathicVoice/types/PostedEllmModel.ts b/src/api/resources/empathicVoice/types/PostedEllmModel.ts index 2c0acc27..a615f315 100644 --- a/src/api/resources/empathicVoice/types/PostedEllmModel.ts +++ b/src/api/resources/empathicVoice/types/PostedEllmModel.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 eLLM model configuration to be posted to the server diff --git a/src/api/resources/empathicVoice/types/PostedEventMessageSpec.ts b/src/api/resources/empathicVoice/types/PostedEventMessageSpec.ts index 25c8b2cb..544bc02a 100644 --- a/src/api/resources/empathicVoice/types/PostedEventMessageSpec.ts +++ b/src/api/resources/empathicVoice/types/PostedEventMessageSpec.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. /** * Settings for a specific event_message to be posted to the server diff --git a/src/api/resources/empathicVoice/types/PostedEventMessageSpecs.ts b/src/api/resources/empathicVoice/types/PostedEventMessageSpecs.ts index b3b910fd..cabe2cc9 100644 --- a/src/api/resources/empathicVoice/types/PostedEventMessageSpecs.ts +++ b/src/api/resources/empathicVoice/types/PostedEventMessageSpecs.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * Collection of event messages returned by the server. diff --git a/src/api/resources/empathicVoice/types/PostedLanguageModel.ts b/src/api/resources/empathicVoice/types/PostedLanguageModel.ts index c97b78a8..212a27f4 100644 --- a/src/api/resources/empathicVoice/types/PostedLanguageModel.ts +++ b/src/api/resources/empathicVoice/types/PostedLanguageModel.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * A LanguageModel to be posted to the server diff --git a/src/api/resources/empathicVoice/types/PostedNudgeSpec.ts b/src/api/resources/empathicVoice/types/PostedNudgeSpec.ts index a8b72ee6..0881466a 100644 --- a/src/api/resources/empathicVoice/types/PostedNudgeSpec.ts +++ b/src/api/resources/empathicVoice/types/PostedNudgeSpec.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 nudge specification posted to the server diff --git a/src/api/resources/empathicVoice/types/PostedTimeoutSpec.ts b/src/api/resources/empathicVoice/types/PostedTimeoutSpec.ts index edc1e817..f9aea683 100644 --- a/src/api/resources/empathicVoice/types/PostedTimeoutSpec.ts +++ b/src/api/resources/empathicVoice/types/PostedTimeoutSpec.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. /** * Settings for a specific timeout to be posted to the server diff --git a/src/api/resources/empathicVoice/types/PostedTimeoutSpecs.ts b/src/api/resources/empathicVoice/types/PostedTimeoutSpecs.ts index 835cd48a..36d88ee3 100644 --- a/src/api/resources/empathicVoice/types/PostedTimeoutSpecs.ts +++ b/src/api/resources/empathicVoice/types/PostedTimeoutSpecs.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * Collection of timeout specifications returned by the server. diff --git a/src/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.ts b/src/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.ts index 15831562..bd6aa0d9 100644 --- a/src/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.ts +++ b/src/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.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. /** * Specifies the duration of user inactivity (in seconds) after which the EVI WebSocket connection will be automatically disconnected. Default is 600 seconds (10 minutes). diff --git a/src/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.ts b/src/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.ts index 8e5af835..8cf9c40b 100644 --- a/src/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.ts +++ b/src/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.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. /** * Specifies the maximum allowed duration (in seconds) for an EVI WebSocket connection before it is automatically disconnected. Default is 1,800 seconds (30 minutes). diff --git a/src/api/resources/empathicVoice/types/PostedUserDefinedToolSpec.ts b/src/api/resources/empathicVoice/types/PostedUserDefinedToolSpec.ts index d6054d98..658a620d 100644 --- a/src/api/resources/empathicVoice/types/PostedUserDefinedToolSpec.ts +++ b/src/api/resources/empathicVoice/types/PostedUserDefinedToolSpec.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 specific tool identifier to be posted to the server diff --git a/src/api/resources/empathicVoice/types/PostedWebhookEventType.ts b/src/api/resources/empathicVoice/types/PostedWebhookEventType.ts index 120c3aaa..6f701400 100644 --- a/src/api/resources/empathicVoice/types/PostedWebhookEventType.ts +++ b/src/api/resources/empathicVoice/types/PostedWebhookEventType.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. -/** - * Events this URL is subscribed to - */ -export type PostedWebhookEventType = "chat_started" | "chat_ended"; +/** Events this URL is subscribed to */ export const PostedWebhookEventType = { ChatStarted: "chat_started", ChatEnded: "chat_ended", } as const; +export type PostedWebhookEventType = (typeof PostedWebhookEventType)[keyof typeof PostedWebhookEventType]; diff --git a/src/api/resources/empathicVoice/types/PostedWebhookSpec.ts b/src/api/resources/empathicVoice/types/PostedWebhookSpec.ts index 4e33c875..9c266cc5 100644 --- a/src/api/resources/empathicVoice/types/PostedWebhookSpec.ts +++ b/src/api/resources/empathicVoice/types/PostedWebhookSpec.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * URL and settings for a specific webhook to be posted to the server diff --git a/src/api/resources/empathicVoice/types/ProsodyInference.ts b/src/api/resources/empathicVoice/types/ProsodyInference.ts index a81c553b..9273f2fb 100644 --- a/src/api/resources/empathicVoice/types/ProsodyInference.ts +++ b/src/api/resources/empathicVoice/types/ProsodyInference.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface ProsodyInference { /** diff --git a/src/api/resources/empathicVoice/types/ResumeAssistantMessage.ts b/src/api/resources/empathicVoice/types/ResumeAssistantMessage.ts index 6dcc3fec..c8492519 100644 --- a/src/api/resources/empathicVoice/types/ResumeAssistantMessage.ts +++ b/src/api/resources/empathicVoice/types/ResumeAssistantMessage.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. /** * Resume responses from EVI. Chat history sent while paused will now be sent. diff --git a/src/api/resources/empathicVoice/types/ReturnBuiltinTool.ts b/src/api/resources/empathicVoice/types/ReturnBuiltinTool.ts index a6f7ea8d..523a730f 100644 --- a/src/api/resources/empathicVoice/types/ReturnBuiltinTool.ts +++ b/src/api/resources/empathicVoice/types/ReturnBuiltinTool.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * A specific builtin tool version returned from the server diff --git a/src/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.ts b/src/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.ts index 61adf6ec..3945e994 100644 --- a/src/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.ts +++ b/src/api/resources/empathicVoice/types/ReturnBuiltinToolToolType.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. -/** - * Type of Tool. Either `BUILTIN` for natively implemented tools, like web search, or `FUNCTION` for user-defined tools. - */ -export type ReturnBuiltinToolToolType = "BUILTIN" | "FUNCTION"; +/** Type of Tool. Either `BUILTIN` for natively implemented tools, like web search, or `FUNCTION` for user-defined tools. */ export const ReturnBuiltinToolToolType = { Builtin: "BUILTIN", Function: "FUNCTION", } as const; +export type ReturnBuiltinToolToolType = (typeof ReturnBuiltinToolToolType)[keyof typeof ReturnBuiltinToolToolType]; diff --git a/src/api/resources/empathicVoice/types/ReturnChat.ts b/src/api/resources/empathicVoice/types/ReturnChat.ts index 46227e92..867c604f 100644 --- a/src/api/resources/empathicVoice/types/ReturnChat.ts +++ b/src/api/resources/empathicVoice/types/ReturnChat.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * A description of chat and its status diff --git a/src/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.ts b/src/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.ts index 278595f3..5e5b5d87 100644 --- a/src/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.ts +++ b/src/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * List of chat audio reconstructions returned for the specified page number and page size. diff --git a/src/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.ts b/src/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.ts index a5ec40d0..5bc99a5a 100644 --- a/src/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.ts +++ b/src/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.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. /** * Indicates the current state of the audio reconstruction job. There are five possible statuses: @@ -15,7 +13,6 @@ * * - `CANCELED`: The reconstruction job has been canceled. */ -export type ReturnChatAudioReconstructionStatus = "QUEUED" | "IN_PROGRESS" | "COMPLETE" | "ERROR" | "CANCELLED"; export const ReturnChatAudioReconstructionStatus = { Queued: "QUEUED", InProgress: "IN_PROGRESS", @@ -23,3 +20,5 @@ export const ReturnChatAudioReconstructionStatus = { Error: "ERROR", Cancelled: "CANCELLED", } as const; +export type ReturnChatAudioReconstructionStatus = + (typeof ReturnChatAudioReconstructionStatus)[keyof typeof ReturnChatAudioReconstructionStatus]; diff --git a/src/api/resources/empathicVoice/types/ReturnChatEvent.ts b/src/api/resources/empathicVoice/types/ReturnChatEvent.ts index 130ba759..52708141 100644 --- a/src/api/resources/empathicVoice/types/ReturnChatEvent.ts +++ b/src/api/resources/empathicVoice/types/ReturnChatEvent.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * A description of a single event in a chat returned from the server diff --git a/src/api/resources/empathicVoice/types/ReturnChatEventRole.ts b/src/api/resources/empathicVoice/types/ReturnChatEventRole.ts index a16b9165..62a5c0c1 100644 --- a/src/api/resources/empathicVoice/types/ReturnChatEventRole.ts +++ b/src/api/resources/empathicVoice/types/ReturnChatEventRole.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. /** * The role of the entity which generated the Chat Event. There are four possible values: @@ -9,10 +7,10 @@ * - `SYSTEM`: The backend server, capable of transmitting errors. * - `TOOL`: The function calling mechanism. */ -export type ReturnChatEventRole = "USER" | "AGENT" | "SYSTEM" | "TOOL"; export const ReturnChatEventRole = { User: "USER", Agent: "AGENT", System: "SYSTEM", Tool: "TOOL", } as const; +export type ReturnChatEventRole = (typeof ReturnChatEventRole)[keyof typeof ReturnChatEventRole]; diff --git a/src/api/resources/empathicVoice/types/ReturnChatEventType.ts b/src/api/resources/empathicVoice/types/ReturnChatEventType.ts index 4901f774..55081e4e 100644 --- a/src/api/resources/empathicVoice/types/ReturnChatEventType.ts +++ b/src/api/resources/empathicVoice/types/ReturnChatEventType.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. /** * Type of Chat Event. There are eleven Chat Event types: @@ -16,18 +14,6 @@ * - `RESUME_ONSET`: Marks when the client sent a `resume_assistant_message` to resume the assistant. * - `CHAT_END_MESSAGE`: Indicates the end of the chat session. */ -export type ReturnChatEventType = - | "FUNCTION_CALL" - | "FUNCTION_CALL_RESPONSE" - | "CHAT_END_MESSAGE" - | "AGENT_MESSAGE" - | "SYSTEM_PROMPT" - | "USER_RECORDING_START_MESSAGE" - | "RESUME_ONSET" - | "USER_INTERRUPTION" - | "CHAT_START_MESSAGE" - | "PAUSE_ONSET" - | "USER_MESSAGE"; export const ReturnChatEventType = { FunctionCall: "FUNCTION_CALL", FunctionCallResponse: "FUNCTION_CALL_RESPONSE", @@ -41,3 +27,4 @@ export const ReturnChatEventType = { PauseOnset: "PAUSE_ONSET", UserMessage: "USER_MESSAGE", } as const; +export type ReturnChatEventType = (typeof ReturnChatEventType)[keyof typeof ReturnChatEventType]; diff --git a/src/api/resources/empathicVoice/types/ReturnChatGroup.ts b/src/api/resources/empathicVoice/types/ReturnChatGroup.ts index c8c6cd8f..f7c6f460 100644 --- a/src/api/resources/empathicVoice/types/ReturnChatGroup.ts +++ b/src/api/resources/empathicVoice/types/ReturnChatGroup.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * A description of chat_group and its status diff --git a/src/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.ts b/src/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.ts index cb553c7b..1719dc44 100644 --- a/src/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.ts +++ b/src/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * A paginated list of chat reconstructions for a particular chatgroup diff --git a/src/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.ts b/src/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.ts index 95241dce..3f3a2f46 100644 --- a/src/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.ts +++ b/src/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.ts @@ -1,14 +1,13 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. /** * Indicates the order in which the paginated results are presented, based on their creation date. * * It shows `ASC` for ascending order (chronological, with the oldest records first) or `DESC` for descending order (reverse-chronological, with the newest records first). This value corresponds to the `ascending_order` query parameter used in the request. */ -export type ReturnChatGroupPagedAudioReconstructionsPaginationDirection = "ASC" | "DESC"; export const ReturnChatGroupPagedAudioReconstructionsPaginationDirection = { Asc: "ASC", Desc: "DESC", } as const; +export type ReturnChatGroupPagedAudioReconstructionsPaginationDirection = + (typeof ReturnChatGroupPagedAudioReconstructionsPaginationDirection)[keyof typeof ReturnChatGroupPagedAudioReconstructionsPaginationDirection]; diff --git a/src/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.ts b/src/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.ts index 68909084..6d5fd2df 100644 --- a/src/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.ts +++ b/src/api/resources/empathicVoice/types/ReturnChatGroupPagedChats.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * A description of chat_group and its status with a paginated list of each chat in the chat_group diff --git a/src/api/resources/empathicVoice/types/ReturnChatGroupPagedChatsPaginationDirection.ts b/src/api/resources/empathicVoice/types/ReturnChatGroupPagedChatsPaginationDirection.ts index c3c556f2..b3879180 100644 --- a/src/api/resources/empathicVoice/types/ReturnChatGroupPagedChatsPaginationDirection.ts +++ b/src/api/resources/empathicVoice/types/ReturnChatGroupPagedChatsPaginationDirection.ts @@ -1,14 +1,13 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. /** * Indicates the order in which the paginated results are presented, based on their creation date. * * It shows `ASC` for ascending order (chronological, with the oldest records first) or `DESC` for descending order (reverse-chronological, with the newest records first). This value corresponds to the `ascending_order` query parameter used in the request. */ -export type ReturnChatGroupPagedChatsPaginationDirection = "ASC" | "DESC"; export const ReturnChatGroupPagedChatsPaginationDirection = { Asc: "ASC", Desc: "DESC", } as const; +export type ReturnChatGroupPagedChatsPaginationDirection = + (typeof ReturnChatGroupPagedChatsPaginationDirection)[keyof typeof ReturnChatGroupPagedChatsPaginationDirection]; diff --git a/src/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.ts b/src/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.ts index f0448134..8a232fc8 100644 --- a/src/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.ts +++ b/src/api/resources/empathicVoice/types/ReturnChatGroupPagedEvents.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * A paginated list of chat events that occurred across chats in this chat_group from the server diff --git a/src/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.ts b/src/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.ts index 00c73e97..11c89c52 100644 --- a/src/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.ts +++ b/src/api/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.ts @@ -1,14 +1,13 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. /** * Indicates the order in which the paginated results are presented, based on their creation date. * * It shows `ASC` for ascending order (chronological, with the oldest records first) or `DESC` for descending order (reverse-chronological, with the newest records first). This value corresponds to the `ascending_order` query parameter used in the request. */ -export type ReturnChatGroupPagedEventsPaginationDirection = "ASC" | "DESC"; export const ReturnChatGroupPagedEventsPaginationDirection = { Asc: "ASC", Desc: "DESC", } as const; +export type ReturnChatGroupPagedEventsPaginationDirection = + (typeof ReturnChatGroupPagedEventsPaginationDirection)[keyof typeof ReturnChatGroupPagedEventsPaginationDirection]; diff --git a/src/api/resources/empathicVoice/types/ReturnChatPagedEvents.ts b/src/api/resources/empathicVoice/types/ReturnChatPagedEvents.ts index cb16242b..2866de44 100644 --- a/src/api/resources/empathicVoice/types/ReturnChatPagedEvents.ts +++ b/src/api/resources/empathicVoice/types/ReturnChatPagedEvents.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * A description of chat status with a paginated list of chat events returned from the server diff --git a/src/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.ts b/src/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.ts index 2e0de6eb..a85cab4d 100644 --- a/src/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.ts +++ b/src/api/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.ts @@ -1,14 +1,13 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. /** * Indicates the order in which the paginated results are presented, based on their creation date. * * It shows `ASC` for ascending order (chronological, with the oldest records first) or `DESC` for descending order (reverse-chronological, with the newest records first). This value corresponds to the `ascending_order` query parameter used in the request. */ -export type ReturnChatPagedEventsPaginationDirection = "ASC" | "DESC"; export const ReturnChatPagedEventsPaginationDirection = { Asc: "ASC", Desc: "DESC", } as const; +export type ReturnChatPagedEventsPaginationDirection = + (typeof ReturnChatPagedEventsPaginationDirection)[keyof typeof ReturnChatPagedEventsPaginationDirection]; diff --git a/src/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.ts b/src/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.ts index 1c359b84..7d76dce3 100644 --- a/src/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.ts +++ b/src/api/resources/empathicVoice/types/ReturnChatPagedEventsStatus.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. /** * Indicates the current state of the chat. There are six possible statuses: @@ -17,13 +15,6 @@ * * - `ERROR`: The chat ended unexpectedly due to an error. */ -export type ReturnChatPagedEventsStatus = - | "ACTIVE" - | "USER_ENDED" - | "USER_TIMEOUT" - | "MAX_DURATION_TIMEOUT" - | "INACTIVITY_TIMEOUT" - | "ERROR"; export const ReturnChatPagedEventsStatus = { Active: "ACTIVE", UserEnded: "USER_ENDED", @@ -32,3 +23,5 @@ export const ReturnChatPagedEventsStatus = { InactivityTimeout: "INACTIVITY_TIMEOUT", Error: "ERROR", } as const; +export type ReturnChatPagedEventsStatus = + (typeof ReturnChatPagedEventsStatus)[keyof typeof ReturnChatPagedEventsStatus]; diff --git a/src/api/resources/empathicVoice/types/ReturnChatStatus.ts b/src/api/resources/empathicVoice/types/ReturnChatStatus.ts index 9bbadf8d..4d25866d 100644 --- a/src/api/resources/empathicVoice/types/ReturnChatStatus.ts +++ b/src/api/resources/empathicVoice/types/ReturnChatStatus.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. /** * Indicates the current state of the chat. There are six possible statuses: @@ -17,13 +15,6 @@ * * - `ERROR`: The chat ended unexpectedly due to an error. */ -export type ReturnChatStatus = - | "ACTIVE" - | "USER_ENDED" - | "USER_TIMEOUT" - | "MAX_DURATION_TIMEOUT" - | "INACTIVITY_TIMEOUT" - | "ERROR"; export const ReturnChatStatus = { Active: "ACTIVE", UserEnded: "USER_ENDED", @@ -32,3 +23,4 @@ export const ReturnChatStatus = { InactivityTimeout: "INACTIVITY_TIMEOUT", Error: "ERROR", } as const; +export type ReturnChatStatus = (typeof ReturnChatStatus)[keyof typeof ReturnChatStatus]; diff --git a/src/api/resources/empathicVoice/types/ReturnConfig.ts b/src/api/resources/empathicVoice/types/ReturnConfig.ts index d6a6c845..c024015c 100644 --- a/src/api/resources/empathicVoice/types/ReturnConfig.ts +++ b/src/api/resources/empathicVoice/types/ReturnConfig.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * A specific config version returned from the server diff --git a/src/api/resources/empathicVoice/types/ReturnConfigSpec.ts b/src/api/resources/empathicVoice/types/ReturnConfigSpec.ts index d7c02d8c..a8033acf 100644 --- a/src/api/resources/empathicVoice/types/ReturnConfigSpec.ts +++ b/src/api/resources/empathicVoice/types/ReturnConfigSpec.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. /** * The Config associated with this Chat. diff --git a/src/api/resources/empathicVoice/types/ReturnEllmModel.ts b/src/api/resources/empathicVoice/types/ReturnEllmModel.ts index 16a380ed..080f61ad 100644 --- a/src/api/resources/empathicVoice/types/ReturnEllmModel.ts +++ b/src/api/resources/empathicVoice/types/ReturnEllmModel.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 specific eLLM Model configuration diff --git a/src/api/resources/empathicVoice/types/ReturnEventMessageSpec.ts b/src/api/resources/empathicVoice/types/ReturnEventMessageSpec.ts index 3d427571..f2985170 100644 --- a/src/api/resources/empathicVoice/types/ReturnEventMessageSpec.ts +++ b/src/api/resources/empathicVoice/types/ReturnEventMessageSpec.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 specific event message configuration to be returned from the server diff --git a/src/api/resources/empathicVoice/types/ReturnEventMessageSpecs.ts b/src/api/resources/empathicVoice/types/ReturnEventMessageSpecs.ts index 1ad8eed3..4b2e5622 100644 --- a/src/api/resources/empathicVoice/types/ReturnEventMessageSpecs.ts +++ b/src/api/resources/empathicVoice/types/ReturnEventMessageSpecs.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * Collection of event messages returned by the server. diff --git a/src/api/resources/empathicVoice/types/ReturnLanguageModel.ts b/src/api/resources/empathicVoice/types/ReturnLanguageModel.ts index 36f3b399..69e3fa4d 100644 --- a/src/api/resources/empathicVoice/types/ReturnLanguageModel.ts +++ b/src/api/resources/empathicVoice/types/ReturnLanguageModel.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * A specific LanguageModel diff --git a/src/api/resources/empathicVoice/types/ReturnNudgeSpec.ts b/src/api/resources/empathicVoice/types/ReturnNudgeSpec.ts index f537e019..60d23fd2 100644 --- a/src/api/resources/empathicVoice/types/ReturnNudgeSpec.ts +++ b/src/api/resources/empathicVoice/types/ReturnNudgeSpec.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 specific nudge configuration returned from the server diff --git a/src/api/resources/empathicVoice/types/ReturnPagedChatGroups.ts b/src/api/resources/empathicVoice/types/ReturnPagedChatGroups.ts index bd300b3d..8b8d6287 100644 --- a/src/api/resources/empathicVoice/types/ReturnPagedChatGroups.ts +++ b/src/api/resources/empathicVoice/types/ReturnPagedChatGroups.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * A paginated list of chat_groups returned from the server diff --git a/src/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.ts b/src/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.ts index 7f65c3f5..31d30542 100644 --- a/src/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.ts +++ b/src/api/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.ts @@ -1,14 +1,13 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. /** * Indicates the order in which the paginated results are presented, based on their creation date. * * It shows `ASC` for ascending order (chronological, with the oldest records first) or `DESC` for descending order (reverse-chronological, with the newest records first). This value corresponds to the `ascending_order` query parameter used in the request. */ -export type ReturnPagedChatGroupsPaginationDirection = "ASC" | "DESC"; export const ReturnPagedChatGroupsPaginationDirection = { Asc: "ASC", Desc: "DESC", } as const; +export type ReturnPagedChatGroupsPaginationDirection = + (typeof ReturnPagedChatGroupsPaginationDirection)[keyof typeof ReturnPagedChatGroupsPaginationDirection]; diff --git a/src/api/resources/empathicVoice/types/ReturnPagedChats.ts b/src/api/resources/empathicVoice/types/ReturnPagedChats.ts index d4656936..56a50722 100644 --- a/src/api/resources/empathicVoice/types/ReturnPagedChats.ts +++ b/src/api/resources/empathicVoice/types/ReturnPagedChats.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * A paginated list of chats returned from the server diff --git a/src/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.ts b/src/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.ts index 0976310e..09d83bda 100644 --- a/src/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.ts +++ b/src/api/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.ts @@ -1,14 +1,13 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ +// This file was auto-generated by Fern from our API Definition. /** * Indicates the order in which the paginated results are presented, based on their creation date. * * It shows `ASC` for ascending order (chronological, with the oldest records first) or `DESC` for descending order (reverse-chronological, with the newest records first). This value corresponds to the `ascending_order` query parameter used in the request. */ -export type ReturnPagedChatsPaginationDirection = "ASC" | "DESC"; export const ReturnPagedChatsPaginationDirection = { Asc: "ASC", Desc: "DESC", } as const; +export type ReturnPagedChatsPaginationDirection = + (typeof ReturnPagedChatsPaginationDirection)[keyof typeof ReturnPagedChatsPaginationDirection]; diff --git a/src/api/resources/empathicVoice/types/ReturnPagedConfigs.ts b/src/api/resources/empathicVoice/types/ReturnPagedConfigs.ts index 03778dcb..224fa58c 100644 --- a/src/api/resources/empathicVoice/types/ReturnPagedConfigs.ts +++ b/src/api/resources/empathicVoice/types/ReturnPagedConfigs.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * A paginated list of config versions returned from the server diff --git a/src/api/resources/empathicVoice/types/ReturnPagedPrompts.ts b/src/api/resources/empathicVoice/types/ReturnPagedPrompts.ts index 7fb61326..615e4292 100644 --- a/src/api/resources/empathicVoice/types/ReturnPagedPrompts.ts +++ b/src/api/resources/empathicVoice/types/ReturnPagedPrompts.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * A paginated list of prompt versions returned from the server diff --git a/src/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.ts b/src/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.ts index 9ed8b7a0..6cabcb96 100644 --- a/src/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.ts +++ b/src/api/resources/empathicVoice/types/ReturnPagedUserDefinedTools.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * A paginated list of user defined tool versions returned from the server diff --git a/src/api/resources/empathicVoice/types/ReturnPrompt.ts b/src/api/resources/empathicVoice/types/ReturnPrompt.ts index b6fe0c0c..f3c15f41 100644 --- a/src/api/resources/empathicVoice/types/ReturnPrompt.ts +++ b/src/api/resources/empathicVoice/types/ReturnPrompt.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * A Prompt associated with this Config. diff --git a/src/api/resources/empathicVoice/types/ReturnPromptVersionType.ts b/src/api/resources/empathicVoice/types/ReturnPromptVersionType.ts index 886274b1..08b65e5e 100644 --- a/src/api/resources/empathicVoice/types/ReturnPromptVersionType.ts +++ b/src/api/resources/empathicVoice/types/ReturnPromptVersionType.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. -/** - * Versioning method for a Prompt. Either `FIXED` for using a fixed version number or `LATEST` for auto-updating to the latest version. - */ -export type ReturnPromptVersionType = "FIXED" | "LATEST"; +/** Versioning method for a Prompt. Either `FIXED` for using a fixed version number or `LATEST` for auto-updating to the latest version. */ export const ReturnPromptVersionType = { Fixed: "FIXED", Latest: "LATEST", } as const; +export type ReturnPromptVersionType = (typeof ReturnPromptVersionType)[keyof typeof ReturnPromptVersionType]; diff --git a/src/api/resources/empathicVoice/types/ReturnTimeoutSpec.ts b/src/api/resources/empathicVoice/types/ReturnTimeoutSpec.ts index 4587b1e1..0d0e518c 100644 --- a/src/api/resources/empathicVoice/types/ReturnTimeoutSpec.ts +++ b/src/api/resources/empathicVoice/types/ReturnTimeoutSpec.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 specific timeout configuration to be returned from the server diff --git a/src/api/resources/empathicVoice/types/ReturnTimeoutSpecs.ts b/src/api/resources/empathicVoice/types/ReturnTimeoutSpecs.ts index 84b0d5ab..4de73bbf 100644 --- a/src/api/resources/empathicVoice/types/ReturnTimeoutSpecs.ts +++ b/src/api/resources/empathicVoice/types/ReturnTimeoutSpecs.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * Collection of timeout specifications returned by the server. diff --git a/src/api/resources/empathicVoice/types/ReturnUserDefinedTool.ts b/src/api/resources/empathicVoice/types/ReturnUserDefinedTool.ts index 46a2acc4..3f283699 100644 --- a/src/api/resources/empathicVoice/types/ReturnUserDefinedTool.ts +++ b/src/api/resources/empathicVoice/types/ReturnUserDefinedTool.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * A specific tool version returned from the server diff --git a/src/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.ts b/src/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.ts index 60987d8a..ede7221b 100644 --- a/src/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.ts +++ b/src/api/resources/empathicVoice/types/ReturnUserDefinedToolToolType.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 Tool. Either `BUILTIN` for natively implemented tools, like web search, or `FUNCTION` for user-defined tools. - */ -export type ReturnUserDefinedToolToolType = "BUILTIN" | "FUNCTION"; +/** Type of Tool. Either `BUILTIN` for natively implemented tools, like web search, or `FUNCTION` for user-defined tools. */ export const ReturnUserDefinedToolToolType = { Builtin: "BUILTIN", Function: "FUNCTION", } as const; +export type ReturnUserDefinedToolToolType = + (typeof ReturnUserDefinedToolToolType)[keyof typeof ReturnUserDefinedToolToolType]; diff --git a/src/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.ts b/src/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.ts index cfd6c276..3082fa0d 100644 --- a/src/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.ts +++ b/src/api/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.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. -/** - * Versioning method for a Tool. Either `FIXED` for using a fixed version number or `LATEST` for auto-updating to the latest version. - */ -export type ReturnUserDefinedToolVersionType = "FIXED" | "LATEST"; +/** Versioning method for a Tool. Either `FIXED` for using a fixed version number or `LATEST` for auto-updating to the latest version. */ export const ReturnUserDefinedToolVersionType = { Fixed: "FIXED", Latest: "LATEST", } as const; +export type ReturnUserDefinedToolVersionType = + (typeof ReturnUserDefinedToolVersionType)[keyof typeof ReturnUserDefinedToolVersionType]; diff --git a/src/api/resources/empathicVoice/types/ReturnVoice.ts b/src/api/resources/empathicVoice/types/ReturnVoice.ts index aa65c34c..4d207513 100644 --- a/src/api/resources/empathicVoice/types/ReturnVoice.ts +++ b/src/api/resources/empathicVoice/types/ReturnVoice.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * An Octave voice available for text-to-speech diff --git a/src/api/resources/empathicVoice/types/ReturnWebhookEventType.ts b/src/api/resources/empathicVoice/types/ReturnWebhookEventType.ts index 6c58b55b..805c6b90 100644 --- a/src/api/resources/empathicVoice/types/ReturnWebhookEventType.ts +++ b/src/api/resources/empathicVoice/types/ReturnWebhookEventType.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. -/** - * Events this URL is subscribed to - */ -export type ReturnWebhookEventType = "chat_started" | "chat_ended"; +/** Events this URL is subscribed to */ export const ReturnWebhookEventType = { ChatStarted: "chat_started", ChatEnded: "chat_ended", } as const; +export type ReturnWebhookEventType = (typeof ReturnWebhookEventType)[keyof typeof ReturnWebhookEventType]; diff --git a/src/api/resources/empathicVoice/types/ReturnWebhookSpec.ts b/src/api/resources/empathicVoice/types/ReturnWebhookSpec.ts index 2ca694bf..edea1149 100644 --- a/src/api/resources/empathicVoice/types/ReturnWebhookSpec.ts +++ b/src/api/resources/empathicVoice/types/ReturnWebhookSpec.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * Collection of webhook URL endpoints to be returned from the server diff --git a/src/api/resources/empathicVoice/types/Role.ts b/src/api/resources/empathicVoice/types/Role.ts index c63a431a..cd8ffa16 100644 --- a/src/api/resources/empathicVoice/types/Role.ts +++ b/src/api/resources/empathicVoice/types/Role.ts @@ -1,8 +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 Role = "assistant" | "system" | "user" | "all" | "tool"; export const Role = { Assistant: "assistant", System: "system", @@ -10,3 +7,4 @@ export const Role = { All: "all", Tool: "tool", } as const; +export type Role = (typeof Role)[keyof typeof Role]; diff --git a/src/api/resources/empathicVoice/types/SessionSettings.ts b/src/api/resources/empathicVoice/types/SessionSettings.ts index c09b2196..ea986179 100644 --- a/src/api/resources/empathicVoice/types/SessionSettings.ts +++ b/src/api/resources/empathicVoice/types/SessionSettings.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * Settings for this chat session. diff --git a/src/api/resources/empathicVoice/types/SessionSettingsVariablesValue.ts b/src/api/resources/empathicVoice/types/SessionSettingsVariablesValue.ts index 73b99ec9..4064d435 100644 --- a/src/api/resources/empathicVoice/types/SessionSettingsVariablesValue.ts +++ b/src/api/resources/empathicVoice/types/SessionSettingsVariablesValue.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 SessionSettingsVariablesValue = string | number | boolean; diff --git a/src/api/resources/empathicVoice/types/Tool.ts b/src/api/resources/empathicVoice/types/Tool.ts index b6568976..fde5ad28 100644 --- a/src/api/resources/empathicVoice/types/Tool.ts +++ b/src/api/resources/empathicVoice/types/Tool.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface Tool { /** An optional description of what the tool does, used by the supplemental LLM to choose when and how to call the function. */ diff --git a/src/api/resources/empathicVoice/types/ToolCallMessage.ts b/src/api/resources/empathicVoice/types/ToolCallMessage.ts index 972e4c35..0e8f9dd2 100644 --- a/src/api/resources/empathicVoice/types/ToolCallMessage.ts +++ b/src/api/resources/empathicVoice/types/ToolCallMessage.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * When provided, the output is a tool call. diff --git a/src/api/resources/empathicVoice/types/ToolErrorMessage.ts b/src/api/resources/empathicVoice/types/ToolErrorMessage.ts index 1ed4cf6c..50ddf6f7 100644 --- a/src/api/resources/empathicVoice/types/ToolErrorMessage.ts +++ b/src/api/resources/empathicVoice/types/ToolErrorMessage.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * When provided, the output is a function call error. diff --git a/src/api/resources/empathicVoice/types/ToolResponseMessage.ts b/src/api/resources/empathicVoice/types/ToolResponseMessage.ts index 73ca1dc5..7d3ac5e9 100644 --- a/src/api/resources/empathicVoice/types/ToolResponseMessage.ts +++ b/src/api/resources/empathicVoice/types/ToolResponseMessage.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * When provided, the output is a function call response. diff --git a/src/api/resources/empathicVoice/types/ToolType.ts b/src/api/resources/empathicVoice/types/ToolType.ts index 3a9bcce9..b311d216 100644 --- a/src/api/resources/empathicVoice/types/ToolType.ts +++ b/src/api/resources/empathicVoice/types/ToolType.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 ToolType = "builtin" | "function"; export const ToolType = { Builtin: "builtin", Function: "function", } as const; +export type ToolType = (typeof ToolType)[keyof typeof ToolType]; diff --git a/src/api/resources/empathicVoice/types/UserInput.ts b/src/api/resources/empathicVoice/types/UserInput.ts index 3e1d6cd3..267a7a04 100644 --- a/src/api/resources/empathicVoice/types/UserInput.ts +++ b/src/api/resources/empathicVoice/types/UserInput.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. /** * User text to insert into the conversation. Text sent through a User Input message is treated as the user's speech to EVI. EVI processes this input and provides a corresponding response. diff --git a/src/api/resources/empathicVoice/types/UserInterruption.ts b/src/api/resources/empathicVoice/types/UserInterruption.ts index 72073eff..9b701b5e 100644 --- a/src/api/resources/empathicVoice/types/UserInterruption.ts +++ b/src/api/resources/empathicVoice/types/UserInterruption.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. /** * When provided, the output is an interruption. diff --git a/src/api/resources/empathicVoice/types/UserMessage.ts b/src/api/resources/empathicVoice/types/UserMessage.ts index bd741572..969ac9aa 100644 --- a/src/api/resources/empathicVoice/types/UserMessage.ts +++ b/src/api/resources/empathicVoice/types/UserMessage.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * When provided, the output is a user message. diff --git a/src/api/resources/empathicVoice/types/ValidationError.ts b/src/api/resources/empathicVoice/types/ValidationError.ts index 92d376ee..d07ddac4 100644 --- a/src/api/resources/empathicVoice/types/ValidationError.ts +++ b/src/api/resources/empathicVoice/types/ValidationError.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface ValidationError { loc: Hume.empathicVoice.ValidationErrorLocItem[]; diff --git a/src/api/resources/empathicVoice/types/ValidationErrorLocItem.ts b/src/api/resources/empathicVoice/types/ValidationErrorLocItem.ts index c97f7dbe..f27b2030 100644 --- a/src/api/resources/empathicVoice/types/ValidationErrorLocItem.ts +++ b/src/api/resources/empathicVoice/types/ValidationErrorLocItem.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 ValidationErrorLocItem = string | number; diff --git a/src/api/resources/empathicVoice/types/VoiceId.ts b/src/api/resources/empathicVoice/types/VoiceId.ts index b49ff20b..1b16fd8c 100644 --- a/src/api/resources/empathicVoice/types/VoiceId.ts +++ b/src/api/resources/empathicVoice/types/VoiceId.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface VoiceId { /** ID of the voice in the `Voice Library`. */ diff --git a/src/api/resources/empathicVoice/types/VoiceName.ts b/src/api/resources/empathicVoice/types/VoiceName.ts index c6bcbdc4..cdf8ab23 100644 --- a/src/api/resources/empathicVoice/types/VoiceName.ts +++ b/src/api/resources/empathicVoice/types/VoiceName.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface VoiceName { /** Name of the voice in the `Voice Library`. */ diff --git a/src/api/resources/empathicVoice/types/VoiceProvider.ts b/src/api/resources/empathicVoice/types/VoiceProvider.ts index 2c2f5cc2..da6ee1cb 100644 --- a/src/api/resources/empathicVoice/types/VoiceProvider.ts +++ b/src/api/resources/empathicVoice/types/VoiceProvider.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 VoiceProvider = "HUME_AI" | "CUSTOM_VOICE"; export const VoiceProvider = { HumeAi: "HUME_AI", CustomVoice: "CUSTOM_VOICE", } as const; +export type VoiceProvider = (typeof VoiceProvider)[keyof typeof VoiceProvider]; diff --git a/src/api/resources/empathicVoice/types/VoiceRef.ts b/src/api/resources/empathicVoice/types/VoiceRef.ts index 60a2a0a5..b68305c8 100644 --- a/src/api/resources/empathicVoice/types/VoiceRef.ts +++ b/src/api/resources/empathicVoice/types/VoiceRef.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export type VoiceRef = Hume.empathicVoice.VoiceId | Hume.empathicVoice.VoiceName; diff --git a/src/api/resources/empathicVoice/types/WebSocketError.ts b/src/api/resources/empathicVoice/types/WebSocketError.ts index 20cabac8..9864cf83 100644 --- a/src/api/resources/empathicVoice/types/WebSocketError.ts +++ b/src/api/resources/empathicVoice/types/WebSocketError.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. /** * When provided, the output is an error message. diff --git a/src/api/resources/empathicVoice/types/WebhookEvent.ts b/src/api/resources/empathicVoice/types/WebhookEvent.ts index 52617d0a..f1c9b923 100644 --- a/src/api/resources/empathicVoice/types/WebhookEvent.ts +++ b/src/api/resources/empathicVoice/types/WebhookEvent.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export type WebhookEvent = Hume.empathicVoice.WebhookEventChatStarted | Hume.empathicVoice.WebhookEventChatEnded; diff --git a/src/api/resources/empathicVoice/types/WebhookEventBase.ts b/src/api/resources/empathicVoice/types/WebhookEventBase.ts index 6270a170..c201a16f 100644 --- a/src/api/resources/empathicVoice/types/WebhookEventBase.ts +++ b/src/api/resources/empathicVoice/types/WebhookEventBase.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. /** * Represents the fields common to all webhook events. diff --git a/src/api/resources/empathicVoice/types/WebhookEventChatEnded.ts b/src/api/resources/empathicVoice/types/WebhookEventChatEnded.ts index 29379eb5..1371f1fc 100644 --- a/src/api/resources/empathicVoice/types/WebhookEventChatEnded.ts +++ b/src/api/resources/empathicVoice/types/WebhookEventChatEnded.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface WebhookEventChatEnded extends Hume.empathicVoice.WebhookEventBase { /** Phone number of the caller in E.164 format (e.g., `+12223333333`). This field is included only if the Chat was created via the [Twilio phone calling](/docs/empathic-voice-interface-evi/phone-calling) integration. */ diff --git a/src/api/resources/empathicVoice/types/WebhookEventChatStartType.ts b/src/api/resources/empathicVoice/types/WebhookEventChatStartType.ts index c9b0c5c0..a622d2af 100644 --- a/src/api/resources/empathicVoice/types/WebhookEventChatStartType.ts +++ b/src/api/resources/empathicVoice/types/WebhookEventChatStartType.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 WebhookEventChatStartType = "new_chat_group" | "resumed_chat_group"; export const WebhookEventChatStartType = { NewChatGroup: "new_chat_group", ResumedChatGroup: "resumed_chat_group", } as const; +export type WebhookEventChatStartType = (typeof WebhookEventChatStartType)[keyof typeof WebhookEventChatStartType]; diff --git a/src/api/resources/empathicVoice/types/WebhookEventChatStarted.ts b/src/api/resources/empathicVoice/types/WebhookEventChatStarted.ts index 20a7a49e..8e36eeb9 100644 --- a/src/api/resources/empathicVoice/types/WebhookEventChatStarted.ts +++ b/src/api/resources/empathicVoice/types/WebhookEventChatStarted.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface WebhookEventChatStarted extends Hume.empathicVoice.WebhookEventBase { /** Phone number of the caller in E.164 format (e.g., `+12223333333`). This field is included only if the Chat was created via the [Twilio phone calling](/docs/empathic-voice-interface-evi/phone-calling) integration. */ diff --git a/src/api/resources/empathicVoice/types/WebhookEventChatStatus.ts b/src/api/resources/empathicVoice/types/WebhookEventChatStatus.ts index 1b899327..d4844e01 100644 --- a/src/api/resources/empathicVoice/types/WebhookEventChatStatus.ts +++ b/src/api/resources/empathicVoice/types/WebhookEventChatStatus.ts @@ -1,15 +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 WebhookEventChatStatus = - | "ACTIVE" - | "USER_ENDED" - | "USER_TIMEOUT" - | "INACTIVITY_TIMEOUT" - | "MAX_DURATION_TIMEOUT" - | "SILENCE_TIMEOUT" - | "ERROR"; export const WebhookEventChatStatus = { Active: "ACTIVE", UserEnded: "USER_ENDED", @@ -19,3 +9,4 @@ export const WebhookEventChatStatus = { SilenceTimeout: "SILENCE_TIMEOUT", Error: "ERROR", } as const; +export type WebhookEventChatStatus = (typeof WebhookEventChatStatus)[keyof typeof WebhookEventChatStatus]; diff --git a/src/api/resources/empathicVoice/types/index.ts b/src/api/resources/empathicVoice/types/index.ts index 77ef6647..891da4da 100644 --- a/src/api/resources/empathicVoice/types/index.ts +++ b/src/api/resources/empathicVoice/types/index.ts @@ -7,23 +7,89 @@ export * from "./AudioInput.js"; export * from "./AudioOutput.js"; export * from "./BuiltInTool.js"; export * from "./BuiltinToolConfig.js"; -export * from "./ChatMessageToolResult.js"; export * from "./ChatMessage.js"; +export * from "./ChatMessageToolResult.js"; export * from "./ChatMetadata.js"; +export * from "./ConnectSessionSettings.js"; +export * from "./ConnectSessionSettingsAudio.js"; +export * from "./ConnectSessionSettingsContext.js"; +export * from "./ConnectSessionSettingsVariablesValue.js"; export * from "./Context.js"; export * from "./ContextType.js"; export * from "./EmotionScores.js"; export * from "./Encoding.js"; -export * from "./WebSocketError.js"; export * from "./ErrorLevel.js"; +export * from "./ErrorResponse.js"; +export * from "./HttpValidationError.js"; export * from "./Inference.js"; +export * from "./JsonMessage.js"; +export * from "./LanguageModelType.js"; export * from "./MillisecondInterval.js"; +export * from "./ModelProviderEnum.js"; export * from "./PauseAssistantMessage.js"; +export * from "./PostedBuiltinTool.js"; +export * from "./PostedBuiltinToolName.js"; +export * from "./PostedConfigPromptSpec.js"; +export * from "./PostedEllmModel.js"; +export * from "./PostedEventMessageSpec.js"; +export * from "./PostedEventMessageSpecs.js"; +export * from "./PostedLanguageModel.js"; +export * from "./PostedNudgeSpec.js"; +export * from "./PostedTimeoutSpec.js"; +export * from "./PostedTimeoutSpecs.js"; +export * from "./PostedTimeoutSpecsInactivity.js"; +export * from "./PostedTimeoutSpecsMaxDuration.js"; +export * from "./PostedUserDefinedToolSpec.js"; +export * from "./PostedWebhookEventType.js"; +export * from "./PostedWebhookSpec.js"; export * from "./ProsodyInference.js"; export * from "./ResumeAssistantMessage.js"; +export * from "./ReturnBuiltinTool.js"; +export * from "./ReturnBuiltinToolToolType.js"; +export * from "./ReturnChat.js"; +export * from "./ReturnChatAudioReconstruction.js"; +export * from "./ReturnChatAudioReconstructionStatus.js"; +export * from "./ReturnChatEvent.js"; +export * from "./ReturnChatEventRole.js"; +export * from "./ReturnChatEventType.js"; +export * from "./ReturnChatGroup.js"; +export * from "./ReturnChatGroupPagedAudioReconstructions.js"; +export * from "./ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js"; +export * from "./ReturnChatGroupPagedChats.js"; +export * from "./ReturnChatGroupPagedChatsPaginationDirection.js"; +export * from "./ReturnChatGroupPagedEvents.js"; +export * from "./ReturnChatGroupPagedEventsPaginationDirection.js"; +export * from "./ReturnChatPagedEvents.js"; +export * from "./ReturnChatPagedEventsPaginationDirection.js"; +export * from "./ReturnChatPagedEventsStatus.js"; +export * from "./ReturnChatStatus.js"; +export * from "./ReturnConfig.js"; +export * from "./ReturnConfigSpec.js"; +export * from "./ReturnEllmModel.js"; +export * from "./ReturnEventMessageSpec.js"; +export * from "./ReturnEventMessageSpecs.js"; +export * from "./ReturnLanguageModel.js"; +export * from "./ReturnNudgeSpec.js"; +export * from "./ReturnPagedChatGroups.js"; +export * from "./ReturnPagedChatGroupsPaginationDirection.js"; +export * from "./ReturnPagedChats.js"; +export * from "./ReturnPagedChatsPaginationDirection.js"; +export * from "./ReturnPagedConfigs.js"; +export * from "./ReturnPagedPrompts.js"; +export * from "./ReturnPagedUserDefinedTools.js"; +export * from "./ReturnPrompt.js"; +export * from "./ReturnPromptVersionType.js"; +export * from "./ReturnTimeoutSpec.js"; +export * from "./ReturnTimeoutSpecs.js"; +export * from "./ReturnUserDefinedTool.js"; +export * from "./ReturnUserDefinedToolToolType.js"; +export * from "./ReturnUserDefinedToolVersionType.js"; +export * from "./ReturnVoice.js"; +export * from "./ReturnWebhookEventType.js"; +export * from "./ReturnWebhookSpec.js"; export * from "./Role.js"; -export * from "./SessionSettingsVariablesValue.js"; export * from "./SessionSettings.js"; +export * from "./SessionSettingsVariablesValue.js"; export * from "./Tool.js"; export * from "./ToolCallMessage.js"; export * from "./ToolErrorMessage.js"; @@ -32,82 +98,16 @@ export * from "./ToolType.js"; export * from "./UserInput.js"; export * from "./UserInterruption.js"; export * from "./UserMessage.js"; -export * from "./JsonMessage.js"; -export * from "./ConnectSessionSettingsAudio.js"; -export * from "./ConnectSessionSettingsContext.js"; -export * from "./ConnectSessionSettingsVariablesValue.js"; -export * from "./ConnectSessionSettings.js"; -export * from "./HttpValidationError.js"; -export * from "./LanguageModelType.js"; -export * from "./ModelProviderEnum.js"; -export * from "./ValidationErrorLocItem.js"; export * from "./ValidationError.js"; +export * from "./ValidationErrorLocItem.js"; export * from "./VoiceId.js"; export * from "./VoiceName.js"; -export * from "./WebhookEventBase.js"; +export * from "./VoiceProvider.js"; +export * from "./VoiceRef.js"; export * from "./WebhookEvent.js"; +export * from "./WebhookEventBase.js"; export * from "./WebhookEventChatEnded.js"; -export * from "./WebhookEventChatStartType.js"; export * from "./WebhookEventChatStarted.js"; +export * from "./WebhookEventChatStartType.js"; export * from "./WebhookEventChatStatus.js"; -export * from "./ErrorResponse.js"; -export * from "./ReturnPagedUserDefinedTools.js"; -export * from "./ReturnUserDefinedToolToolType.js"; -export * from "./ReturnUserDefinedToolVersionType.js"; -export * from "./ReturnUserDefinedTool.js"; -export * from "./ReturnPagedPrompts.js"; -export * from "./ReturnPrompt.js"; -export * from "./ReturnPagedConfigs.js"; -export * from "./ReturnConfig.js"; -export * from "./ReturnPagedChatsPaginationDirection.js"; -export * from "./ReturnPagedChats.js"; -export * from "./ReturnChatPagedEventsStatus.js"; -export * from "./ReturnChatPagedEventsPaginationDirection.js"; -export * from "./ReturnChatPagedEvents.js"; -export * from "./ReturnChatAudioReconstructionStatus.js"; -export * from "./ReturnChatAudioReconstruction.js"; -export * from "./ReturnPagedChatGroupsPaginationDirection.js"; -export * from "./ReturnPagedChatGroups.js"; -export * from "./ReturnChatGroupPagedChatsPaginationDirection.js"; -export * from "./ReturnChatGroupPagedChats.js"; -export * from "./ReturnChatGroupPagedEventsPaginationDirection.js"; -export * from "./ReturnChatGroupPagedEvents.js"; -export * from "./ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js"; -export * from "./ReturnChatGroupPagedAudioReconstructions.js"; -export * from "./ReturnPromptVersionType.js"; -export * from "./PostedConfigPromptSpec.js"; -export * from "./PostedLanguageModel.js"; -export * from "./PostedEllmModel.js"; -export * from "./PostedUserDefinedToolSpec.js"; -export * from "./PostedBuiltinToolName.js"; -export * from "./PostedBuiltinTool.js"; -export * from "./PostedEventMessageSpecs.js"; -export * from "./PostedNudgeSpec.js"; -export * from "./PostedTimeoutSpecsInactivity.js"; -export * from "./PostedTimeoutSpecsMaxDuration.js"; -export * from "./PostedTimeoutSpecs.js"; -export * from "./PostedWebhookEventType.js"; -export * from "./PostedWebhookSpec.js"; -export * from "./ReturnLanguageModel.js"; -export * from "./ReturnEllmModel.js"; -export * from "./ReturnBuiltinToolToolType.js"; -export * from "./ReturnBuiltinTool.js"; -export * from "./ReturnEventMessageSpecs.js"; -export * from "./ReturnTimeoutSpecs.js"; -export * from "./ReturnNudgeSpec.js"; -export * from "./ReturnWebhookEventType.js"; -export * from "./ReturnWebhookSpec.js"; -export * from "./ReturnChatStatus.js"; -export * from "./ReturnChat.js"; -export * from "./ReturnChatEventRole.js"; -export * from "./ReturnChatEventType.js"; -export * from "./ReturnChatEvent.js"; -export * from "./ReturnConfigSpec.js"; -export * from "./ReturnChatGroup.js"; -export * from "./PostedEventMessageSpec.js"; -export * from "./PostedTimeoutSpec.js"; -export * from "./ReturnEventMessageSpec.js"; -export * from "./ReturnTimeoutSpec.js"; -export * from "./VoiceRef.js"; -export * from "./ReturnVoice.js"; -export * from "./VoiceProvider.js"; +export * from "./WebSocketError.js"; diff --git a/src/api/resources/expressionMeasurement/client/Client.ts b/src/api/resources/expressionMeasurement/client/Client.ts index 65737800..920ea7c4 100644 --- a/src/api/resources/expressionMeasurement/client/Client.ts +++ b/src/api/resources/expressionMeasurement/client/Client.ts @@ -1,21 +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 environments from "../../../../environments.js"; -import * as core from "../../../../core/index.js"; +import type { BaseClientOptions } from "../../../../BaseClient.js"; import { Batch } from "../resources/batch/client/Client.js"; export declare namespace ExpressionMeasurement { - export interface Options { - environment?: core.Supplier; - /** Specify a custom URL to connect the client to. */ - baseUrl?: core.Supplier; - apiKey?: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | null | undefined>; - fetcher?: core.FetchFunction; - } + export interface Options extends BaseClientOptions {} } export class ExpressionMeasurement { diff --git a/src/api/resources/expressionMeasurement/index.ts b/src/api/resources/expressionMeasurement/index.ts index 02bb7065..9eb1192d 100644 --- a/src/api/resources/expressionMeasurement/index.ts +++ b/src/api/resources/expressionMeasurement/index.ts @@ -1,2 +1,2 @@ -export * from "./resources/index.js"; export * from "./client/index.js"; +export * from "./resources/index.js"; diff --git a/src/api/resources/expressionMeasurement/resources/batch/client/Client.ts b/src/api/resources/expressionMeasurement/resources/batch/client/Client.ts index 9607ab2d..ce039f5f 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/client/Client.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/client/Client.ts @@ -1,39 +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 Hume 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 errors from "../../../../../../errors/index.js"; -import * as fs from "fs"; +import * as core from "../../../../../../core/index.js"; import { toJson } from "../../../../../../core/json.js"; +import * as environments from "../../../../../../environments.js"; +import * as errors from "../../../../../../errors/index.js"; +import * as serializers from "../../../../../../serialization/index.js"; +import type * as Hume from "../../../../../index.js"; export declare namespace Batch { - export interface Options { - environment?: core.Supplier; - /** Specify a custom URL to connect the client to. */ - baseUrl?: core.Supplier; - apiKey?: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | null | undefined>; - fetcher?: core.FetchFunction; - } + export interface Options extends BaseClientOptions {} - 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; - /** Additional query string parameters to include in the request. */ - queryParams?: Record; - /** Additional headers to include in the request. */ - headers?: Record | null | undefined>; - } + export interface RequestOptions extends BaseRequestOptions {} } export class Batch { @@ -66,19 +45,19 @@ export class Batch { const { limit, status, when, timestampMs, sortBy, direction } = request; const _queryParams: Record = {}; if (limit != null) { - _queryParams["limit"] = limit.toString(); + _queryParams.limit = limit.toString(); } if (status != null) { if (Array.isArray(status)) { - _queryParams["status"] = status.map((item) => + _queryParams.status = status.map((item) => serializers.expressionMeasurement.batch.Status.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", omitUndefined: true, }), ); } else { - _queryParams["status"] = serializers.expressionMeasurement.batch.Status.jsonOrThrow(status, { + _queryParams.status = serializers.expressionMeasurement.batch.Status.jsonOrThrow(status, { unrecognizedObjectKeys: "strip", omitUndefined: true, }); @@ -86,31 +65,31 @@ export class Batch { } if (when != null) { - _queryParams["when"] = serializers.expressionMeasurement.batch.When.jsonOrThrow(when, { + _queryParams.when = serializers.expressionMeasurement.batch.When.jsonOrThrow(when, { unrecognizedObjectKeys: "strip", omitUndefined: true, }); } if (timestampMs != null) { - _queryParams["timestamp_ms"] = timestampMs.toString(); + _queryParams.timestamp_ms = timestampMs.toString(); } if (sortBy != null) { - _queryParams["sort_by"] = serializers.expressionMeasurement.batch.SortBy.jsonOrThrow(sortBy, { + _queryParams.sort_by = serializers.expressionMeasurement.batch.SortBy.jsonOrThrow(sortBy, { unrecognizedObjectKeys: "strip", omitUndefined: true, }); } if (direction != null) { - _queryParams["direction"] = serializers.expressionMeasurement.batch.Direction.jsonOrThrow(direction, { + _queryParams.direction = serializers.expressionMeasurement.batch.Direction.jsonOrThrow(direction, { unrecognizedObjectKeys: "strip", omitUndefined: true, }); } - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -124,8 +103,8 @@ export class Batch { method: "GET", headers: _headers, queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - 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, }); if (_response.ok) { @@ -189,7 +168,7 @@ export class Batch { request: Hume.expressionMeasurement.batch.InferenceBaseRequest, requestOptions?: Batch.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -209,8 +188,8 @@ export class Batch { 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, }); if (_response.ok) { @@ -271,7 +250,7 @@ export class Batch { id: string, requestOptions?: Batch.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -280,13 +259,13 @@ export class Batch { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/batch/jobs/${encodeURIComponent(id)}`, + `v0/batch/jobs/${core.url.encodePathParam(id)}`, ), method: "GET", headers: _headers, queryParameters: requestOptions?.queryParams, - 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, }); if (_response.ok) { @@ -347,7 +326,7 @@ export class Batch { id: string, requestOptions?: Batch.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -356,13 +335,13 @@ export class Batch { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/batch/jobs/${encodeURIComponent(id)}/predictions`, + `v0/batch/jobs/${core.url.encodePathParam(id)}/predictions`, ), method: "GET", headers: _headers, queryParameters: requestOptions?.queryParams, - 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, }); if (_response.ok) { @@ -417,7 +396,7 @@ export class Batch { id: string, requestOptions?: Batch.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -426,14 +405,14 @@ export class Batch { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).base, - `v0/batch/jobs/${encodeURIComponent(id)}/artifacts`, + `v0/batch/jobs/${core.url.encodePathParam(id)}/artifacts`, ), method: "GET", 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, }); if (_response.ok) { @@ -506,7 +485,7 @@ export class Batch { } const _maybeEncodedRequest = await _request.getRequest(); - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()), @@ -526,8 +505,8 @@ export class Batch { requestType: "file", duplex: _maybeEncodedRequest.duplex, body: _maybeEncodedRequest.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, }); if (_response.ok) { @@ -568,7 +547,7 @@ export class Batch { } } - protected async _getCustomAuthorizationHeaders() { + protected async _getCustomAuthorizationHeaders(): Promise> { const apiKeyValue = await core.Supplier.get(this._options.apiKey); return { "X-Hume-Api-Key": apiKeyValue }; } diff --git a/src/api/resources/expressionMeasurement/resources/batch/client/index.ts b/src/api/resources/expressionMeasurement/resources/batch/client/index.ts index 82648c6f..195f9aa8 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/client/index.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/client/index.ts @@ -1,2 +1 @@ -export {}; export * from "./requests/index.js"; diff --git a/src/api/resources/expressionMeasurement/resources/batch/client/requests/BatchListJobsRequest.ts b/src/api/resources/expressionMeasurement/resources/batch/client/requests/BatchListJobsRequest.ts index d9a33c8a..3ad23b30 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/client/requests/BatchListJobsRequest.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/client/requests/BatchListJobsRequest.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 Hume from "../../../../../../index.js"; +import type * as Hume from "../../../../../../index.js"; /** * @example diff --git a/src/api/resources/expressionMeasurement/resources/batch/client/requests/BatchStartInferenceJobFromLocalFileRequest.ts b/src/api/resources/expressionMeasurement/resources/batch/client/requests/BatchStartInferenceJobFromLocalFileRequest.ts index 394d68bc..0e27f33d 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/client/requests/BatchStartInferenceJobFromLocalFileRequest.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/client/requests/BatchStartInferenceJobFromLocalFileRequest.ts @@ -1,10 +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 * as fs from "fs"; -import * as Hume from "../../../../../../index.js"; -import * as core from "../../../../../../../core/index.js"; +import type * as core from "../../../../../../../core/index.js"; +import type * as Hume from "../../../../../../index.js"; /** * @example @@ -20,5 +17,5 @@ export interface BatchStartInferenceJobFromLocalFileRequest { * * If you wish to supply more than 100 files, consider providing them as an archive (`.zip`, `.tar.gz`, `.tar.bz2`, `.tar.xz`). */ - file: core.file.Uploadable.FileLike[]; + file: core.file.Uploadable[]; } diff --git a/src/api/resources/expressionMeasurement/resources/batch/client/requests/index.ts b/src/api/resources/expressionMeasurement/resources/batch/client/requests/index.ts index 25643729..ef2dac7d 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/client/requests/index.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/client/requests/index.ts @@ -1,2 +1,2 @@ -export { type BatchListJobsRequest } from "./BatchListJobsRequest.js"; -export { type BatchStartInferenceJobFromLocalFileRequest } from "./BatchStartInferenceJobFromLocalFileRequest.js"; +export type { BatchListJobsRequest } from "./BatchListJobsRequest.js"; +export type { BatchStartInferenceJobFromLocalFileRequest } from "./BatchStartInferenceJobFromLocalFileRequest.js"; diff --git a/src/api/resources/expressionMeasurement/resources/batch/index.ts b/src/api/resources/expressionMeasurement/resources/batch/index.ts index f095e147..d9adb1af 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/index.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/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/expressionMeasurement/resources/batch/types/Alternative.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Alternative.ts index d5016452..fe87b797 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Alternative.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Alternative.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 Alternative = "language_only"; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Bcp47Tag.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Bcp47Tag.ts index 9e9af59c..d8410c46 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Bcp47Tag.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Bcp47Tag.ts @@ -1,37 +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 Bcp47Tag = - | "zh" - | "da" - | "nl" - | "en" - | "en-AU" - | "en-IN" - | "en-NZ" - | "en-GB" - | "fr" - | "fr-CA" - | "de" - | "hi" - | "hi-Latn" - | "id" - | "it" - | "ja" - | "ko" - | "no" - | "pl" - | "pt" - | "pt-BR" - | "pt-PT" - | "ru" - | "es" - | "es-419" - | "sv" - | "ta" - | "tr" - | "uk"; export const Bcp47Tag = { Zh: "zh", Da: "da", @@ -63,3 +31,4 @@ export const Bcp47Tag = { Tr: "tr", Uk: "uk", } as const; +export type Bcp47Tag = (typeof Bcp47Tag)[keyof typeof Bcp47Tag]; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/BoundingBox.ts b/src/api/resources/expressionMeasurement/resources/batch/types/BoundingBox.ts index 4de9e38c..2e9b0eac 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/BoundingBox.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/BoundingBox.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 bounding box around a face. diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/BurstPrediction.ts b/src/api/resources/expressionMeasurement/resources/batch/types/BurstPrediction.ts index 6bbbe138..4fc353ef 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/BurstPrediction.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/BurstPrediction.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface BurstPrediction { time: Hume.expressionMeasurement.batch.TimeInterval; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Classification.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Classification.ts index d139019f..8d27e788 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Classification.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Classification.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 Classification = Record; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/CompletedEmbeddingGeneration.ts b/src/api/resources/expressionMeasurement/resources/batch/types/CompletedEmbeddingGeneration.ts index c86a3ed3..b6558eb3 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/CompletedEmbeddingGeneration.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/CompletedEmbeddingGeneration.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 CompletedEmbeddingGeneration { /** When this job was created (Unix timestamp in milliseconds). */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/CompletedInference.ts b/src/api/resources/expressionMeasurement/resources/batch/types/CompletedInference.ts index 8401a0a0..5e375b0b 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/CompletedInference.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/CompletedInference.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 CompletedInference { /** When this job was created (Unix timestamp in milliseconds). */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/CompletedState.ts b/src/api/resources/expressionMeasurement/resources/batch/types/CompletedState.ts index 3c06bd93..2fda5616 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/CompletedState.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/CompletedState.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface CompletedState extends Hume.expressionMeasurement.batch.CompletedInference {} diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/CompletedTlInference.ts b/src/api/resources/expressionMeasurement/resources/batch/types/CompletedTlInference.ts index be1bfb00..ff2fb504 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/CompletedTlInference.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/CompletedTlInference.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 CompletedTlInference { /** When this job was created (Unix timestamp in milliseconds). */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/CompletedTraining.ts b/src/api/resources/expressionMeasurement/resources/batch/types/CompletedTraining.ts index 60bb9929..e711517a 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/CompletedTraining.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/CompletedTraining.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface CompletedTraining { /** When this job was created (Unix timestamp in milliseconds). */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/CustomModel.ts b/src/api/resources/expressionMeasurement/resources/batch/types/CustomModel.ts index 6755979d..a4019696 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/CustomModel.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/CustomModel.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export type CustomModel = | Hume.expressionMeasurement.batch.CustomModelId diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelId.ts b/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelId.ts index d6b380a4..c7e2af44 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelId.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelId.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 CustomModelId { id: string; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelPrediction.ts b/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelPrediction.ts index 782c5ae6..72b93ab3 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelPrediction.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelPrediction.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 CustomModelPrediction { output: Record; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelRequest.ts b/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelRequest.ts index e2ed6e2e..96bfdcaf 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelRequest.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelRequest.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface CustomModelRequest { name: string; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelVersionId.ts b/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelVersionId.ts index 3a323c3e..b714ee65 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelVersionId.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelVersionId.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 CustomModelVersionId { versionId: string; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelsInferenceJob.ts b/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelsInferenceJob.ts index d141e4f7..7d73879a 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelsInferenceJob.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelsInferenceJob.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface CustomModelsInferenceJob extends Hume.expressionMeasurement.batch.JobTlInference { type: string; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelsTrainingJob.ts b/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelsTrainingJob.ts index bcf01a45..5e9f2eba 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelsTrainingJob.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/CustomModelsTrainingJob.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface CustomModelsTrainingJob extends Hume.expressionMeasurement.batch.JobTraining { type: string; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Dataset.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Dataset.ts index 3950b851..b54b4fdc 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Dataset.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Dataset.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export type Dataset = Hume.expressionMeasurement.batch.DatasetId | Hume.expressionMeasurement.batch.DatasetVersionId; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/DatasetId.ts b/src/api/resources/expressionMeasurement/resources/batch/types/DatasetId.ts index 77dfeeae..c00fd05a 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/DatasetId.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/DatasetId.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 DatasetId { id: string; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/DatasetVersionId.ts b/src/api/resources/expressionMeasurement/resources/batch/types/DatasetVersionId.ts index 1ed085f8..1327cd2d 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/DatasetVersionId.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/DatasetVersionId.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 DatasetVersionId { versionId: string; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/DescriptionsScore.ts b/src/api/resources/expressionMeasurement/resources/batch/types/DescriptionsScore.ts index a2f59b22..338d184b 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/DescriptionsScore.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/DescriptionsScore.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 DescriptionsScore { /** Name of the descriptive feature being expressed. */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Direction.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Direction.ts index 3ddbc86a..f21570bf 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Direction.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Direction.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 Direction = "asc" | "desc"; export const Direction = { Asc: "asc", Desc: "desc", } as const; +export type Direction = (typeof Direction)[keyof typeof Direction]; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/EmbeddingGenerationBaseRequest.ts b/src/api/resources/expressionMeasurement/resources/batch/types/EmbeddingGenerationBaseRequest.ts index 858d9e39..2c83743d 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/EmbeddingGenerationBaseRequest.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/EmbeddingGenerationBaseRequest.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface EmbeddingGenerationBaseRequest { /** File ID and File URL pairs for an asset registry file */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/EmbeddingGenerationJob.ts b/src/api/resources/expressionMeasurement/resources/batch/types/EmbeddingGenerationJob.ts index 9ef1aad6..92a64669 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/EmbeddingGenerationJob.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/EmbeddingGenerationJob.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface EmbeddingGenerationJob extends Hume.expressionMeasurement.batch.JobEmbeddingGeneration { type: string; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/EmotionScore.ts b/src/api/resources/expressionMeasurement/resources/batch/types/EmotionScore.ts index 72582474..f6529a93 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/EmotionScore.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/EmotionScore.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 EmotionScore { /** Name of the emotion being expressed. */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Error_.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Error_.ts index 71467c93..b8ec2212 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Error_.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Error_.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 Error_ { /** An error message. */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/EvaluationArgs.ts b/src/api/resources/expressionMeasurement/resources/batch/types/EvaluationArgs.ts index 0c05d8e6..6f1e3595 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/EvaluationArgs.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/EvaluationArgs.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface EvaluationArgs { validation?: Hume.expressionMeasurement.batch.ValidationArgs; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Face.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Face.ts index f3ca01f3..4596b9e3 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Face.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Face.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; /** * The Facial Emotional Expression model analyzes human facial expressions in images and videos. Results will be provided per frame for video files. diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/FacePrediction.ts b/src/api/resources/expressionMeasurement/resources/batch/types/FacePrediction.ts index 5e3b9652..8a441c81 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/FacePrediction.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/FacePrediction.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface FacePrediction { /** Frame number */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/FacemeshPrediction.ts b/src/api/resources/expressionMeasurement/resources/batch/types/FacemeshPrediction.ts index 9e940e98..37fa981e 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/FacemeshPrediction.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/FacemeshPrediction.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface FacemeshPrediction { /** A high-dimensional embedding in emotion space. */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/FacsScore.ts b/src/api/resources/expressionMeasurement/resources/batch/types/FacsScore.ts index d103bf7f..99111e7f 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/FacsScore.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/FacsScore.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 FacsScore { /** Name of the FACS 2.0 feature being expressed. */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Failed.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Failed.ts index 3c87f8d0..492ed7cb 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Failed.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Failed.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 Failed { /** When this job was created (Unix timestamp in milliseconds). */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/FailedState.ts b/src/api/resources/expressionMeasurement/resources/batch/types/FailedState.ts index 43f152d3..787f9464 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/FailedState.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/FailedState.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface FailedState extends Hume.expressionMeasurement.batch.Failed {} diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/File_.ts b/src/api/resources/expressionMeasurement/resources/batch/types/File_.ts index e6651475..109cfb54 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/File_.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/File_.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. /** * The list of files submitted for analysis. diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Granularity.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Granularity.ts index 7c65d878..50de00f9 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Granularity.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Granularity.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. /** * The granularity at which to generate predictions. The `granularity` field is ignored if transcription is not enabled or if the `window` field has been set. @@ -13,10 +11,10 @@ * * - `conversational_turn`: Conversational turn-level granularity provides a distinct output for each change in speaker. It captures the full sequence of words and sentences spoken uninterrupted by each person. This approach provides a higher-level view of the emotional dynamics in a multi-participant dialogue. For text inputs, specifying conversational turn-level granularity for our Emotional Language model will produce results for the entire passage. */ -export type Granularity = "word" | "sentence" | "utterance" | "conversational_turn"; export const Granularity = { Word: "word", Sentence: "sentence", Utterance: "utterance", ConversationalTurn: "conversational_turn", } as const; +export type Granularity = (typeof Granularity)[keyof typeof Granularity]; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsBurstPrediction.ts b/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsBurstPrediction.ts index f4ac8119..e6b745ca 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsBurstPrediction.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsBurstPrediction.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface GroupedPredictionsBurstPrediction { /** An automatically generated label to identify individuals in your media file. Will be `unknown` if you have chosen to disable identification, or if the model is unable to distinguish between individuals. */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsFacePrediction.ts b/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsFacePrediction.ts index 7c92c8b7..804b8601 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsFacePrediction.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsFacePrediction.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface GroupedPredictionsFacePrediction { /** An automatically generated label to identify individuals in your media file. Will be `unknown` if you have chosen to disable identification, or if the model is unable to distinguish between individuals. */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsFacemeshPrediction.ts b/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsFacemeshPrediction.ts index 678e74a1..9658eddf 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsFacemeshPrediction.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsFacemeshPrediction.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface GroupedPredictionsFacemeshPrediction { /** An automatically generated label to identify individuals in your media file. Will be `unknown` if you have chosen to disable identification, or if the model is unable to distinguish between individuals. */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsLanguagePrediction.ts b/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsLanguagePrediction.ts index 42e34ab5..c6c479c1 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsLanguagePrediction.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsLanguagePrediction.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface GroupedPredictionsLanguagePrediction { /** An automatically generated label to identify individuals in your media file. Will be `unknown` if you have chosen to disable identification, or if the model is unable to distinguish between individuals. */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsNerPrediction.ts b/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsNerPrediction.ts index 6e45db41..6a02163a 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsNerPrediction.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsNerPrediction.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface GroupedPredictionsNerPrediction { /** An automatically generated label to identify individuals in your media file. Will be `unknown` if you have chosen to disable identification, or if the model is unable to distinguish between individuals. */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsProsodyPrediction.ts b/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsProsodyPrediction.ts index ccfec8e3..b66013c5 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsProsodyPrediction.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsProsodyPrediction.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface GroupedPredictionsProsodyPrediction { /** An automatically generated label to identify individuals in your media file. Will be `unknown` if you have chosen to disable identification, or if the model is unable to distinguish between individuals. */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/InProgress.ts b/src/api/resources/expressionMeasurement/resources/batch/types/InProgress.ts index 2bb352ca..63631d97 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/InProgress.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/InProgress.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 InProgress { /** When this job was created (Unix timestamp in milliseconds). */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/InProgressState.ts b/src/api/resources/expressionMeasurement/resources/batch/types/InProgressState.ts index 828c09a8..15e8ebf5 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/InProgressState.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/InProgressState.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface InProgressState extends Hume.expressionMeasurement.batch.InProgress {} diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/InferenceBaseRequest.ts b/src/api/resources/expressionMeasurement/resources/batch/types/InferenceBaseRequest.ts index 8bd36097..e8e30a1c 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/InferenceBaseRequest.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/InferenceBaseRequest.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface InferenceBaseRequest { /** diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/InferenceJob.ts b/src/api/resources/expressionMeasurement/resources/batch/types/InferenceJob.ts index 88cfc1c9..57302d75 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/InferenceJob.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/InferenceJob.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface InferenceJob extends Hume.expressionMeasurement.batch.JobInference { /** diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/InferencePrediction.ts b/src/api/resources/expressionMeasurement/resources/batch/types/InferencePrediction.ts index 0f286adb..575bc9cf 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/InferencePrediction.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/InferencePrediction.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface InferencePrediction { /** A file path relative to the top level source URL or file. */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/InferenceRequest.ts b/src/api/resources/expressionMeasurement/resources/batch/types/InferenceRequest.ts index 84a21c45..de42eb09 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/InferenceRequest.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/InferenceRequest.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface InferenceRequest { models?: Hume.expressionMeasurement.batch.Models; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/InferenceResults.ts b/src/api/resources/expressionMeasurement/resources/batch/types/InferenceResults.ts index ea60ab0a..c76fad6a 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/InferenceResults.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/InferenceResults.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface InferenceResults { predictions: Hume.expressionMeasurement.batch.InferencePrediction[]; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/InferenceSourcePredictResult.ts b/src/api/resources/expressionMeasurement/resources/batch/types/InferenceSourcePredictResult.ts index ccd0e998..9f3f0138 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/InferenceSourcePredictResult.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/InferenceSourcePredictResult.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface InferenceSourcePredictResult { source: Hume.expressionMeasurement.batch.Source; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/JobEmbeddingGeneration.ts b/src/api/resources/expressionMeasurement/resources/batch/types/JobEmbeddingGeneration.ts index d97a5c3a..c74a4240 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/JobEmbeddingGeneration.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/JobEmbeddingGeneration.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface JobEmbeddingGeneration { /** The ID associated with this job. */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/JobId.ts b/src/api/resources/expressionMeasurement/resources/batch/types/JobId.ts index 866fd4e3..ded9d006 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/JobId.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/JobId.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 JobId { /** The ID of the started job. */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/JobInference.ts b/src/api/resources/expressionMeasurement/resources/batch/types/JobInference.ts index 84b9ddc0..a6d7aec0 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/JobInference.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/JobInference.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface JobInference { /** The ID associated with this job. */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/JobTlInference.ts b/src/api/resources/expressionMeasurement/resources/batch/types/JobTlInference.ts index 86db61ab..293499a6 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/JobTlInference.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/JobTlInference.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface JobTlInference { /** The ID associated with this job. */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/JobTraining.ts b/src/api/resources/expressionMeasurement/resources/batch/types/JobTraining.ts index 287606e5..995fa373 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/JobTraining.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/JobTraining.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface JobTraining { /** The ID associated with this job. */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Language.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Language.ts index 83ffc5e0..99b15d14 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Language.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Language.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; /** * The Emotional Language model analyzes passages of text. This also supports audio and video files by transcribing and then directly analyzing the transcribed text. diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/LanguagePrediction.ts b/src/api/resources/expressionMeasurement/resources/batch/types/LanguagePrediction.ts index 016f0f2d..1272be8f 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/LanguagePrediction.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/LanguagePrediction.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface LanguagePrediction { /** A segment of text (like a word or a sentence). */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Models.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Models.ts index 9bdbd920..1870779c 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Models.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Models.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; /** * The models used for inference. diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/ModelsPredictions.ts b/src/api/resources/expressionMeasurement/resources/batch/types/ModelsPredictions.ts index f9a86460..53a5abfb 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/ModelsPredictions.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/ModelsPredictions.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface ModelsPredictions { face?: Hume.expressionMeasurement.batch.PredictionsOptionalNullFacePrediction; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Ner.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Ner.ts index 3d4b9bf0..b102f07c 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Ner.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Ner.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. /** * The NER (Named-entity Recognition) model identifies real-world objects and concepts in passages of text. This also supports audio and video files by transcribing and then directly analyzing the transcribed text. diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/NerPrediction.ts b/src/api/resources/expressionMeasurement/resources/batch/types/NerPrediction.ts index 036dfa86..348c420b 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/NerPrediction.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/NerPrediction.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface NerPrediction { /** The recognized topic or entity. */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Null.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Null.ts index 73bff167..7ccdaa36 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Null.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Null.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. /** * No associated metadata for this model. Value will be `null`. diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/PositionInterval.ts b/src/api/resources/expressionMeasurement/resources/batch/types/PositionInterval.ts index ad165de5..028ef7eb 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/PositionInterval.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/PositionInterval.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. /** * Position of a segment of text within a larger document, measured in characters. Uses zero-based indexing. The beginning index is inclusive and the end index is exclusive. diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullBurstPrediction.ts b/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullBurstPrediction.ts index bf50db3b..af1e0af6 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullBurstPrediction.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullBurstPrediction.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface PredictionsOptionalNullBurstPrediction { metadata?: Hume.expressionMeasurement.batch.Null; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullFacePrediction.ts b/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullFacePrediction.ts index af3efc00..db1d3140 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullFacePrediction.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullFacePrediction.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface PredictionsOptionalNullFacePrediction { metadata?: Hume.expressionMeasurement.batch.Null; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullFacemeshPrediction.ts b/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullFacemeshPrediction.ts index 4cd95b00..b8e72545 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullFacemeshPrediction.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullFacemeshPrediction.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface PredictionsOptionalNullFacemeshPrediction { metadata?: Hume.expressionMeasurement.batch.Null; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.ts b/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.ts index 3959c797..69d3c720 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface PredictionsOptionalTranscriptionMetadataLanguagePrediction { metadata?: Hume.expressionMeasurement.batch.TranscriptionMetadata; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataNerPrediction.ts b/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataNerPrediction.ts index 18411517..6c3e28f0 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataNerPrediction.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataNerPrediction.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface PredictionsOptionalTranscriptionMetadataNerPrediction { metadata?: Hume.expressionMeasurement.batch.TranscriptionMetadata; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.ts b/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.ts index 663f561f..08292100 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface PredictionsOptionalTranscriptionMetadataProsodyPrediction { metadata?: Hume.expressionMeasurement.batch.TranscriptionMetadata; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Prosody.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Prosody.ts index 4d2bfd80..0d78cd0d 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Prosody.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Prosody.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; /** * The Speech Prosody model analyzes the intonation, stress, and rhythm of spoken word. diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/ProsodyPrediction.ts b/src/api/resources/expressionMeasurement/resources/batch/types/ProsodyPrediction.ts index 77fce2da..d37ccdc8 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/ProsodyPrediction.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/ProsodyPrediction.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface ProsodyPrediction { /** A segment of text (like a word or a sentence). */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Queued.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Queued.ts index 21e702dc..0db68681 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Queued.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Queued.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 Queued { /** When this job was created (Unix timestamp in milliseconds). */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/QueuedState.ts b/src/api/resources/expressionMeasurement/resources/batch/types/QueuedState.ts index 5bd4b92a..59ef4f72 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/QueuedState.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/QueuedState.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface QueuedState extends Hume.expressionMeasurement.batch.Queued {} diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/RegistryFileDetail.ts b/src/api/resources/expressionMeasurement/resources/batch/types/RegistryFileDetail.ts index 4b6a4b93..29dae16c 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/RegistryFileDetail.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/RegistryFileDetail.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 RegistryFileDetail { /** File ID in the Asset Registry */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Regression.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Regression.ts index b2d1be40..35706343 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Regression.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Regression.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 Regression = Record; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/SentimentScore.ts b/src/api/resources/expressionMeasurement/resources/batch/types/SentimentScore.ts index e96cb647..8d40ed17 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/SentimentScore.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/SentimentScore.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 SentimentScore { /** Level of sentiment, ranging from `1` (negative) to `9` (positive) */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/SortBy.ts b/src/api/resources/expressionMeasurement/resources/batch/types/SortBy.ts index bb69c1ab..152be0c9 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/SortBy.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/SortBy.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 SortBy = "created" | "started" | "ended"; export const SortBy = { Created: "created", Started: "started", Ended: "ended", } as const; +export type SortBy = (typeof SortBy)[keyof typeof SortBy]; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Source.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Source.ts index afb72ae8..a97bfe11 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Source.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Source.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export type Source = | Hume.expressionMeasurement.batch.Source.Url diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/SourceFile.ts b/src/api/resources/expressionMeasurement/resources/batch/types/SourceFile.ts index e3a552e5..d677c5c1 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/SourceFile.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/SourceFile.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface SourceFile extends Hume.expressionMeasurement.batch.File_ {} diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/SourceTextSource.ts b/src/api/resources/expressionMeasurement/resources/batch/types/SourceTextSource.ts index aaaba458..9318c262 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/SourceTextSource.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/SourceTextSource.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 interface SourceTextSource {} +export type SourceTextSource = {}; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/SourceUrl.ts b/src/api/resources/expressionMeasurement/resources/batch/types/SourceUrl.ts index b73dfe53..668728b9 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/SourceUrl.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/SourceUrl.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface SourceUrl extends Hume.expressionMeasurement.batch.Url {} diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGeneration.ts b/src/api/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGeneration.ts index 213613f5..b2bf116a 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGeneration.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGeneration.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export type StateEmbeddingGeneration = | Hume.expressionMeasurement.batch.StateEmbeddingGeneration.Queued diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationCompletedEmbeddingGeneration.ts b/src/api/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationCompletedEmbeddingGeneration.ts index 055fc63a..5fb26c68 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationCompletedEmbeddingGeneration.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationCompletedEmbeddingGeneration.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface StateEmbeddingGenerationCompletedEmbeddingGeneration extends Hume.expressionMeasurement.batch.CompletedEmbeddingGeneration {} diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationFailed.ts b/src/api/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationFailed.ts index 44467b1a..4dd7815a 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationFailed.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationFailed.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface StateEmbeddingGenerationFailed extends Hume.expressionMeasurement.batch.Failed {} diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationInProgress.ts b/src/api/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationInProgress.ts index 1717bd6c..7623d5ec 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationInProgress.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationInProgress.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface StateEmbeddingGenerationInProgress extends Hume.expressionMeasurement.batch.InProgress {} diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationQueued.ts b/src/api/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationQueued.ts index 6898a54e..bfeb7b4c 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationQueued.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationQueued.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface StateEmbeddingGenerationQueued extends Hume.expressionMeasurement.batch.Queued {} diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/StateInference.ts b/src/api/resources/expressionMeasurement/resources/batch/types/StateInference.ts index 3f0d976c..88ab22a3 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/StateInference.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/StateInference.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export type StateInference = | Hume.expressionMeasurement.batch.StateInference.Queued diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/StateTlInference.ts b/src/api/resources/expressionMeasurement/resources/batch/types/StateTlInference.ts index 59429e80..9b4f232b 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/StateTlInference.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/StateTlInference.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export type StateTlInference = | Hume.expressionMeasurement.batch.StateTlInference.Queued diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/StateTlInferenceCompletedTlInference.ts b/src/api/resources/expressionMeasurement/resources/batch/types/StateTlInferenceCompletedTlInference.ts index aac75e4b..5b4c0df4 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/StateTlInferenceCompletedTlInference.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/StateTlInferenceCompletedTlInference.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface StateTlInferenceCompletedTlInference extends Hume.expressionMeasurement.batch.CompletedTlInference {} diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/StateTlInferenceFailed.ts b/src/api/resources/expressionMeasurement/resources/batch/types/StateTlInferenceFailed.ts index 019fce56..883550df 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/StateTlInferenceFailed.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/StateTlInferenceFailed.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface StateTlInferenceFailed extends Hume.expressionMeasurement.batch.Failed {} diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/StateTlInferenceInProgress.ts b/src/api/resources/expressionMeasurement/resources/batch/types/StateTlInferenceInProgress.ts index 7019c5f7..4e9e554e 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/StateTlInferenceInProgress.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/StateTlInferenceInProgress.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface StateTlInferenceInProgress extends Hume.expressionMeasurement.batch.InProgress {} diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/StateTlInferenceQueued.ts b/src/api/resources/expressionMeasurement/resources/batch/types/StateTlInferenceQueued.ts index ec5ebfc7..7cd6d7fe 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/StateTlInferenceQueued.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/StateTlInferenceQueued.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface StateTlInferenceQueued extends Hume.expressionMeasurement.batch.Queued {} diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/StateTraining.ts b/src/api/resources/expressionMeasurement/resources/batch/types/StateTraining.ts index 6dffeb34..1b19e885 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/StateTraining.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/StateTraining.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export type StateTraining = | Hume.expressionMeasurement.batch.StateTraining.Queued diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/StateTrainingCompletedTraining.ts b/src/api/resources/expressionMeasurement/resources/batch/types/StateTrainingCompletedTraining.ts index 5dcd9a3c..18bee86a 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/StateTrainingCompletedTraining.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/StateTrainingCompletedTraining.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface StateTrainingCompletedTraining extends Hume.expressionMeasurement.batch.CompletedTraining {} diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/StateTrainingFailed.ts b/src/api/resources/expressionMeasurement/resources/batch/types/StateTrainingFailed.ts index 79153a8a..918fd1d0 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/StateTrainingFailed.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/StateTrainingFailed.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface StateTrainingFailed extends Hume.expressionMeasurement.batch.Failed {} diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/StateTrainingInProgress.ts b/src/api/resources/expressionMeasurement/resources/batch/types/StateTrainingInProgress.ts index 1faac809..04dd05b5 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/StateTrainingInProgress.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/StateTrainingInProgress.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface StateTrainingInProgress extends Hume.expressionMeasurement.batch.InProgress {} diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/StateTrainingQueued.ts b/src/api/resources/expressionMeasurement/resources/batch/types/StateTrainingQueued.ts index 76089c25..7b282445 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/StateTrainingQueued.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/StateTrainingQueued.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface StateTrainingQueued extends Hume.expressionMeasurement.batch.Queued {} diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Status.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Status.ts index bb2beb38..31aa961b 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Status.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Status.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 Status = "QUEUED" | "IN_PROGRESS" | "COMPLETED" | "FAILED"; export const Status = { Queued: "QUEUED", InProgress: "IN_PROGRESS", Completed: "COMPLETED", Failed: "FAILED", } as const; +export type Status = (typeof Status)[keyof typeof Status]; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Tag.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Tag.ts index 25a640bc..af207c90 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Tag.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Tag.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 Tag { key: string; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Target.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Target.ts index dd9eb9f8..298d9afa 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Target.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Target.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 Target = number | number | string; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Task.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Task.ts index 7eefbbcd..ea597699 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Task.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Task.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export type Task = | Hume.expressionMeasurement.batch.Task.Classification diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/TaskClassification.ts b/src/api/resources/expressionMeasurement/resources/batch/types/TaskClassification.ts index d276c4d8..170d117d 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/TaskClassification.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/TaskClassification.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 interface TaskClassification {} +export type TaskClassification = {}; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/TaskRegression.ts b/src/api/resources/expressionMeasurement/resources/batch/types/TaskRegression.ts index 9ae5663d..57dcbf65 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/TaskRegression.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/TaskRegression.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 interface TaskRegression {} +export type TaskRegression = {}; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/TextSource.ts b/src/api/resources/expressionMeasurement/resources/batch/types/TextSource.ts index 9af20dce..22c93f8e 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/TextSource.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/TextSource.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 TextSource = Record; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/TimeInterval.ts b/src/api/resources/expressionMeasurement/resources/batch/types/TimeInterval.ts index 34e4ac05..5d3a1f46 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/TimeInterval.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/TimeInterval.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 time range with a beginning and end, measured in seconds. diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/TlInferenceBaseRequest.ts b/src/api/resources/expressionMeasurement/resources/batch/types/TlInferenceBaseRequest.ts index bbbe63fc..48974315 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/TlInferenceBaseRequest.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/TlInferenceBaseRequest.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface TlInferenceBaseRequest { customModel: Hume.expressionMeasurement.batch.CustomModel; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/TlInferencePrediction.ts b/src/api/resources/expressionMeasurement/resources/batch/types/TlInferencePrediction.ts index dc234c8c..4a1556b6 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/TlInferencePrediction.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/TlInferencePrediction.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface TlInferencePrediction { /** A file path relative to the top level source URL or file. */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/TlInferenceResults.ts b/src/api/resources/expressionMeasurement/resources/batch/types/TlInferenceResults.ts index 0890062c..f82c263a 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/TlInferenceResults.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/TlInferenceResults.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface TlInferenceResults { predictions: Hume.expressionMeasurement.batch.TlInferencePrediction[]; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/TlInferenceSourcePredictResult.ts b/src/api/resources/expressionMeasurement/resources/batch/types/TlInferenceSourcePredictResult.ts index 301a38a1..6a59c1e0 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/TlInferenceSourcePredictResult.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/TlInferenceSourcePredictResult.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface TlInferenceSourcePredictResult { source: Hume.expressionMeasurement.batch.Source; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/ToxicityScore.ts b/src/api/resources/expressionMeasurement/resources/batch/types/ToxicityScore.ts index 87f44eb1..574a5360 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/ToxicityScore.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/ToxicityScore.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 ToxicityScore { /** Category of toxicity. */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/TrainingBaseRequest.ts b/src/api/resources/expressionMeasurement/resources/batch/types/TrainingBaseRequest.ts index ad03dd2e..b1535fa1 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/TrainingBaseRequest.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/TrainingBaseRequest.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface TrainingBaseRequest { customModel: Hume.expressionMeasurement.batch.CustomModelRequest; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/TrainingCustomModel.ts b/src/api/resources/expressionMeasurement/resources/batch/types/TrainingCustomModel.ts index 3b3ae1e5..f32ecadb 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/TrainingCustomModel.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/TrainingCustomModel.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 TrainingCustomModel { id: string; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Transcription.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Transcription.ts index 5e0b0fd5..8c4e4d48 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Transcription.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Transcription.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; /** * Transcription-related configuration options. diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/TranscriptionMetadata.ts b/src/api/resources/expressionMeasurement/resources/batch/types/TranscriptionMetadata.ts index 4a8a1272..b1e8cca4 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/TranscriptionMetadata.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/TranscriptionMetadata.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; /** * Transcription metadata for your media file. diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Type.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Type.ts index bd5c772a..343e44d7 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Type.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Type.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 Type = "EMBEDDING_GENERATION" | "INFERENCE" | "TL_INFERENCE" | "TRAINING"; export const Type = { EmbeddingGeneration: "EMBEDDING_GENERATION", Inference: "INFERENCE", TlInference: "TL_INFERENCE", Training: "TRAINING", } as const; +export type Type = (typeof Type)[keyof typeof Type]; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Unconfigurable.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Unconfigurable.ts index ce24cd58..034eba26 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Unconfigurable.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Unconfigurable.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. /** * To include predictions for this model type, set this field to `{}`. It is currently not configurable further. diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/UnionJob.ts b/src/api/resources/expressionMeasurement/resources/batch/types/UnionJob.ts index 7b02f9ef..72112630 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/UnionJob.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/UnionJob.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export type UnionJob = Hume.expressionMeasurement.batch.InferenceJob; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/UnionPredictResult.ts b/src/api/resources/expressionMeasurement/resources/batch/types/UnionPredictResult.ts index 4d932ab5..66f78483 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/UnionPredictResult.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/UnionPredictResult.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export type UnionPredictResult = Hume.expressionMeasurement.batch.InferenceSourcePredictResult; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Url.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Url.ts index 4fc979a8..0411d199 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Url.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Url.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 Url { /** The URL of the source media file. */ diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/ValidationArgs.ts b/src/api/resources/expressionMeasurement/resources/batch/types/ValidationArgs.ts index 3862269e..b296e3ca 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/ValidationArgs.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/ValidationArgs.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; export interface ValidationArgs { positiveLabel?: Hume.expressionMeasurement.batch.Target; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/When.ts b/src/api/resources/expressionMeasurement/resources/batch/types/When.ts index 37297ae7..515ecf31 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/When.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/When.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 When = "created_before" | "created_after"; export const When = { CreatedBefore: "created_before", CreatedAfter: "created_after", } as const; +export type When = (typeof When)[keyof typeof When]; diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/Window.ts b/src/api/resources/expressionMeasurement/resources/batch/types/Window.ts index 9064d641..e9988ff3 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/Window.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/Window.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. /** * Generate predictions based on time. diff --git a/src/api/resources/expressionMeasurement/resources/batch/types/index.ts b/src/api/resources/expressionMeasurement/resources/batch/types/index.ts index 0d5149d4..d034e1c8 100644 --- a/src/api/resources/expressionMeasurement/resources/batch/types/index.ts +++ b/src/api/resources/expressionMeasurement/resources/batch/types/index.ts @@ -5,43 +5,53 @@ export * from "./BurstPrediction.js"; export * from "./Classification.js"; export * from "./CompletedEmbeddingGeneration.js"; export * from "./CompletedInference.js"; +export * from "./CompletedState.js"; export * from "./CompletedTlInference.js"; export * from "./CompletedTraining.js"; +export * from "./CustomModel.js"; +export * from "./CustomModelId.js"; export * from "./CustomModelPrediction.js"; export * from "./CustomModelRequest.js"; +export * from "./CustomModelsInferenceJob.js"; +export * from "./CustomModelsTrainingJob.js"; +export * from "./CustomModelVersionId.js"; export * from "./Dataset.js"; export * from "./DatasetId.js"; export * from "./DatasetVersionId.js"; export * from "./DescriptionsScore.js"; export * from "./Direction.js"; export * from "./EmbeddingGenerationBaseRequest.js"; +export * from "./EmbeddingGenerationJob.js"; export * from "./EmotionScore.js"; export * from "./Error_.js"; export * from "./EvaluationArgs.js"; export * from "./Face.js"; -export * from "./FacePrediction.js"; export * from "./FacemeshPrediction.js"; +export * from "./FacePrediction.js"; export * from "./FacsScore.js"; export * from "./Failed.js"; +export * from "./FailedState.js"; export * from "./File_.js"; export * from "./Granularity.js"; export * from "./GroupedPredictionsBurstPrediction.js"; -export * from "./GroupedPredictionsFacePrediction.js"; export * from "./GroupedPredictionsFacemeshPrediction.js"; +export * from "./GroupedPredictionsFacePrediction.js"; export * from "./GroupedPredictionsLanguagePrediction.js"; export * from "./GroupedPredictionsNerPrediction.js"; export * from "./GroupedPredictionsProsodyPrediction.js"; -export * from "./InProgress.js"; export * from "./InferenceBaseRequest.js"; +export * from "./InferenceJob.js"; export * from "./InferencePrediction.js"; export * from "./InferenceRequest.js"; export * from "./InferenceResults.js"; export * from "./InferenceSourcePredictResult.js"; +export * from "./InProgress.js"; +export * from "./InProgressState.js"; export * from "./JobEmbeddingGeneration.js"; +export * from "./JobId.js"; export * from "./JobInference.js"; export * from "./JobTlInference.js"; export * from "./JobTraining.js"; -export * from "./JobId.js"; export * from "./Language.js"; export * from "./LanguagePrediction.js"; export * from "./Models.js"; @@ -51,14 +61,15 @@ export * from "./NerPrediction.js"; export * from "./Null.js"; export * from "./PositionInterval.js"; export * from "./PredictionsOptionalNullBurstPrediction.js"; -export * from "./PredictionsOptionalNullFacePrediction.js"; export * from "./PredictionsOptionalNullFacemeshPrediction.js"; +export * from "./PredictionsOptionalNullFacePrediction.js"; export * from "./PredictionsOptionalTranscriptionMetadataLanguagePrediction.js"; export * from "./PredictionsOptionalTranscriptionMetadataNerPrediction.js"; export * from "./PredictionsOptionalTranscriptionMetadataProsodyPrediction.js"; export * from "./Prosody.js"; export * from "./ProsodyPrediction.js"; export * from "./Queued.js"; +export * from "./QueuedState.js"; export * from "./RegistryFileDetail.js"; export * from "./Regression.js"; export * from "./SentimentScore.js"; @@ -67,17 +78,12 @@ export * from "./Source.js"; export * from "./SourceFile.js"; export * from "./SourceTextSource.js"; export * from "./SourceUrl.js"; -export * from "./Url.js"; export * from "./StateEmbeddingGeneration.js"; export * from "./StateEmbeddingGenerationCompletedEmbeddingGeneration.js"; export * from "./StateEmbeddingGenerationFailed.js"; export * from "./StateEmbeddingGenerationInProgress.js"; export * from "./StateEmbeddingGenerationQueued.js"; export * from "./StateInference.js"; -export * from "./CompletedState.js"; -export * from "./FailedState.js"; -export * from "./InProgressState.js"; -export * from "./QueuedState.js"; export * from "./StateTlInference.js"; export * from "./StateTlInferenceCompletedTlInference.js"; export * from "./StateTlInferenceFailed.js"; @@ -89,9 +95,6 @@ export * from "./StateTrainingFailed.js"; export * from "./StateTrainingInProgress.js"; export * from "./StateTrainingQueued.js"; export * from "./Status.js"; -export * from "./TlInferencePrediction.js"; -export * from "./TlInferenceResults.js"; -export * from "./TlInferenceSourcePredictResult.js"; export * from "./Tag.js"; export * from "./Target.js"; export * from "./Task.js"; @@ -100,9 +103,9 @@ export * from "./TaskRegression.js"; export * from "./TextSource.js"; export * from "./TimeInterval.js"; export * from "./TlInferenceBaseRequest.js"; -export * from "./CustomModel.js"; -export * from "./CustomModelId.js"; -export * from "./CustomModelVersionId.js"; +export * from "./TlInferencePrediction.js"; +export * from "./TlInferenceResults.js"; +export * from "./TlInferenceSourcePredictResult.js"; export * from "./ToxicityScore.js"; export * from "./TrainingBaseRequest.js"; export * from "./TrainingCustomModel.js"; @@ -111,11 +114,8 @@ export * from "./TranscriptionMetadata.js"; export * from "./Type.js"; export * from "./Unconfigurable.js"; export * from "./UnionJob.js"; -export * from "./EmbeddingGenerationJob.js"; -export * from "./InferenceJob.js"; -export * from "./CustomModelsInferenceJob.js"; -export * from "./CustomModelsTrainingJob.js"; export * from "./UnionPredictResult.js"; +export * from "./Url.js"; export * from "./ValidationArgs.js"; export * from "./When.js"; export * from "./Window.js"; diff --git a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/client/Client.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/client/Client.ts index cf44d40a..930acf28 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/client/Client.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/client/Client.ts @@ -1,22 +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 { mergeOnlyDefinedHeaders, mergeHeaders } from "../../../../../../../../core/headers.js"; +import * as environments from "../../../../../../../../environments.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; - apiKey?: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | null | undefined>; - fetcher?: core.FetchFunction; - } + export interface Options extends BaseClientOptions {} export interface ConnectArgs { "X-Hume-Api-Key": string; @@ -38,7 +29,7 @@ export class Stream { public async connect(args: Stream.ConnectArgs): Promise { const { headers, debug, reconnectAttempts } = args; - let _headers: Record = mergeHeaders( + const _headers: Record = mergeHeaders( mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()), "X-Hume-Api-Key": args["X-Hume-Api-Key"], @@ -47,9 +38,8 @@ export class Stream { ); const socket = new core.ReconnectingWebSocket({ url: core.url.join( - (await core.Supplier.get(this._options["baseUrl"])) ?? - ((await core.Supplier.get(this._options["environment"])) ?? environments.HumeEnvironment.Prod) - .stream, + (await core.Supplier.get(this._options.baseUrl)) ?? + ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).stream, "/models", ), protocols: [], @@ -60,7 +50,7 @@ export class Stream { return new StreamSocket({ socket }); } - protected async _getCustomAuthorizationHeaders() { + protected async _getCustomAuthorizationHeaders(): Promise> { const apiKeyValue = await core.Supplier.get(this._options.apiKey); return { "X-Hume-Api-Key": apiKeyValue }; } diff --git a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/client/Socket.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/client/Socket.ts index 9e33cb57..bfc1c439 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/client/Socket.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/client/Socket.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 core from "../../../../../../../../core/index.js"; -import * as Hume from "../../../../../../../index.js"; -import { StreamModelsEndpointPayload } from "../../../../../../../../serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelsEndpointPayload.js"; import { fromJson } from "../../../../../../../../core/json.js"; import * as serializers from "../../../../../../../../serialization/index.js"; +import { StreamModelsEndpointPayload } from "../../../../../../../../serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelsEndpointPayload.js"; +import type * as Hume from "../../../../../../../index.js"; export declare namespace StreamSocket { export interface Args { @@ -75,7 +73,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/expressionMeasurement/resources/stream/resources/stream/index.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/index.ts index f095e147..d9adb1af 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/index.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/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/expressionMeasurement/resources/stream/resources/stream/types/Config.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/Config.ts index 097b0072..91bea1e1 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/Config.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/Config.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 Hume from "../../../../../../../index.js"; +import type * as Hume from "../../../../../../../index.js"; /** * Configuration used to specify which models should be used and with what settings. diff --git a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/JobDetails.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/JobDetails.ts index a3b8d911..46dcddde 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/JobDetails.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/JobDetails.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. /** * If the job_details flag was set in the request, details about the current streaming job will be returned in the response body. diff --git a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamErrorMessage.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamErrorMessage.ts index 765eb95b..1f714e96 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamErrorMessage.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/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 Hume from "../../../../../../../index.js"; +import type * as Hume from "../../../../../../../index.js"; /** * Error message diff --git a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamFace.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamFace.ts index f48fdb54..bb681f77 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamFace.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamFace.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. /** * Configuration for the facial expression emotion model. diff --git a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamLanguage.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamLanguage.ts index 16af604b..f4885055 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamLanguage.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamLanguage.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. /** * Configuration for the language emotion model. diff --git a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictions.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictions.ts index 855153b3..8bcd9e30 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictions.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictions.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 Hume from "../../../../../../../index.js"; +import type * as Hume from "../../../../../../../index.js"; /** * Model predictions diff --git a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsBurst.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsBurst.ts index 887a28b4..5c57ac8d 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsBurst.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsBurst.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 Hume from "../../../../../../../index.js"; +import type * as Hume from "../../../../../../../index.js"; /** * Response for the vocal burst emotion model. diff --git a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsBurstPredictionsItem.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsBurstPredictionsItem.ts index 3906d642..83c9215c 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsBurstPredictionsItem.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsBurstPredictionsItem.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 Hume from "../../../../../../../index.js"; +import type * as Hume from "../../../../../../../index.js"; export interface StreamModelPredictionsBurstPredictionsItem { time?: Hume.expressionMeasurement.stream.TimeRange; diff --git a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFace.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFace.ts index f9bb281b..d548b734 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFace.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFace.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 Hume from "../../../../../../../index.js"; +import type * as Hume from "../../../../../../../index.js"; /** * Response for the facial expression emotion model. diff --git a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacePredictionsItem.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacePredictionsItem.ts index 946fd373..f41c1014 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacePredictionsItem.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacePredictionsItem.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 Hume from "../../../../../../../index.js"; +import type * as Hume from "../../../../../../../index.js"; export interface StreamModelPredictionsFacePredictionsItem { /** Frame number */ diff --git a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacemesh.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacemesh.ts index 44b0b76c..102daf58 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacemesh.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacemesh.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 Hume from "../../../../../../../index.js"; +import type * as Hume from "../../../../../../../index.js"; /** * Response for the facemesh emotion model. diff --git a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacemeshPredictionsItem.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacemeshPredictionsItem.ts index 986f9240..86c71dff 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacemeshPredictionsItem.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacemeshPredictionsItem.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 Hume from "../../../../../../../index.js"; +import type * as Hume from "../../../../../../../index.js"; export interface StreamModelPredictionsFacemeshPredictionsItem { emotions?: Hume.expressionMeasurement.stream.EmotionEmbedding; diff --git a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsJobDetails.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsJobDetails.ts index 0817f577..5c3c6639 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsJobDetails.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsJobDetails.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. /** * If the job_details flag was set in the request, details about the current streaming job will be returned in the response body. diff --git a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsLanguage.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsLanguage.ts index e8352c43..0db7a507 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsLanguage.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsLanguage.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 Hume from "../../../../../../../index.js"; +import type * as Hume from "../../../../../../../index.js"; /** * Response for the language emotion model. diff --git a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.ts index ca253d2b..1832eaf8 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.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 Hume from "../../../../../../../index.js"; +import type * as Hume from "../../../../../../../index.js"; export interface StreamModelPredictionsLanguagePredictionsItem { /** A segment of text (like a word or a sentence). */ diff --git a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsProsody.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsProsody.ts index b3a499a6..a8bff64a 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsProsody.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsProsody.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 Hume from "../../../../../../../index.js"; +import type * as Hume from "../../../../../../../index.js"; /** * Response for the speech prosody emotion model. diff --git a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsProsodyPredictionsItem.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsProsodyPredictionsItem.ts index a4a018b3..3c3b9fd2 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsProsodyPredictionsItem.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsProsodyPredictionsItem.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 Hume from "../../../../../../../index.js"; +import type * as Hume from "../../../../../../../index.js"; export interface StreamModelPredictionsProsodyPredictionsItem { time?: Hume.expressionMeasurement.stream.TimeRange; diff --git a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelsEndpointPayload.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelsEndpointPayload.ts index aaf15bf3..6c263acf 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelsEndpointPayload.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelsEndpointPayload.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 Hume from "../../../../../../../index.js"; +import type * as Hume from "../../../../../../../index.js"; /** * Models endpoint payload diff --git a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamWarningMessage.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamWarningMessage.ts index f63bb113..64f4bef4 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamWarningMessage.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamWarningMessage.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 Hume from "../../../../../../../index.js"; +import type * as Hume from "../../../../../../../index.js"; /** * Warning message diff --git a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamWarningMessageJobDetails.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamWarningMessageJobDetails.ts index da6e0df6..46a0d170 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamWarningMessageJobDetails.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamWarningMessageJobDetails.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. /** * If the job_details flag was set in the request, details about the current streaming job will be returned in the response body. diff --git a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/SubscribeEvent.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/SubscribeEvent.ts index f5054c2d..a429f38e 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/SubscribeEvent.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/SubscribeEvent.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 Hume from "../../../../../../../index.js"; +import type * as Hume from "../../../../../../../index.js"; export type SubscribeEvent = /** diff --git a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.ts b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.ts index dd75ae69..6f621aea 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.ts @@ -1,21 +1,21 @@ +export * from "./Config.js"; +export * from "./JobDetails.js"; +export * from "./StreamErrorMessage.js"; export * from "./StreamFace.js"; export * from "./StreamLanguage.js"; -export * from "./Config.js"; -export * from "./StreamModelsEndpointPayload.js"; -export * from "./StreamModelPredictionsJobDetails.js"; -export * from "./StreamModelPredictionsBurstPredictionsItem.js"; +export * from "./StreamModelPredictions.js"; export * from "./StreamModelPredictionsBurst.js"; -export * from "./StreamModelPredictionsFacePredictionsItem.js"; +export * from "./StreamModelPredictionsBurstPredictionsItem.js"; export * from "./StreamModelPredictionsFace.js"; -export * from "./StreamModelPredictionsFacemeshPredictionsItem.js"; export * from "./StreamModelPredictionsFacemesh.js"; -export * from "./StreamModelPredictionsLanguagePredictionsItem.js"; +export * from "./StreamModelPredictionsFacemeshPredictionsItem.js"; +export * from "./StreamModelPredictionsFacePredictionsItem.js"; +export * from "./StreamModelPredictionsJobDetails.js"; export * from "./StreamModelPredictionsLanguage.js"; -export * from "./StreamModelPredictionsProsodyPredictionsItem.js"; +export * from "./StreamModelPredictionsLanguagePredictionsItem.js"; export * from "./StreamModelPredictionsProsody.js"; -export * from "./StreamModelPredictions.js"; -export * from "./JobDetails.js"; -export * from "./StreamErrorMessage.js"; -export * from "./StreamWarningMessageJobDetails.js"; +export * from "./StreamModelPredictionsProsodyPredictionsItem.js"; +export * from "./StreamModelsEndpointPayload.js"; export * from "./StreamWarningMessage.js"; +export * from "./StreamWarningMessageJobDetails.js"; export * from "./SubscribeEvent.js"; diff --git a/src/api/resources/expressionMeasurement/resources/stream/types/EmotionEmbedding.ts b/src/api/resources/expressionMeasurement/resources/stream/types/EmotionEmbedding.ts index 46554fdb..eeafb62c 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/types/EmotionEmbedding.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/types/EmotionEmbedding.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; /** * A high-dimensional embedding in emotion space. diff --git a/src/api/resources/expressionMeasurement/resources/stream/types/EmotionEmbeddingItem.ts b/src/api/resources/expressionMeasurement/resources/stream/types/EmotionEmbeddingItem.ts index 006f0a9b..11caf79b 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/types/EmotionEmbeddingItem.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/types/EmotionEmbeddingItem.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 EmotionEmbeddingItem { /** Name of the emotion being expressed. */ diff --git a/src/api/resources/expressionMeasurement/resources/stream/types/Sentiment.ts b/src/api/resources/expressionMeasurement/resources/stream/types/Sentiment.ts index 4513e691..cff25f37 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/types/Sentiment.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/types/Sentiment.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; /** * Sentiment predictions returned as a distribution. This model predicts the probability that a given text could be interpreted as having each sentiment level from 1 (negative) to 9 (positive). diff --git a/src/api/resources/expressionMeasurement/resources/stream/types/SentimentItem.ts b/src/api/resources/expressionMeasurement/resources/stream/types/SentimentItem.ts index 40bd8f10..c5ee4462 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/types/SentimentItem.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/types/SentimentItem.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 SentimentItem { /** Level of sentiment, ranging from 1 (negative) to 9 (positive) */ diff --git a/src/api/resources/expressionMeasurement/resources/stream/types/StreamBoundingBox.ts b/src/api/resources/expressionMeasurement/resources/stream/types/StreamBoundingBox.ts index 820e1ee9..d6e6d756 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/types/StreamBoundingBox.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/types/StreamBoundingBox.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 bounding box around a face. diff --git a/src/api/resources/expressionMeasurement/resources/stream/types/TextPosition.ts b/src/api/resources/expressionMeasurement/resources/stream/types/TextPosition.ts index 6f1011c8..fd903141 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/types/TextPosition.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/types/TextPosition.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. /** * Position of a segment of text within a larger document, measured in characters. Uses zero-based indexing. The beginning index is inclusive and the end index is exclusive. diff --git a/src/api/resources/expressionMeasurement/resources/stream/types/TimeRange.ts b/src/api/resources/expressionMeasurement/resources/stream/types/TimeRange.ts index 893b6c93..3ccb31fa 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/types/TimeRange.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/types/TimeRange.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 time range with a beginning and end, measured in seconds. diff --git a/src/api/resources/expressionMeasurement/resources/stream/types/Toxicity.ts b/src/api/resources/expressionMeasurement/resources/stream/types/Toxicity.ts index 4fe6c5ec..37de361e 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/types/Toxicity.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/types/Toxicity.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 Hume from "../../../../../index.js"; +import type * as Hume from "../../../../../index.js"; /** * Toxicity predictions returned as probabilities that the text can be classified into the following categories: toxic, severe_toxic, obscene, threat, insult, and identity_hate. diff --git a/src/api/resources/expressionMeasurement/resources/stream/types/ToxicityItem.ts b/src/api/resources/expressionMeasurement/resources/stream/types/ToxicityItem.ts index 47795ef3..f58e3f0d 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/types/ToxicityItem.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/types/ToxicityItem.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 ToxicityItem { /** Category of toxicity. */ diff --git a/src/api/resources/expressionMeasurement/resources/stream/types/index.ts b/src/api/resources/expressionMeasurement/resources/stream/types/index.ts index a356816b..f9777f30 100644 --- a/src/api/resources/expressionMeasurement/resources/stream/types/index.ts +++ b/src/api/resources/expressionMeasurement/resources/stream/types/index.ts @@ -1,9 +1,9 @@ -export * from "./EmotionEmbeddingItem.js"; export * from "./EmotionEmbedding.js"; +export * from "./EmotionEmbeddingItem.js"; +export * from "./Sentiment.js"; +export * from "./SentimentItem.js"; export * from "./StreamBoundingBox.js"; -export * from "./TimeRange.js"; export * from "./TextPosition.js"; -export * from "./SentimentItem.js"; -export * from "./Sentiment.js"; -export * from "./ToxicityItem.js"; +export * from "./TimeRange.js"; export * from "./Toxicity.js"; +export * from "./ToxicityItem.js"; diff --git a/src/api/resources/index.ts b/src/api/resources/index.ts index 78a37fd4..03f9f41d 100644 --- a/src/api/resources/index.ts +++ b/src/api/resources/index.ts @@ -1,3 +1,3 @@ -export * as tts from "./tts/index.js"; export * as empathicVoice from "./empathicVoice/index.js"; export * as expressionMeasurement from "./expressionMeasurement/index.js"; +export * as tts from "./tts/index.js"; diff --git a/src/api/resources/tts/client/Client.ts b/src/api/resources/tts/client/Client.ts index 380e01c3..ebb17bf3 100644 --- a/src/api/resources/tts/client/Client.ts +++ b/src/api/resources/tts/client/Client.ts @@ -1,39 +1,19 @@ -/** - * 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 Hume 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 environments from "../../../../environments.js"; import * as errors from "../../../../errors/index.js"; -import { Voices } from "../resources/voices/client/Client.js"; +import * as serializers from "../../../../serialization/index.js"; +import * as Hume from "../../../index.js"; import { StreamInput } from "../resources/streamInput/client/Client.js"; +import { Voices } from "../resources/voices/client/Client.js"; export declare namespace Tts { - export interface Options { - environment?: core.Supplier; - /** Specify a custom URL to connect the client to. */ - baseUrl?: core.Supplier; - apiKey?: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | null | undefined>; - fetcher?: core.FetchFunction; - } + export interface Options extends BaseClientOptions {} - 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; - /** Additional query string parameters to include in the request. */ - queryParams?: Record; - /** Additional headers to include in the request. */ - headers?: Record | null | undefined>; - } + export interface RequestOptions extends BaseRequestOptions {} } export class Tts { @@ -92,7 +72,7 @@ export class Tts { request: Hume.tts.PostedTts, requestOptions?: Tts.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -112,8 +92,8 @@ export class Tts { 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, }); if (_response.ok) { @@ -185,7 +165,7 @@ export class Tts { request: Hume.tts.PostedTts, requestOptions?: Tts.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -206,8 +186,8 @@ export class Tts { omitUndefined: true, }), 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, }); if (_response.ok) { @@ -268,7 +248,7 @@ export class Tts { request: Hume.tts.PostedTts, requestOptions?: Tts.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -289,8 +269,8 @@ export class Tts { omitUndefined: true, }), 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, }); if (_response.ok) { @@ -352,7 +332,7 @@ export class Tts { request: Hume.tts.PostedTts, requestOptions?: Tts.RequestOptions, ): Promise>> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -373,8 +353,8 @@ export class Tts { omitUndefined: true, }), responseType: "sse", - 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, }); if (_response.ok) { @@ -439,7 +419,7 @@ export class Tts { } } - protected async _getCustomAuthorizationHeaders() { + protected async _getCustomAuthorizationHeaders(): Promise> { const apiKeyValue = await core.Supplier.get(this._options.apiKey); return { "X-Hume-Api-Key": apiKeyValue }; } diff --git a/src/api/resources/tts/errors/BadRequestError.ts b/src/api/resources/tts/errors/BadRequestError.ts index 6664fac9..431776e5 100644 --- a/src/api/resources/tts/errors/BadRequestError.ts +++ b/src/api/resources/tts/errors/BadRequestError.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 Hume from "../../../index.js"; -import * as core from "../../../../core/index.js"; +import type * as Hume from "../../../index.js"; export class BadRequestError extends errors.HumeError { constructor(body: Hume.tts.ErrorResponse, rawResponse?: core.RawResponse) { diff --git a/src/api/resources/tts/errors/UnprocessableEntityError.ts b/src/api/resources/tts/errors/UnprocessableEntityError.ts index e1eaa561..3e782a7b 100644 --- a/src/api/resources/tts/errors/UnprocessableEntityError.ts +++ b/src/api/resources/tts/errors/UnprocessableEntityError.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 Hume from "../../../index.js"; -import * as core from "../../../../core/index.js"; +import type * as Hume from "../../../index.js"; export class UnprocessableEntityError extends errors.HumeError { constructor(body: Hume.tts.HttpValidationError, rawResponse?: core.RawResponse) { diff --git a/src/api/resources/tts/errors/index.ts b/src/api/resources/tts/errors/index.ts index 38367e17..e0c7d830 100644 --- a/src/api/resources/tts/errors/index.ts +++ b/src/api/resources/tts/errors/index.ts @@ -1,2 +1,2 @@ -export * from "./UnprocessableEntityError.js"; export * from "./BadRequestError.js"; +export * from "./UnprocessableEntityError.js"; diff --git a/src/api/resources/tts/index.ts b/src/api/resources/tts/index.ts index 83ed12ab..d73889d8 100644 --- a/src/api/resources/tts/index.ts +++ b/src/api/resources/tts/index.ts @@ -1,4 +1,4 @@ -export * from "./types/index.js"; +export * from "./client/index.js"; export * from "./errors/index.js"; export * from "./resources/index.js"; -export * from "./client/index.js"; +export * from "./types/index.js"; diff --git a/src/api/resources/tts/resources/index.ts b/src/api/resources/tts/resources/index.ts index 865d924b..def6be8e 100644 --- a/src/api/resources/tts/resources/index.ts +++ b/src/api/resources/tts/resources/index.ts @@ -1,3 +1,3 @@ export * as streamInput from "./streamInput/index.js"; -export * as voices from "./voices/index.js"; export * from "./voices/client/requests/index.js"; +export * as voices from "./voices/index.js"; diff --git a/src/api/resources/tts/resources/streamInput/client/Client.ts b/src/api/resources/tts/resources/streamInput/client/Client.ts index cc046232..38701335 100644 --- a/src/api/resources/tts/resources/streamInput/client/Client.ts +++ b/src/api/resources/tts/resources/streamInput/client/Client.ts @@ -1,24 +1,15 @@ -/** - * 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 * as Hume from "../../../../../index.js"; -import { mergeOnlyDefinedHeaders, mergeHeaders } from "../../../../../../core/headers.js"; +import * as environments from "../../../../../../environments.js"; import * as serializers from "../../../../../../serialization/index.js"; +import type * as Hume from "../../../../../index.js"; import { StreamInputSocket } from "./Socket.js"; export declare namespace StreamInput { - export interface Options { - environment?: core.Supplier; - /** Specify a custom URL to connect the client to. */ - baseUrl?: core.Supplier; - apiKey?: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | null | undefined>; - fetcher?: core.FetchFunction; - } + export interface Options extends BaseClientOptions {} export interface ConnectArgs { accessToken?: string | undefined; @@ -63,15 +54,15 @@ export class StreamInput { } = args; const _queryParams: Record = {}; if (accessToken != null) { - _queryParams["access_token"] = accessToken; + _queryParams.access_token = accessToken; } if (contextGenerationId != null) { - _queryParams["context_generation_id"] = contextGenerationId; + _queryParams.context_generation_id = contextGenerationId; } if (formatType != null) { - _queryParams["format_type"] = serializers.tts.AudioFormatType.jsonOrThrow(formatType, { + _queryParams.format_type = serializers.tts.AudioFormatType.jsonOrThrow(formatType, { unrecognizedObjectKeys: "strip", omitUndefined: true, }); @@ -79,14 +70,14 @@ export class StreamInput { if (includeTimestampTypes != null) { if (Array.isArray(includeTimestampTypes)) { - _queryParams["include_timestamp_types"] = includeTimestampTypes.map((item) => + _queryParams.include_timestamp_types = includeTimestampTypes.map((item) => serializers.tts.TimestampType.jsonOrThrow(item, { unrecognizedObjectKeys: "strip", omitUndefined: true, }), ); } else { - _queryParams["include_timestamp_types"] = serializers.tts.TimestampType.jsonOrThrow( + _queryParams.include_timestamp_types = serializers.tts.TimestampType.jsonOrThrow( includeTimestampTypes, { unrecognizedObjectKeys: "strip", omitUndefined: true }, ); @@ -94,36 +85,36 @@ export class StreamInput { } if (instantMode != null) { - _queryParams["instant_mode"] = instantMode.toString(); + _queryParams.instant_mode = instantMode.toString(); } if (noBinary != null) { - _queryParams["no_binary"] = noBinary.toString(); + _queryParams.no_binary = noBinary.toString(); } if (stripHeaders != null) { - _queryParams["strip_headers"] = stripHeaders.toString(); + _queryParams.strip_headers = stripHeaders.toString(); } if (version != null) { - _queryParams["version"] = serializers.tts.OctaveVersion.jsonOrThrow(version, { + _queryParams.version = serializers.tts.OctaveVersion.jsonOrThrow(version, { unrecognizedObjectKeys: "strip", omitUndefined: true, }); } if (apiKey != null) { - _queryParams["api_key"] = apiKey; + _queryParams.api_key = apiKey; } - let _headers: Record = mergeHeaders( + const _headers: Record = mergeHeaders( mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), headers, ); const socket = new core.ReconnectingWebSocket({ url: core.url.join( - (await core.Supplier.get(this._options["baseUrl"])) ?? - ((await core.Supplier.get(this._options["environment"])) ?? environments.HumeEnvironment.Prod).tts, + (await core.Supplier.get(this._options.baseUrl)) ?? + ((await core.Supplier.get(this._options.environment)) ?? environments.HumeEnvironment.Prod).tts, "/stream/input", ), protocols: [], @@ -134,7 +125,7 @@ export class StreamInput { return new StreamInputSocket({ socket }); } - protected async _getCustomAuthorizationHeaders() { + protected async _getCustomAuthorizationHeaders(): Promise> { const apiKeyValue = await core.Supplier.get(this._options.apiKey); return { "X-Hume-Api-Key": apiKeyValue }; } diff --git a/src/api/resources/tts/resources/streamInput/client/Socket.ts b/src/api/resources/tts/resources/streamInput/client/Socket.ts index 1e8e7460..1452e077 100644 --- a/src/api/resources/tts/resources/streamInput/client/Socket.ts +++ b/src/api/resources/tts/resources/streamInput/client/Socket.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 core from "../../../../../../core/index.js"; -import * as Hume from "../../../../../index.js"; -import { PublishTts } from "../../../../../../serialization/resources/tts/types/PublishTts.js"; import { fromJson } from "../../../../../../core/json.js"; import * as serializers from "../../../../../../serialization/index.js"; +import { PublishTts } from "../../../../../../serialization/resources/tts/types/PublishTts.js"; +import type * as Hume from "../../../../../index.js"; export declare namespace StreamInputSocket { export interface Args { @@ -75,7 +73,10 @@ export class StreamInputSocket { * }); * ``` */ - public on(event: T, callback: StreamInputSocket.EventHandlers[T]) { + public on( + event: T, + callback: StreamInputSocket.EventHandlers[T], + ): void { this.eventHandlers[event] = callback; } diff --git a/src/api/resources/tts/resources/voices/client/Client.ts b/src/api/resources/tts/resources/voices/client/Client.ts index ee8f49b1..9a6e88f9 100644 --- a/src/api/resources/tts/resources/voices/client/Client.ts +++ b/src/api/resources/tts/resources/voices/client/Client.ts @@ -1,37 +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 environments from "../../../../../../environments.js"; -import * as core from "../../../../../../core/index.js"; -import * as Hume 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 environments from "../../../../../../environments.js"; import * as errors from "../../../../../../errors/index.js"; +import * as serializers from "../../../../../../serialization/index.js"; +import * as Hume from "../../../../../index.js"; export declare namespace Voices { - export interface Options { - environment?: core.Supplier; - /** Specify a custom URL to connect the client to. */ - baseUrl?: core.Supplier; - apiKey?: core.Supplier; - /** Additional headers to include in requests. */ - headers?: Record | null | undefined>; - fetcher?: core.FetchFunction; - } + export interface Options extends BaseClientOptions {} - 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; - /** Additional query string parameters to include in the request. */ - queryParams?: Record; - /** Additional headers to include in the request. */ - headers?: Record | null | undefined>; - } + export interface RequestOptions extends BaseRequestOptions {} } export class Voices { @@ -57,25 +37,25 @@ export class Voices { public async list( request: Hume.tts.VoicesListRequest, requestOptions?: Voices.RequestOptions, - ): Promise> { + ): Promise> { const list = core.HttpResponsePromise.interceptFunction( async (request: Hume.tts.VoicesListRequest): Promise> => { const { provider, pageNumber, pageSize, ascendingOrder } = request; const _queryParams: Record = {}; - _queryParams["provider"] = serializers.tts.VoiceProvider.jsonOrThrow(provider, { + _queryParams.provider = serializers.tts.VoiceProvider.jsonOrThrow(provider, { unrecognizedObjectKeys: "strip", omitUndefined: true, }); if (pageNumber != null) { - _queryParams["page_number"] = pageNumber.toString(); + _queryParams.page_number = pageNumber.toString(); } if (pageSize != null) { - _queryParams["page_size"] = pageSize.toString(); + _queryParams.page_size = pageSize.toString(); } if (ascendingOrder != null) { - _queryParams["ascending_order"] = ascendingOrder.toString(); + _queryParams.ascending_order = ascendingOrder.toString(); } - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -90,9 +70,8 @@ export class Voices { method: "GET", headers: _headers, queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - 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, }); if (_response.ok) { @@ -147,7 +126,7 @@ export class Voices { ); let _offset = request?.pageNumber != null ? request?.pageNumber : 0; const dataWithRawResponse = await list(request).withRawResponse(); - return new core.Pageable({ + return new core.Page({ response: dataWithRawResponse.data, rawResponse: dataWithRawResponse.rawResponse, hasNextPage: (response) => (response?.voicesPage ?? []).length > 0, @@ -186,7 +165,7 @@ export class Voices { request: Hume.tts.PostedVoice, requestOptions?: Voices.RequestOptions, ): Promise> { - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -206,8 +185,8 @@ export class Voices { 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, }); if (_response.ok) { @@ -288,8 +267,8 @@ export class Voices { ): Promise> { const { name } = request; const _queryParams: Record = {}; - _queryParams["name"] = name; - let _headers: core.Fetcher.Args["headers"] = mergeHeaders( + _queryParams.name = name; + const _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ ...(await this._getCustomAuthorizationHeaders()) }), requestOptions?.headers, @@ -303,8 +282,8 @@ export class Voices { method: "DELETE", headers: _headers, queryParameters: { ..._queryParams, ...requestOptions?.queryParams }, - 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, }); if (_response.ok) { @@ -350,7 +329,7 @@ export class Voices { } } - protected async _getCustomAuthorizationHeaders() { + protected async _getCustomAuthorizationHeaders(): Promise> { const apiKeyValue = await core.Supplier.get(this._options.apiKey); return { "X-Hume-Api-Key": apiKeyValue }; } diff --git a/src/api/resources/tts/resources/voices/client/index.ts b/src/api/resources/tts/resources/voices/client/index.ts index 82648c6f..195f9aa8 100644 --- a/src/api/resources/tts/resources/voices/client/index.ts +++ b/src/api/resources/tts/resources/voices/client/index.ts @@ -1,2 +1 @@ -export {}; export * from "./requests/index.js"; diff --git a/src/api/resources/tts/resources/voices/client/requests/PostedVoice.ts b/src/api/resources/tts/resources/voices/client/requests/PostedVoice.ts index 0c604bfa..de32cb2d 100644 --- a/src/api/resources/tts/resources/voices/client/requests/PostedVoice.ts +++ b/src/api/resources/tts/resources/voices/client/requests/PostedVoice.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 diff --git a/src/api/resources/tts/resources/voices/client/requests/VoicesDeleteRequest.ts b/src/api/resources/tts/resources/voices/client/requests/VoicesDeleteRequest.ts index b19ea1a4..5d385a9d 100644 --- a/src/api/resources/tts/resources/voices/client/requests/VoicesDeleteRequest.ts +++ b/src/api/resources/tts/resources/voices/client/requests/VoicesDeleteRequest.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 diff --git a/src/api/resources/tts/resources/voices/client/requests/VoicesListRequest.ts b/src/api/resources/tts/resources/voices/client/requests/VoicesListRequest.ts index 26225fb3..3a3466bb 100644 --- a/src/api/resources/tts/resources/voices/client/requests/VoicesListRequest.ts +++ b/src/api/resources/tts/resources/voices/client/requests/VoicesListRequest.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 Hume from "../../../../../../index.js"; +import type * as Hume from "../../../../../../index.js"; /** * @example diff --git a/src/api/resources/tts/resources/voices/client/requests/index.ts b/src/api/resources/tts/resources/voices/client/requests/index.ts index c3ebbc5f..4a67c65d 100644 --- a/src/api/resources/tts/resources/voices/client/requests/index.ts +++ b/src/api/resources/tts/resources/voices/client/requests/index.ts @@ -1,3 +1,3 @@ -export { type VoicesListRequest } from "./VoicesListRequest.js"; -export { type PostedVoice } from "./PostedVoice.js"; -export { type VoicesDeleteRequest } from "./VoicesDeleteRequest.js"; +export type { PostedVoice } from "./PostedVoice.js"; +export type { VoicesDeleteRequest } from "./VoicesDeleteRequest.js"; +export type { VoicesListRequest } from "./VoicesListRequest.js"; diff --git a/src/api/resources/tts/types/AudioEncoding.ts b/src/api/resources/tts/types/AudioEncoding.ts index c7e21a1d..f059467e 100644 --- a/src/api/resources/tts/types/AudioEncoding.ts +++ b/src/api/resources/tts/types/AudioEncoding.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * Encoding information about the generated audio, including the `format` and `sample_rate`. diff --git a/src/api/resources/tts/types/AudioFormatType.ts b/src/api/resources/tts/types/AudioFormatType.ts index 6d929beb..335b0913 100644 --- a/src/api/resources/tts/types/AudioFormatType.ts +++ b/src/api/resources/tts/types/AudioFormatType.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 AudioFormatType = "mp3" | "pcm" | "wav"; export const AudioFormatType = { Mp3: "mp3", Pcm: "pcm", Wav: "wav", } as const; +export type AudioFormatType = (typeof AudioFormatType)[keyof typeof AudioFormatType]; diff --git a/src/api/resources/tts/types/ErrorResponse.ts b/src/api/resources/tts/types/ErrorResponse.ts index d554b643..bc1138fb 100644 --- a/src/api/resources/tts/types/ErrorResponse.ts +++ b/src/api/resources/tts/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 { error?: string; diff --git a/src/api/resources/tts/types/Format.ts b/src/api/resources/tts/types/Format.ts index 20a1c071..3a5782f8 100644 --- a/src/api/resources/tts/types/Format.ts +++ b/src/api/resources/tts/types/Format.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * Specifies the output audio file format. diff --git a/src/api/resources/tts/types/FormatMp3.ts b/src/api/resources/tts/types/FormatMp3.ts index 701efff5..490cb788 100644 --- a/src/api/resources/tts/types/FormatMp3.ts +++ b/src/api/resources/tts/types/FormatMp3.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 FormatMp3 { type: "mp3"; diff --git a/src/api/resources/tts/types/FormatPcm.ts b/src/api/resources/tts/types/FormatPcm.ts index 835fb0c8..c7604136 100644 --- a/src/api/resources/tts/types/FormatPcm.ts +++ b/src/api/resources/tts/types/FormatPcm.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 FormatPcm { type: "pcm"; diff --git a/src/api/resources/tts/types/FormatWav.ts b/src/api/resources/tts/types/FormatWav.ts index f9bbd00e..661b6424 100644 --- a/src/api/resources/tts/types/FormatWav.ts +++ b/src/api/resources/tts/types/FormatWav.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 FormatWav { type: "wav"; diff --git a/src/api/resources/tts/types/HttpValidationError.ts b/src/api/resources/tts/types/HttpValidationError.ts index 5fdc1c08..e2b89ffb 100644 --- a/src/api/resources/tts/types/HttpValidationError.ts +++ b/src/api/resources/tts/types/HttpValidationError.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface HttpValidationError { detail?: Hume.tts.ValidationError[]; diff --git a/src/api/resources/tts/types/MillisecondInterval.ts b/src/api/resources/tts/types/MillisecondInterval.ts index 683d02ea..02d81c35 100644 --- a/src/api/resources/tts/types/MillisecondInterval.ts +++ b/src/api/resources/tts/types/MillisecondInterval.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 MillisecondInterval { /** Start time of the interval in milliseconds. */ diff --git a/src/api/resources/tts/types/OctaveVersion.ts b/src/api/resources/tts/types/OctaveVersion.ts index e43690bc..57b9940e 100644 --- a/src/api/resources/tts/types/OctaveVersion.ts +++ b/src/api/resources/tts/types/OctaveVersion.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. /** * Selects the Octave model version used to synthesize speech for this request. If you omit this field, Hume automatically routes the request to the most appropriate model. Setting a specific version ensures stable and repeatable behavior across requests. @@ -9,8 +7,8 @@ * * For a comparison of Octave versions, see the [Octave versions](/docs/text-to-speech-tts/overview#octave-versions) section in the TTS overview. */ -export type OctaveVersion = "1" | "2"; export const OctaveVersion = { One: "1", Two: "2", } as const; +export type OctaveVersion = (typeof OctaveVersion)[keyof typeof OctaveVersion]; diff --git a/src/api/resources/tts/types/PostedContext.ts b/src/api/resources/tts/types/PostedContext.ts index 025a3b25..9ae5ecb0 100644 --- a/src/api/resources/tts/types/PostedContext.ts +++ b/src/api/resources/tts/types/PostedContext.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * Utterances to use as context for generating consistent speech style and prosody across multiple requests. These will not be converted to speech output. diff --git a/src/api/resources/tts/types/PostedContextWithGenerationId.ts b/src/api/resources/tts/types/PostedContextWithGenerationId.ts index d63bef07..f625f85e 100644 --- a/src/api/resources/tts/types/PostedContextWithGenerationId.ts +++ b/src/api/resources/tts/types/PostedContextWithGenerationId.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 PostedContextWithGenerationId { /** The ID of a prior TTS generation to use as context for generating consistent speech style and prosody across multiple requests. Including context may increase audio generation times. */ diff --git a/src/api/resources/tts/types/PostedContextWithUtterances.ts b/src/api/resources/tts/types/PostedContextWithUtterances.ts index a4a5006d..626e2b47 100644 --- a/src/api/resources/tts/types/PostedContextWithUtterances.ts +++ b/src/api/resources/tts/types/PostedContextWithUtterances.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface PostedContextWithUtterances { utterances: Hume.tts.PostedUtterance[]; diff --git a/src/api/resources/tts/types/PostedTts.ts b/src/api/resources/tts/types/PostedTts.ts index de34389e..8756c4de 100644 --- a/src/api/resources/tts/types/PostedTts.ts +++ b/src/api/resources/tts/types/PostedTts.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface PostedTts { /** Utterances to use as context for generating consistent speech style and prosody across multiple requests. These will not be converted to speech output. */ diff --git a/src/api/resources/tts/types/PostedUtterance.ts b/src/api/resources/tts/types/PostedUtterance.ts index 341426b3..4eaddd4b 100644 --- a/src/api/resources/tts/types/PostedUtterance.ts +++ b/src/api/resources/tts/types/PostedUtterance.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface PostedUtterance { /** diff --git a/src/api/resources/tts/types/PostedUtteranceVoice.ts b/src/api/resources/tts/types/PostedUtteranceVoice.ts index d270e1bd..fa08748c 100644 --- a/src/api/resources/tts/types/PostedUtteranceVoice.ts +++ b/src/api/resources/tts/types/PostedUtteranceVoice.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export type PostedUtteranceVoice = Hume.tts.PostedUtteranceVoiceWithId | Hume.tts.PostedUtteranceVoiceWithName; diff --git a/src/api/resources/tts/types/PostedUtteranceVoiceWithId.ts b/src/api/resources/tts/types/PostedUtteranceVoiceWithId.ts index 4d273b41..08684cdb 100644 --- a/src/api/resources/tts/types/PostedUtteranceVoiceWithId.ts +++ b/src/api/resources/tts/types/PostedUtteranceVoiceWithId.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface PostedUtteranceVoiceWithId { /** The unique ID associated with the **Voice**. */ diff --git a/src/api/resources/tts/types/PostedUtteranceVoiceWithName.ts b/src/api/resources/tts/types/PostedUtteranceVoiceWithName.ts index bae64cdc..efc944fb 100644 --- a/src/api/resources/tts/types/PostedUtteranceVoiceWithName.ts +++ b/src/api/resources/tts/types/PostedUtteranceVoiceWithName.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface PostedUtteranceVoiceWithName { /** The name of a **Voice**. */ diff --git a/src/api/resources/tts/types/PublishTts.ts b/src/api/resources/tts/types/PublishTts.ts index 9e324bfd..43e7f2a8 100644 --- a/src/api/resources/tts/types/PublishTts.ts +++ b/src/api/resources/tts/types/PublishTts.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * Input message type for the TTS stream. diff --git a/src/api/resources/tts/types/ReturnGeneration.ts b/src/api/resources/tts/types/ReturnGeneration.ts index 75c330b8..a04ebf1a 100644 --- a/src/api/resources/tts/types/ReturnGeneration.ts +++ b/src/api/resources/tts/types/ReturnGeneration.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface ReturnGeneration { /** The generated audio output in the requested format, encoded as a base64 string. */ diff --git a/src/api/resources/tts/types/ReturnPagedVoices.ts b/src/api/resources/tts/types/ReturnPagedVoices.ts index fd3b55b9..bad520b2 100644 --- a/src/api/resources/tts/types/ReturnPagedVoices.ts +++ b/src/api/resources/tts/types/ReturnPagedVoices.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * A paginated list Octave voices available for text-to-speech diff --git a/src/api/resources/tts/types/ReturnTts.ts b/src/api/resources/tts/types/ReturnTts.ts index f0fc9460..37407099 100644 --- a/src/api/resources/tts/types/ReturnTts.ts +++ b/src/api/resources/tts/types/ReturnTts.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface ReturnTts { generations: Hume.tts.ReturnGeneration[]; diff --git a/src/api/resources/tts/types/ReturnVoice.ts b/src/api/resources/tts/types/ReturnVoice.ts index b9bd5c19..5558c6f6 100644 --- a/src/api/resources/tts/types/ReturnVoice.ts +++ b/src/api/resources/tts/types/ReturnVoice.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * An Octave voice available for text-to-speech diff --git a/src/api/resources/tts/types/Snippet.ts b/src/api/resources/tts/types/Snippet.ts index 826b505e..ee125778 100644 --- a/src/api/resources/tts/types/Snippet.ts +++ b/src/api/resources/tts/types/Snippet.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface Snippet { /** The segmented audio output in the requested format, encoded as a base64 string. */ diff --git a/src/api/resources/tts/types/SnippetAudioChunk.ts b/src/api/resources/tts/types/SnippetAudioChunk.ts index 56f85b7b..6398e959 100644 --- a/src/api/resources/tts/types/SnippetAudioChunk.ts +++ b/src/api/resources/tts/types/SnippetAudioChunk.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * Metadata for a chunk of generated audio. diff --git a/src/api/resources/tts/types/Timestamp.ts b/src/api/resources/tts/types/Timestamp.ts index ed9eb4cd..935b4e03 100644 --- a/src/api/resources/tts/types/Timestamp.ts +++ b/src/api/resources/tts/types/Timestamp.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface Timestamp { text: string; diff --git a/src/api/resources/tts/types/TimestampMessage.ts b/src/api/resources/tts/types/TimestampMessage.ts index ae15b46f..05fa7c80 100644 --- a/src/api/resources/tts/types/TimestampMessage.ts +++ b/src/api/resources/tts/types/TimestampMessage.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; /** * A word or phoneme level timestamp for the generated audio. diff --git a/src/api/resources/tts/types/TimestampType.ts b/src/api/resources/tts/types/TimestampType.ts index 069e9c73..4a85bd8f 100644 --- a/src/api/resources/tts/types/TimestampType.ts +++ b/src/api/resources/tts/types/TimestampType.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 TimestampType = "word" | "phoneme"; export const TimestampType = { Word: "word", Phoneme: "phoneme", } as const; +export type TimestampType = (typeof TimestampType)[keyof typeof TimestampType]; diff --git a/src/api/resources/tts/types/TtsOutput.ts b/src/api/resources/tts/types/TtsOutput.ts index 091649b6..b71ddae6 100644 --- a/src/api/resources/tts/types/TtsOutput.ts +++ b/src/api/resources/tts/types/TtsOutput.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export type TtsOutput = Hume.tts.SnippetAudioChunk | Hume.tts.TimestampMessage; diff --git a/src/api/resources/tts/types/ValidationError.ts b/src/api/resources/tts/types/ValidationError.ts index c46235ff..1f980773 100644 --- a/src/api/resources/tts/types/ValidationError.ts +++ b/src/api/resources/tts/types/ValidationError.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 Hume from "../../../index.js"; +import type * as Hume from "../../../index.js"; export interface ValidationError { loc: Hume.tts.ValidationErrorLocItem[]; diff --git a/src/api/resources/tts/types/ValidationErrorLocItem.ts b/src/api/resources/tts/types/ValidationErrorLocItem.ts index c97f7dbe..f27b2030 100644 --- a/src/api/resources/tts/types/ValidationErrorLocItem.ts +++ b/src/api/resources/tts/types/ValidationErrorLocItem.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 ValidationErrorLocItem = string | number; diff --git a/src/api/resources/tts/types/VoiceProvider.ts b/src/api/resources/tts/types/VoiceProvider.ts index 2c2f5cc2..da6ee1cb 100644 --- a/src/api/resources/tts/types/VoiceProvider.ts +++ b/src/api/resources/tts/types/VoiceProvider.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 VoiceProvider = "HUME_AI" | "CUSTOM_VOICE"; export const VoiceProvider = { HumeAi: "HUME_AI", CustomVoice: "CUSTOM_VOICE", } as const; +export type VoiceProvider = (typeof VoiceProvider)[keyof typeof VoiceProvider]; diff --git a/src/api/resources/tts/types/index.ts b/src/api/resources/tts/types/index.ts index 849979de..e3f3c938 100644 --- a/src/api/resources/tts/types/index.ts +++ b/src/api/resources/tts/types/index.ts @@ -1,32 +1,32 @@ +export * from "./AudioEncoding.js"; export * from "./AudioFormatType.js"; -export * from "./PublishTts.js"; +export * from "./ErrorResponse.js"; +export * from "./Format.js"; +export * from "./FormatMp3.js"; +export * from "./FormatPcm.js"; +export * from "./FormatWav.js"; +export * from "./HttpValidationError.js"; export * from "./MillisecondInterval.js"; -export * from "./TimestampMessage.js"; -export * from "./SnippetAudioChunk.js"; -export * from "./Timestamp.js"; -export * from "./TimestampType.js"; -export * from "./PostedUtteranceVoiceWithId.js"; -export * from "./PostedUtteranceVoiceWithName.js"; -export * from "./VoiceProvider.js"; -export * from "./PostedUtteranceVoice.js"; export * from "./OctaveVersion.js"; -export * from "./TtsOutput.js"; -export * from "./Snippet.js"; +export * from "./PostedContext.js"; export * from "./PostedContextWithGenerationId.js"; export * from "./PostedContextWithUtterances.js"; -export * from "./AudioEncoding.js"; -export * from "./ReturnGeneration.js"; -export * from "./HttpValidationError.js"; -export * from "./FormatMp3.js"; -export * from "./PostedContext.js"; -export * from "./Format.js"; export * from "./PostedTts.js"; +export * from "./PostedUtterance.js"; +export * from "./PostedUtteranceVoice.js"; +export * from "./PostedUtteranceVoiceWithId.js"; +export * from "./PostedUtteranceVoiceWithName.js"; +export * from "./PublishTts.js"; +export * from "./ReturnGeneration.js"; +export * from "./ReturnPagedVoices.js"; export * from "./ReturnTts.js"; export * from "./ReturnVoice.js"; -export * from "./FormatPcm.js"; -export * from "./PostedUtterance.js"; -export * from "./ValidationErrorLocItem.js"; +export * from "./Snippet.js"; +export * from "./SnippetAudioChunk.js"; +export * from "./Timestamp.js"; +export * from "./TimestampMessage.js"; +export * from "./TimestampType.js"; +export * from "./TtsOutput.js"; export * from "./ValidationError.js"; -export * from "./FormatWav.js"; -export * from "./ErrorResponse.js"; -export * from "./ReturnPagedVoices.js"; +export * from "./ValidationErrorLocItem.js"; +export * from "./VoiceProvider.js"; 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 39e69143..202e134f 100644 --- a/src/core/fetcher/Fetcher.ts +++ b/src/core/fetcher/Fetcher.ts @@ -1,6 +1,8 @@ import { toJson } from "../json.js"; -import { APIResponse } from "./APIResponse.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"; @@ -8,7 +10,6 @@ import { getResponseBody } from "./getResponseBody.js"; import { makeRequest } from "./makeRequest.js"; import { abortRawResponse, toRawResponse, unknownRawResponse } from "./RawResponse.js"; import { requestWithRetries } from "./requestWithRetries.js"; -import { Supplier } from "./Supplier.js"; export type FetchFunction = (args: Fetcher.Args) => Promise>; @@ -17,7 +18,7 @@ export declare namespace Fetcher { url: string; method: string; contentType?: string; - headers?: Record | null | undefined>; + headers?: Record | null | undefined>; queryParameters?: Record; body?: unknown; timeoutMs?: number; @@ -27,6 +28,7 @@ export declare namespace Fetcher { requestType?: "json" | "file" | "bytes"; responseType?: "json" | "blob" | "sse" | "streaming" | "text" | "arrayBuffer" | "binary-response"; duplex?: "half"; + endpointMetadata?: EndpointMetadata; } export type Error = FailedStatusCodeError | NonJsonError | TimeoutError | UnknownError; @@ -64,7 +66,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; @@ -121,7 +123,7 @@ export async function fetcherImpl(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/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 a131e346..c3bc6da2 100644 --- a/src/core/fetcher/index.ts +++ b/src/core/fetcher/index.ts @@ -1,5 +1,7 @@ export type { APIResponse } from "./APIResponse.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"; 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 6728d339..3d30bd1c 100644 --- a/src/core/fetcher/requestWithRetries.ts +++ b/src/core/fetcher/requestWithRetries.ts @@ -3,46 +3,53 @@ 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) + // 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 (!isNaN(retryAfterSeconds)) { - // Convert seconds to milliseconds and cap at MAX_RETRY_DELAY + 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 (!isNaN(retryAfterDate.getTime())) { + if (!Number.isNaN(retryAfterDate.getTime())) { const delay = retryAfterDate.getTime() - Date.now(); - return Math.min(Math.max(delay, 0), MAX_RETRY_DELAY); + if (delay > 0) { + return Math.min(Math.max(delay, 0), MAX_RETRY_DELAY); + } } } - // Then check for industry-standard X-RateLimit-Reset header + // 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 (!isNaN(resetTime)) { + if (!Number.isNaN(resetTime)) { // Assume Unix timestamp in epoch seconds const delay = resetTime * 1000 - Date.now(); if (delay > 0) { - return Math.min(delay, MAX_RETRY_DELAY); + return addPositiveJitter(Math.min(delay, MAX_RETRY_DELAY)); } } } - // Fall back to exponential backoff - return Math.min(INITIAL_RETRY_DELAY * Math.pow(2, retryAttempt), 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( @@ -53,13 +60,10 @@ export async function requestWithRetries( for (let i = 0; i < maxRetries; ++i) { if ([408, 429].includes(response.status) || response.status >= 500) { - // Get delay from headers or fall back to exponential backoff - const baseDelay = getRetryDelayFromHeaders(response, i); - - // 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/form-data-utils/FormDataWrapper.ts b/src/core/form-data-utils/FormDataWrapper.ts index fa1ca9b9..bea0cf82 100644 --- a/src/core/form-data-utils/FormDataWrapper.ts +++ b/src/core/form-data-utils/FormDataWrapper.ts @@ -1,27 +1,52 @@ +import { toMultipartDataPart, type Uploadable } from "../../core/file/index.js"; import { toJson } from "../../core/json.js"; import { RUNTIME } from "../runtime/index.js"; -type NamedValue = { - name: string; -} & unknown; +interface FormDataRequest { + body: Body; + headers: Record; + duplex?: "half"; +} -type PathedValue = { - path: string | { toString(): string }; -} & unknown; +export async function newFormData(): Promise { + return new FormDataWrapper(); +} + +export class FormDataWrapper { + private fd: FormData = new FormData(); + + public async setup(): Promise { + // noop + } + + public append(key: string, value: unknown): void { + this.fd.append(key, String(value)); + } + + public async appendFile(key: string, value: Uploadable): Promise { + const { data, filename, contentType } = await toMultipartDataPart(value); + const blob = await convertToBlob(data, contentType); + if (filename) { + this.fd.append(key, blob, filename); + } else { + this.fd.append(key, blob); + } + } + + public getRequest(): FormDataRequest { + return { + body: this.fd, + headers: {}, + duplex: "half" as const, + }; + } +} type StreamLike = { read?: () => unknown; pipe?: (dest: unknown) => unknown; } & unknown; -function isNamedValue(value: unknown): value is NamedValue { - return typeof value === "object" && value != null && "name" in value; -} - -function isPathedValue(value: unknown): value is PathedValue { - return typeof value === "object" && value != null && "path" in value; -} - function isStreamLike(value: unknown): value is StreamLike { return typeof value === "object" && value != null && ("read" in value || "pipe" in value); } @@ -38,19 +63,6 @@ function isArrayBufferView(value: unknown): value is ArrayBufferView { return ArrayBuffer.isView(value); } -interface FormDataRequest { - body: Body; - headers: Record; - duplex?: "half"; -} - -function getLastPathSegment(pathStr: string): string { - const lastForwardSlash = pathStr.lastIndexOf("/"); - const lastBackSlash = pathStr.lastIndexOf("\\"); - const lastSlashIndex = Math.max(lastForwardSlash, lastBackSlash); - return lastSlashIndex >= 0 ? pathStr.substring(lastSlashIndex + 1) : pathStr; -} - async function streamToBuffer(stream: unknown): Promise { if (RUNTIME.type === "node") { const { Readable } = await import("stream"); @@ -90,87 +102,39 @@ async function streamToBuffer(stream: unknown): Promise { } throw new Error( - "Unsupported stream type: " + typeof stream + ". Expected Node.js Readable stream or Web ReadableStream.", + `Unsupported stream type: ${typeof stream}. Expected Node.js Readable stream or Web ReadableStream.`, ); } -export async function newFormData(): Promise { - return new FormDataWrapper(); -} - -export class FormDataWrapper { - private fd: FormData = new FormData(); - - public async setup(): Promise { - // noop +async function convertToBlob(value: unknown, contentType?: string): Promise { + if (isStreamLike(value) || isReadableStream(value)) { + const buffer = await streamToBuffer(value); + return new Blob([buffer], { type: contentType }); } - public append(key: string, value: unknown): void { - this.fd.append(key, String(value)); + if (value instanceof Blob) { + return value; } - private getFileName(value: unknown, filename?: string): string | undefined { - if (filename != null) { - return filename; - } - if (isNamedValue(value)) { - return value.name; - } - if (isPathedValue(value) && value.path) { - return getLastPathSegment(value.path.toString()); - } - return undefined; + if (isBuffer(value)) { + return new Blob([value], { type: contentType }); } - private async convertToBlob(value: unknown): Promise { - if (isStreamLike(value) || isReadableStream(value)) { - const buffer = await streamToBuffer(value); - return new Blob([buffer]); - } - - if (value instanceof Blob) { - return value; - } - - if (isBuffer(value)) { - return new Blob([value]); - } - - if (value instanceof ArrayBuffer) { - return new Blob([value]); - } - - if (isArrayBufferView(value)) { - return new Blob([value]); - } - - if (typeof value === "string") { - return new Blob([value]); - } - - if (typeof value === "object" && value !== null) { - return new Blob([toJson(value)], { type: "application/json" }); - } - - return new Blob([String(value)]); + if (value instanceof ArrayBuffer) { + return new Blob([value], { type: contentType }); } - public async appendFile(key: string, value: unknown, fileName?: string): Promise { - fileName = this.getFileName(value, fileName); - const blob = await this.convertToBlob(value); + if (isArrayBufferView(value)) { + return new Blob([value], { type: contentType }); + } - if (fileName) { - this.fd.append(key, blob, fileName); - } else { - this.fd.append(key, blob); - } + if (typeof value === "string") { + return new Blob([value], { type: contentType }); } - public getRequest(): FormDataRequest { - return { - body: this.fd, - headers: {}, - duplex: "half" as const, - }; + if (typeof value === "object" && value !== null) { + return new Blob([toJson(value)], { type: contentType ?? "application/json" }); } + + return new Blob([String(value)], { type: contentType }); } diff --git a/src/core/headers.ts b/src/core/headers.ts index 85836147..a723d228 100644 --- a/src/core/headers.ts +++ b/src/core/headers.ts @@ -1,13 +1,7 @@ -import * as core from "./index.js"; - -export function mergeHeaders( - ...headersArray: ( - | Record | null | undefined> - | null - | 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) @@ -22,14 +16,10 @@ export function mergeHeaders( return result; } -export function mergeOnlyDefinedHeaders( - ...headersArray: ( - | Record | null | undefined> - | null - | 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) diff --git a/src/core/index.ts b/src/core/index.ts index a83ceba0..d420ef17 100644 --- a/src/core/index.ts +++ b/src/core/index.ts @@ -1,10 +1,10 @@ export * from "./fetcher/index.js"; +export * as file from "./file/index.js"; +export * from "./form-data-utils/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 "./stream/index.js"; +export * as url from "./url/index.js"; export * from "./utils/index.js"; -export * from "./pagination/index.js"; -export * from "./form-data-utils/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/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 9931c96c..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 { BaseObjectSchema, ObjectSchema } from "../object/types.js"; +import type { BaseObjectSchema, ObjectSchema } from "../object/types.js"; import { getObjectLikeUtils } from "../object-like/index.js"; import { getSchemaUtils } from "../schema-utils/index.js"; -import { constructLazyBaseSchema, getMemoizedSchema, SchemaGetter } 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/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/object.ts b/src/core/schemas/builders/object/object.ts index 847d71b3..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,7 +9,7 @@ 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, inferObjectSchemaFromPropertySchemas, inferParsedObjectFromPropertySchemas, diff --git a/src/core/schemas/builders/object/objectWithoutOptionalProperties.ts b/src/core/schemas/builders/object/objectWithoutOptionalProperties.ts index 8e9d1642..4d39c862 100644 --- a/src/core/schemas/builders/object/objectWithoutOptionalProperties.ts +++ b/src/core/schemas/builders/object/objectWithoutOptionalProperties.ts @@ -1,5 +1,5 @@ import { object } from "./object.js"; -import { +import type { inferParsedPropertySchema, inferRawObjectFromPropertySchemas, ObjectSchema, 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 9372ae6f..735d14fc 100644 --- a/src/core/schemas/builders/object/types.ts +++ b/src/core/schemas/builders/object/types.ts @@ -1,8 +1,8 @@ -import { BaseSchema, inferParsed, inferRaw, Schema } 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/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 4c7a0be0..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 { inferParsed, inferRaw, Schema } 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/types.ts b/src/core/schemas/builders/union/types.ts index 1eac278d..7bfdd636 100644 --- a/src/core/schemas/builders/union/types.ts +++ b/src/core/schemas/builders/union/types.ts @@ -1,5 +1,5 @@ -import { inferParsedObject, inferRawObject, ObjectSchema } 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 754ac8cd..509658e0 100644 --- a/src/core/schemas/builders/union/union.ts +++ b/src/core/schemas/builders/union/union.ts @@ -1,14 +1,14 @@ -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 { getObjectLikeUtils, ObjectLikeSchema } 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 { +import type { Discriminant } from "./discriminant.js"; +import type { inferParsedDiscriminant, inferParsedUnion, inferRawDiscriminant, diff --git a/src/core/schemas/utils/createIdentitySchemaCreator.ts b/src/core/schemas/utils/createIdentitySchemaCreator.ts index 854c239f..9aa4ed50 100644 --- a/src/core/schemas/utils/createIdentitySchemaCreator.ts +++ b/src/core/schemas/utils/createIdentitySchemaCreator.ts @@ -1,5 +1,5 @@ import { getSchemaUtils } from "../builders/schema-utils/index.js"; -import { BaseSchema, MaybeValid, Schema, SchemaOptions, SchemaType } from "../Schema.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/stream/Stream.ts b/src/core/stream/Stream.ts index e41f05ab..4d4b97fe 100644 --- a/src/core/stream/Stream.ts +++ b/src/core/stream/Stream.ts @@ -43,6 +43,7 @@ export class Stream implements AsyncIterable { private messageTerminator: string; private streamTerminator: string | undefined; private controller: AbortController = new AbortController(); + private decoder: TextDecoder | undefined; constructor({ stream, parse, eventShape, signal }: Stream.Args & { parse: (val: unknown) => Promise }) { this.stream = stream; @@ -55,6 +56,11 @@ export class Stream implements AsyncIterable { this.messageTerminator = eventShape.messageTerminator; } signal?.addEventListener("abort", () => this.controller.abort()); + + // Initialize shared TextDecoder + if (typeof TextDecoder !== "undefined") { + this.decoder = new TextDecoder("utf-8"); + } } private async *iterMessages(): AsyncGenerator { @@ -67,7 +73,7 @@ export class Stream implements AsyncIterable { let terminatorIndex: number; while ((terminatorIndex = buf.indexOf(this.messageTerminator)) >= 0) { - let line = buf.slice(0, terminatorIndex + 1); + let line = buf.slice(0, terminatorIndex); buf = buf.slice(terminatorIndex + this.messageTerminator.length); if (!line.trim()) { @@ -101,10 +107,9 @@ export class Stream implements AsyncIterable { private decodeChunk(chunk: any): string { let decoded = ""; - // If TextDecoder is present, use it - if (typeof TextDecoder !== "undefined") { - const decoder = new TextDecoder("utf8"); - decoded += decoder.decode(chunk); + // If TextDecoder is available, use the streaming decoder instance + if (this.decoder != null) { + decoded += this.decoder.decode(chunk, { stream: true }); } // Buffer is present in Node.js environment else if (RUNTIME.type === "node" && typeof chunk !== "undefined") { 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 b8b8c767..dcc3760c 100644 --- a/src/core/websocket/ws.ts +++ b/src/core/websocket/ws.ts @@ -170,16 +170,16 @@ export class ReconnectingWebSocket { return 3; } - get CONNECTING() { + get CONNECTING(): number { return ReconnectingWebSocket.CONNECTING; } - get OPEN() { + get OPEN(): number { return ReconnectingWebSocket.OPEN; } - get CLOSING() { + get CLOSING(): number { return ReconnectingWebSocket.CLOSING; } - get CLOSED() { + get CLOSED(): number { return ReconnectingWebSocket.CLOSED; } @@ -280,7 +280,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(); @@ -299,7 +299,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; @@ -314,7 +314,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); diff --git a/src/environments.ts b/src/environments.ts index 57135614..6ea72c07 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 HumeEnvironmentUrls { base: string; diff --git a/src/errors/HumeError.ts b/src/errors/HumeError.ts index ec165540..8a9185d7 100644 --- a/src/errors/HumeError.ts +++ b/src/errors/HumeError.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 HumeError 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/HumeTimeoutError.ts b/src/errors/HumeTimeoutError.ts index 48e4a7a0..ead6e638 100644 --- a/src/errors/HumeTimeoutError.ts +++ b/src/errors/HumeTimeoutError.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 HumeTimeoutError extends Error { constructor(message: string) { diff --git a/src/index.ts b/src/index.ts index 47cacac3..4d199020 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,7 +1,8 @@ export * as Hume from "./api/index.js"; export * as serialization from "./serialization/index.js"; export { HumeError, HumeTimeoutError } from "./errors/index.js"; -export { HumeEnvironment, HumeEnvironmentUrls } from "./environments.js"; +export { HumeEnvironment } from "./environments.js"; +export type { HumeEnvironmentUrls } from "./environments.js"; export * from "./exports.js"; export * from "./wrapper/index.js"; diff --git a/src/serialization/resources/empathicVoice/resources/chat/client/socket/ChatSocketResponse.ts b/src/serialization/resources/empathicVoice/resources/chat/client/socket/ChatSocketResponse.ts index f15e0e5f..74806ade 100644 --- a/src/serialization/resources/empathicVoice/resources/chat/client/socket/ChatSocketResponse.ts +++ b/src/serialization/resources/empathicVoice/resources/chat/client/socket/ChatSocketResponse.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 Hume from "../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../api/index.js"; import * as core from "../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../index.js"; import { SubscribeEvent } from "../../types/SubscribeEvent.js"; export const ChatSocketResponse: core.serialization.Schema< diff --git a/src/serialization/resources/empathicVoice/resources/chat/types/PublishEvent.ts b/src/serialization/resources/empathicVoice/resources/chat/types/PublishEvent.ts index 47cda7ba..c67ef8b8 100644 --- a/src/serialization/resources/empathicVoice/resources/chat/types/PublishEvent.ts +++ b/src/serialization/resources/empathicVoice/resources/chat/types/PublishEvent.ts @@ -1,18 +1,16 @@ -/** - * 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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; -import { AudioInput } from "../../../types/AudioInput.js"; -import { SessionSettings } from "../../../types/SessionSettings.js"; -import { UserInput } from "../../../types/UserInput.js"; +import type * as serializers from "../../../../../index.js"; import { AssistantInput } from "../../../types/AssistantInput.js"; -import { ToolResponseMessage } from "../../../types/ToolResponseMessage.js"; -import { ToolErrorMessage } from "../../../types/ToolErrorMessage.js"; +import { AudioInput } from "../../../types/AudioInput.js"; import { PauseAssistantMessage } from "../../../types/PauseAssistantMessage.js"; import { ResumeAssistantMessage } from "../../../types/ResumeAssistantMessage.js"; +import { SessionSettings } from "../../../types/SessionSettings.js"; +import { ToolErrorMessage } from "../../../types/ToolErrorMessage.js"; +import { ToolResponseMessage } from "../../../types/ToolResponseMessage.js"; +import { UserInput } from "../../../types/UserInput.js"; export const PublishEvent: core.serialization.Schema< serializers.empathicVoice.PublishEvent.Raw, diff --git a/src/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.ts b/src/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.ts index 32a6bde5..67fdc7ab 100644 --- a/src/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.ts +++ b/src/serialization/resources/empathicVoice/resources/chat/types/SubscribeEvent.ts @@ -1,21 +1,19 @@ -/** - * 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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { AssistantEnd } from "../../../types/AssistantEnd.js"; import { AssistantMessage } from "../../../types/AssistantMessage.js"; import { AssistantProsody } from "../../../types/AssistantProsody.js"; import { AudioOutput } from "../../../types/AudioOutput.js"; import { ChatMetadata } from "../../../types/ChatMetadata.js"; -import { WebSocketError } from "../../../types/WebSocketError.js"; -import { UserInterruption } from "../../../types/UserInterruption.js"; -import { UserMessage } from "../../../types/UserMessage.js"; import { ToolCallMessage } from "../../../types/ToolCallMessage.js"; -import { ToolResponseMessage } from "../../../types/ToolResponseMessage.js"; import { ToolErrorMessage } from "../../../types/ToolErrorMessage.js"; +import { ToolResponseMessage } from "../../../types/ToolResponseMessage.js"; +import { UserInterruption } from "../../../types/UserInterruption.js"; +import { UserMessage } from "../../../types/UserMessage.js"; +import { WebSocketError } from "../../../types/WebSocketError.js"; export const SubscribeEvent: core.serialization.Schema< serializers.empathicVoice.SubscribeEvent.Raw, diff --git a/src/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.ts b/src/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.ts index fffcc5e9..987301fe 100644 --- a/src/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.ts +++ b/src/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfig.ts @@ -1,20 +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 serializers from "../../../../../../index.js"; -import * as Hume from "../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../api/index.js"; import * as core from "../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../index.js"; +import { PostedBuiltinTool } from "../../../../types/PostedBuiltinTool.js"; import { PostedConfigPromptSpec } from "../../../../types/PostedConfigPromptSpec.js"; -import { VoiceRef } from "../../../../types/VoiceRef.js"; -import { PostedLanguageModel } from "../../../../types/PostedLanguageModel.js"; import { PostedEllmModel } from "../../../../types/PostedEllmModel.js"; -import { PostedUserDefinedToolSpec } from "../../../../types/PostedUserDefinedToolSpec.js"; -import { PostedBuiltinTool } from "../../../../types/PostedBuiltinTool.js"; import { PostedEventMessageSpecs } from "../../../../types/PostedEventMessageSpecs.js"; +import { PostedLanguageModel } from "../../../../types/PostedLanguageModel.js"; import { PostedNudgeSpec } from "../../../../types/PostedNudgeSpec.js"; import { PostedTimeoutSpecs } from "../../../../types/PostedTimeoutSpecs.js"; +import { PostedUserDefinedToolSpec } from "../../../../types/PostedUserDefinedToolSpec.js"; import { PostedWebhookSpec } from "../../../../types/PostedWebhookSpec.js"; +import { VoiceRef } from "../../../../types/VoiceRef.js"; export const PostedConfig: core.serialization.Schema< serializers.empathicVoice.PostedConfig.Raw, diff --git a/src/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigName.ts b/src/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigName.ts index 8e873039..20bde02f 100644 --- a/src/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigName.ts +++ b/src/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigName.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 Hume from "../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../api/index.js"; import * as core from "../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../index.js"; export const PostedConfigName: core.serialization.Schema< serializers.empathicVoice.PostedConfigName.Raw, diff --git a/src/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.ts b/src/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.ts index 3ed39b7d..ccff5706 100644 --- a/src/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.ts +++ b/src/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.ts @@ -1,20 +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 serializers from "../../../../../../index.js"; -import * as Hume from "../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../api/index.js"; import * as core from "../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../index.js"; +import { PostedBuiltinTool } from "../../../../types/PostedBuiltinTool.js"; import { PostedConfigPromptSpec } from "../../../../types/PostedConfigPromptSpec.js"; -import { VoiceRef } from "../../../../types/VoiceRef.js"; -import { PostedLanguageModel } from "../../../../types/PostedLanguageModel.js"; import { PostedEllmModel } from "../../../../types/PostedEllmModel.js"; -import { PostedUserDefinedToolSpec } from "../../../../types/PostedUserDefinedToolSpec.js"; -import { PostedBuiltinTool } from "../../../../types/PostedBuiltinTool.js"; import { PostedEventMessageSpecs } from "../../../../types/PostedEventMessageSpecs.js"; -import { PostedTimeoutSpecs } from "../../../../types/PostedTimeoutSpecs.js"; +import { PostedLanguageModel } from "../../../../types/PostedLanguageModel.js"; import { PostedNudgeSpec } from "../../../../types/PostedNudgeSpec.js"; +import { PostedTimeoutSpecs } from "../../../../types/PostedTimeoutSpecs.js"; +import { PostedUserDefinedToolSpec } from "../../../../types/PostedUserDefinedToolSpec.js"; import { PostedWebhookSpec } from "../../../../types/PostedWebhookSpec.js"; +import { VoiceRef } from "../../../../types/VoiceRef.js"; export const PostedConfigVersion: core.serialization.Schema< serializers.empathicVoice.PostedConfigVersion.Raw, diff --git a/src/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.ts b/src/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.ts index 0e3a4d40..1bacf3f1 100644 --- a/src/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.ts +++ b/src/serialization/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersionDescription.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 Hume from "../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../api/index.js"; import * as core from "../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../index.js"; export const PostedConfigVersionDescription: core.serialization.Schema< serializers.empathicVoice.PostedConfigVersionDescription.Raw, diff --git a/src/serialization/resources/empathicVoice/resources/configs/client/requests/index.ts b/src/serialization/resources/empathicVoice/resources/configs/client/requests/index.ts index 12e2691c..d6b8a851 100644 --- a/src/serialization/resources/empathicVoice/resources/configs/client/requests/index.ts +++ b/src/serialization/resources/empathicVoice/resources/configs/client/requests/index.ts @@ -1,4 +1,4 @@ export { PostedConfig } from "./PostedConfig.js"; -export { PostedConfigVersion } from "./PostedConfigVersion.js"; export { PostedConfigName } from "./PostedConfigName.js"; +export { PostedConfigVersion } from "./PostedConfigVersion.js"; export { PostedConfigVersionDescription } from "./PostedConfigVersionDescription.js"; diff --git a/src/serialization/resources/empathicVoice/resources/index.ts b/src/serialization/resources/empathicVoice/resources/index.ts index 896ae4f1..44a2c070 100644 --- a/src/serialization/resources/empathicVoice/resources/index.ts +++ b/src/serialization/resources/empathicVoice/resources/index.ts @@ -1,9 +1,9 @@ -export * as chat from "./chat/index.js"; export * from "./chat/client/socket/index.js"; +export * as chat from "./chat/index.js"; export * from "./chat/types/index.js"; -export * as tools from "./tools/index.js"; +export * from "./configs/client/requests/index.js"; +export * as configs from "./configs/index.js"; +export * from "./prompts/client/requests/index.js"; export * as prompts from "./prompts/index.js"; export * from "./tools/client/requests/index.js"; -export * from "./prompts/client/requests/index.js"; -export * as configs from "./configs/index.js"; -export * from "./configs/client/requests/index.js"; +export * as tools from "./tools/index.js"; diff --git a/src/serialization/resources/empathicVoice/resources/prompts/client/createPrompt.ts b/src/serialization/resources/empathicVoice/resources/prompts/client/createPrompt.ts index 6082349a..4595a7cd 100644 --- a/src/serialization/resources/empathicVoice/resources/prompts/client/createPrompt.ts +++ b/src/serialization/resources/empathicVoice/resources/prompts/client/createPrompt.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 Hume from "../../../../../../api/index.js"; -import * as core from "../../../../../../core/index.js"; +import type * as Hume from "../../../../../../api/index.js"; +import type * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { ReturnPrompt } from "../../../types/ReturnPrompt.js"; export const Response: core.serialization.Schema< diff --git a/src/serialization/resources/empathicVoice/resources/prompts/client/createPromptVersion.ts b/src/serialization/resources/empathicVoice/resources/prompts/client/createPromptVersion.ts index 29b797ec..2febf797 100644 --- a/src/serialization/resources/empathicVoice/resources/prompts/client/createPromptVersion.ts +++ b/src/serialization/resources/empathicVoice/resources/prompts/client/createPromptVersion.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 Hume from "../../../../../../api/index.js"; -import * as core from "../../../../../../core/index.js"; +import type * as Hume from "../../../../../../api/index.js"; +import type * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { ReturnPrompt } from "../../../types/ReturnPrompt.js"; export const Response: core.serialization.Schema< diff --git a/src/serialization/resources/empathicVoice/resources/prompts/client/getPromptVersion.ts b/src/serialization/resources/empathicVoice/resources/prompts/client/getPromptVersion.ts index 416ef442..39e0d3f3 100644 --- a/src/serialization/resources/empathicVoice/resources/prompts/client/getPromptVersion.ts +++ b/src/serialization/resources/empathicVoice/resources/prompts/client/getPromptVersion.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 Hume from "../../../../../../api/index.js"; -import * as core from "../../../../../../core/index.js"; +import type * as Hume from "../../../../../../api/index.js"; +import type * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { ReturnPrompt } from "../../../types/ReturnPrompt.js"; export const Response: core.serialization.Schema< diff --git a/src/serialization/resources/empathicVoice/resources/prompts/client/index.ts b/src/serialization/resources/empathicVoice/resources/prompts/client/index.ts index 8539be66..e52eca33 100644 --- a/src/serialization/resources/empathicVoice/resources/prompts/client/index.ts +++ b/src/serialization/resources/empathicVoice/resources/prompts/client/index.ts @@ -1,5 +1,5 @@ export * as createPrompt from "./createPrompt.js"; export * as createPromptVersion from "./createPromptVersion.js"; export * as getPromptVersion from "./getPromptVersion.js"; -export * as updatePromptDescription from "./updatePromptDescription.js"; export * from "./requests/index.js"; +export * as updatePromptDescription from "./updatePromptDescription.js"; diff --git a/src/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.ts b/src/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.ts index 56af3ecf..3e3b2308 100644 --- a/src/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.ts +++ b/src/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.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 Hume from "../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../api/index.js"; import * as core from "../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../index.js"; export const PostedPrompt: core.serialization.Schema< serializers.empathicVoice.PostedPrompt.Raw, diff --git a/src/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptName.ts b/src/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptName.ts index 9ac0117e..db4e7e26 100644 --- a/src/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptName.ts +++ b/src/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptName.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 Hume from "../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../api/index.js"; import * as core from "../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../index.js"; export const PostedPromptName: core.serialization.Schema< serializers.empathicVoice.PostedPromptName.Raw, diff --git a/src/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.ts b/src/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.ts index 7cbd6696..d3733eb3 100644 --- a/src/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.ts +++ b/src/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.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 Hume from "../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../api/index.js"; import * as core from "../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../index.js"; export const PostedPromptVersion: core.serialization.Schema< serializers.empathicVoice.PostedPromptVersion.Raw, diff --git a/src/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.ts b/src/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.ts index e8df9bb9..c762358e 100644 --- a/src/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.ts +++ b/src/serialization/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersionDescription.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 Hume from "../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../api/index.js"; import * as core from "../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../index.js"; export const PostedPromptVersionDescription: core.serialization.Schema< serializers.empathicVoice.PostedPromptVersionDescription.Raw, diff --git a/src/serialization/resources/empathicVoice/resources/prompts/client/requests/index.ts b/src/serialization/resources/empathicVoice/resources/prompts/client/requests/index.ts index 7f266960..971ffd50 100644 --- a/src/serialization/resources/empathicVoice/resources/prompts/client/requests/index.ts +++ b/src/serialization/resources/empathicVoice/resources/prompts/client/requests/index.ts @@ -1,4 +1,4 @@ export { PostedPrompt } from "./PostedPrompt.js"; -export { PostedPromptVersion } from "./PostedPromptVersion.js"; export { PostedPromptName } from "./PostedPromptName.js"; +export { PostedPromptVersion } from "./PostedPromptVersion.js"; export { PostedPromptVersionDescription } from "./PostedPromptVersionDescription.js"; diff --git a/src/serialization/resources/empathicVoice/resources/prompts/client/updatePromptDescription.ts b/src/serialization/resources/empathicVoice/resources/prompts/client/updatePromptDescription.ts index 7a4b6b2c..6956bf2d 100644 --- a/src/serialization/resources/empathicVoice/resources/prompts/client/updatePromptDescription.ts +++ b/src/serialization/resources/empathicVoice/resources/prompts/client/updatePromptDescription.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 Hume from "../../../../../../api/index.js"; -import * as core from "../../../../../../core/index.js"; +import type * as Hume from "../../../../../../api/index.js"; +import type * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { ReturnPrompt } from "../../../types/ReturnPrompt.js"; export const Response: core.serialization.Schema< diff --git a/src/serialization/resources/empathicVoice/resources/tools/client/createTool.ts b/src/serialization/resources/empathicVoice/resources/tools/client/createTool.ts index 734c8db1..88f7362e 100644 --- a/src/serialization/resources/empathicVoice/resources/tools/client/createTool.ts +++ b/src/serialization/resources/empathicVoice/resources/tools/client/createTool.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 Hume from "../../../../../../api/index.js"; -import * as core from "../../../../../../core/index.js"; +import type * as Hume from "../../../../../../api/index.js"; +import type * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { ReturnUserDefinedTool } from "../../../types/ReturnUserDefinedTool.js"; export const Response: core.serialization.Schema< diff --git a/src/serialization/resources/empathicVoice/resources/tools/client/createToolVersion.ts b/src/serialization/resources/empathicVoice/resources/tools/client/createToolVersion.ts index 7db1b54c..1b15071d 100644 --- a/src/serialization/resources/empathicVoice/resources/tools/client/createToolVersion.ts +++ b/src/serialization/resources/empathicVoice/resources/tools/client/createToolVersion.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 Hume from "../../../../../../api/index.js"; -import * as core from "../../../../../../core/index.js"; +import type * as Hume from "../../../../../../api/index.js"; +import type * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { ReturnUserDefinedTool } from "../../../types/ReturnUserDefinedTool.js"; export const Response: core.serialization.Schema< diff --git a/src/serialization/resources/empathicVoice/resources/tools/client/getToolVersion.ts b/src/serialization/resources/empathicVoice/resources/tools/client/getToolVersion.ts index 461ce693..420fb1b8 100644 --- a/src/serialization/resources/empathicVoice/resources/tools/client/getToolVersion.ts +++ b/src/serialization/resources/empathicVoice/resources/tools/client/getToolVersion.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 Hume from "../../../../../../api/index.js"; -import * as core from "../../../../../../core/index.js"; +import type * as Hume from "../../../../../../api/index.js"; +import type * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { ReturnUserDefinedTool } from "../../../types/ReturnUserDefinedTool.js"; export const Response: core.serialization.Schema< diff --git a/src/serialization/resources/empathicVoice/resources/tools/client/index.ts b/src/serialization/resources/empathicVoice/resources/tools/client/index.ts index d5aa7c43..09f1aa9b 100644 --- a/src/serialization/resources/empathicVoice/resources/tools/client/index.ts +++ b/src/serialization/resources/empathicVoice/resources/tools/client/index.ts @@ -1,5 +1,5 @@ export * as createTool from "./createTool.js"; export * as createToolVersion from "./createToolVersion.js"; export * as getToolVersion from "./getToolVersion.js"; -export * as updateToolDescription from "./updateToolDescription.js"; export * from "./requests/index.js"; +export * as updateToolDescription from "./updateToolDescription.js"; diff --git a/src/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.ts b/src/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.ts index f2e856d2..78cd0b36 100644 --- a/src/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.ts +++ b/src/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedTool.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 Hume from "../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../api/index.js"; import * as core from "../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../index.js"; export const PostedUserDefinedTool: core.serialization.Schema< serializers.empathicVoice.PostedUserDefinedTool.Raw, diff --git a/src/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolName.ts b/src/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolName.ts index 32ebe657..fdc14c56 100644 --- a/src/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolName.ts +++ b/src/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolName.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 Hume from "../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../api/index.js"; import * as core from "../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../index.js"; export const PostedUserDefinedToolName: core.serialization.Schema< serializers.empathicVoice.PostedUserDefinedToolName.Raw, diff --git a/src/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.ts b/src/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.ts index b818cbef..22ae8bbd 100644 --- a/src/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.ts +++ b/src/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersion.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 Hume from "../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../api/index.js"; import * as core from "../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../index.js"; export const PostedUserDefinedToolVersion: core.serialization.Schema< serializers.empathicVoice.PostedUserDefinedToolVersion.Raw, diff --git a/src/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.ts b/src/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.ts index 21529884..2cb02766 100644 --- a/src/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.ts +++ b/src/serialization/resources/empathicVoice/resources/tools/client/requests/PostedUserDefinedToolVersionDescription.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 Hume from "../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../api/index.js"; import * as core from "../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../index.js"; export const PostedUserDefinedToolVersionDescription: core.serialization.Schema< serializers.empathicVoice.PostedUserDefinedToolVersionDescription.Raw, diff --git a/src/serialization/resources/empathicVoice/resources/tools/client/requests/index.ts b/src/serialization/resources/empathicVoice/resources/tools/client/requests/index.ts index 70a6ca5e..c37594bd 100644 --- a/src/serialization/resources/empathicVoice/resources/tools/client/requests/index.ts +++ b/src/serialization/resources/empathicVoice/resources/tools/client/requests/index.ts @@ -1,4 +1,4 @@ export { PostedUserDefinedTool } from "./PostedUserDefinedTool.js"; -export { PostedUserDefinedToolVersion } from "./PostedUserDefinedToolVersion.js"; export { PostedUserDefinedToolName } from "./PostedUserDefinedToolName.js"; +export { PostedUserDefinedToolVersion } from "./PostedUserDefinedToolVersion.js"; export { PostedUserDefinedToolVersionDescription } from "./PostedUserDefinedToolVersionDescription.js"; diff --git a/src/serialization/resources/empathicVoice/resources/tools/client/updateToolDescription.ts b/src/serialization/resources/empathicVoice/resources/tools/client/updateToolDescription.ts index ca19d655..08a91718 100644 --- a/src/serialization/resources/empathicVoice/resources/tools/client/updateToolDescription.ts +++ b/src/serialization/resources/empathicVoice/resources/tools/client/updateToolDescription.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 Hume from "../../../../../../api/index.js"; -import * as core from "../../../../../../core/index.js"; +import type * as Hume from "../../../../../../api/index.js"; +import type * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { ReturnUserDefinedTool } from "../../../types/ReturnUserDefinedTool.js"; export const Response: core.serialization.Schema< diff --git a/src/serialization/resources/empathicVoice/types/AssistantEnd.ts b/src/serialization/resources/empathicVoice/types/AssistantEnd.ts index 00c32ec6..f485a842 100644 --- a/src/serialization/resources/empathicVoice/types/AssistantEnd.ts +++ b/src/serialization/resources/empathicVoice/types/AssistantEnd.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const AssistantEnd: core.serialization.ObjectSchema< serializers.empathicVoice.AssistantEnd.Raw, diff --git a/src/serialization/resources/empathicVoice/types/AssistantInput.ts b/src/serialization/resources/empathicVoice/types/AssistantInput.ts index 617cc20d..fa255cce 100644 --- a/src/serialization/resources/empathicVoice/types/AssistantInput.ts +++ b/src/serialization/resources/empathicVoice/types/AssistantInput.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const AssistantInput: core.serialization.ObjectSchema< serializers.empathicVoice.AssistantInput.Raw, diff --git a/src/serialization/resources/empathicVoice/types/AssistantMessage.ts b/src/serialization/resources/empathicVoice/types/AssistantMessage.ts index df14f42c..449b50c2 100644 --- a/src/serialization/resources/empathicVoice/types/AssistantMessage.ts +++ b/src/serialization/resources/empathicVoice/types/AssistantMessage.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ChatMessage } from "./ChatMessage.js"; import { Inference } from "./Inference.js"; diff --git a/src/serialization/resources/empathicVoice/types/AssistantProsody.ts b/src/serialization/resources/empathicVoice/types/AssistantProsody.ts index 7e998c3c..c624b1b5 100644 --- a/src/serialization/resources/empathicVoice/types/AssistantProsody.ts +++ b/src/serialization/resources/empathicVoice/types/AssistantProsody.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { Inference } from "./Inference.js"; export const AssistantProsody: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/AudioConfiguration.ts b/src/serialization/resources/empathicVoice/types/AudioConfiguration.ts index 588bdc7c..ae4e69fa 100644 --- a/src/serialization/resources/empathicVoice/types/AudioConfiguration.ts +++ b/src/serialization/resources/empathicVoice/types/AudioConfiguration.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { Encoding } from "./Encoding.js"; export const AudioConfiguration: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/AudioInput.ts b/src/serialization/resources/empathicVoice/types/AudioInput.ts index bced8f19..9bf6c17e 100644 --- a/src/serialization/resources/empathicVoice/types/AudioInput.ts +++ b/src/serialization/resources/empathicVoice/types/AudioInput.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const AudioInput: core.serialization.ObjectSchema< serializers.empathicVoice.AudioInput.Raw, diff --git a/src/serialization/resources/empathicVoice/types/AudioOutput.ts b/src/serialization/resources/empathicVoice/types/AudioOutput.ts index 10f2e56d..daf5cbd6 100644 --- a/src/serialization/resources/empathicVoice/types/AudioOutput.ts +++ b/src/serialization/resources/empathicVoice/types/AudioOutput.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const AudioOutput: core.serialization.ObjectSchema< serializers.empathicVoice.AudioOutput.Raw, diff --git a/src/serialization/resources/empathicVoice/types/BuiltInTool.ts b/src/serialization/resources/empathicVoice/types/BuiltInTool.ts index d822436f..7ee08421 100644 --- a/src/serialization/resources/empathicVoice/types/BuiltInTool.ts +++ b/src/serialization/resources/empathicVoice/types/BuiltInTool.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const BuiltInTool: core.serialization.Schema< serializers.empathicVoice.BuiltInTool.Raw, diff --git a/src/serialization/resources/empathicVoice/types/BuiltinToolConfig.ts b/src/serialization/resources/empathicVoice/types/BuiltinToolConfig.ts index 385c5c50..8587c3b6 100644 --- a/src/serialization/resources/empathicVoice/types/BuiltinToolConfig.ts +++ b/src/serialization/resources/empathicVoice/types/BuiltinToolConfig.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { BuiltInTool } from "./BuiltInTool.js"; export const BuiltinToolConfig: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/ChatMessage.ts b/src/serialization/resources/empathicVoice/types/ChatMessage.ts index b1283902..15c2927d 100644 --- a/src/serialization/resources/empathicVoice/types/ChatMessage.ts +++ b/src/serialization/resources/empathicVoice/types/ChatMessage.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; +import { ChatMessageToolResult } from "./ChatMessageToolResult.js"; import { Role } from "./Role.js"; import { ToolCallMessage } from "./ToolCallMessage.js"; -import { ChatMessageToolResult } from "./ChatMessageToolResult.js"; export const ChatMessage: core.serialization.ObjectSchema< serializers.empathicVoice.ChatMessage.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ChatMessageToolResult.ts b/src/serialization/resources/empathicVoice/types/ChatMessageToolResult.ts index 2b4deef3..dbc50b47 100644 --- a/src/serialization/resources/empathicVoice/types/ChatMessageToolResult.ts +++ b/src/serialization/resources/empathicVoice/types/ChatMessageToolResult.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; -import { ToolResponseMessage } from "./ToolResponseMessage.js"; +import type * as serializers from "../../../index.js"; import { ToolErrorMessage } from "./ToolErrorMessage.js"; +import { ToolResponseMessage } from "./ToolResponseMessage.js"; export const ChatMessageToolResult: core.serialization.Schema< serializers.empathicVoice.ChatMessageToolResult.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ChatMetadata.ts b/src/serialization/resources/empathicVoice/types/ChatMetadata.ts index f5791c72..8eeb6c28 100644 --- a/src/serialization/resources/empathicVoice/types/ChatMetadata.ts +++ b/src/serialization/resources/empathicVoice/types/ChatMetadata.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ChatMetadata: core.serialization.ObjectSchema< serializers.empathicVoice.ChatMetadata.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ConnectSessionSettings.ts b/src/serialization/resources/empathicVoice/types/ConnectSessionSettings.ts index 06f0cddd..9882be0c 100644 --- a/src/serialization/resources/empathicVoice/types/ConnectSessionSettings.ts +++ b/src/serialization/resources/empathicVoice/types/ConnectSessionSettings.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ConnectSessionSettingsAudio } from "./ConnectSessionSettingsAudio.js"; import { ConnectSessionSettingsContext } from "./ConnectSessionSettingsContext.js"; import { ConnectSessionSettingsVariablesValue } from "./ConnectSessionSettingsVariablesValue.js"; diff --git a/src/serialization/resources/empathicVoice/types/ConnectSessionSettingsAudio.ts b/src/serialization/resources/empathicVoice/types/ConnectSessionSettingsAudio.ts index 25dd96f7..49d4c86b 100644 --- a/src/serialization/resources/empathicVoice/types/ConnectSessionSettingsAudio.ts +++ b/src/serialization/resources/empathicVoice/types/ConnectSessionSettingsAudio.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ConnectSessionSettingsAudio: core.serialization.ObjectSchema< serializers.empathicVoice.ConnectSessionSettingsAudio.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ConnectSessionSettingsContext.ts b/src/serialization/resources/empathicVoice/types/ConnectSessionSettingsContext.ts index 6a025715..9d59fcb2 100644 --- a/src/serialization/resources/empathicVoice/types/ConnectSessionSettingsContext.ts +++ b/src/serialization/resources/empathicVoice/types/ConnectSessionSettingsContext.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ConnectSessionSettingsContext: core.serialization.ObjectSchema< serializers.empathicVoice.ConnectSessionSettingsContext.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ConnectSessionSettingsVariablesValue.ts b/src/serialization/resources/empathicVoice/types/ConnectSessionSettingsVariablesValue.ts index a2c0bb5b..991b0825 100644 --- a/src/serialization/resources/empathicVoice/types/ConnectSessionSettingsVariablesValue.ts +++ b/src/serialization/resources/empathicVoice/types/ConnectSessionSettingsVariablesValue.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ConnectSessionSettingsVariablesValue: core.serialization.Schema< serializers.empathicVoice.ConnectSessionSettingsVariablesValue.Raw, diff --git a/src/serialization/resources/empathicVoice/types/Context.ts b/src/serialization/resources/empathicVoice/types/Context.ts index c342f0d9..35a35066 100644 --- a/src/serialization/resources/empathicVoice/types/Context.ts +++ b/src/serialization/resources/empathicVoice/types/Context.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ContextType } from "./ContextType.js"; export const Context: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/ContextType.ts b/src/serialization/resources/empathicVoice/types/ContextType.ts index b7f3ec08..079556c5 100644 --- a/src/serialization/resources/empathicVoice/types/ContextType.ts +++ b/src/serialization/resources/empathicVoice/types/ContextType.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ContextType: core.serialization.Schema< serializers.empathicVoice.ContextType.Raw, diff --git a/src/serialization/resources/empathicVoice/types/EmotionScores.ts b/src/serialization/resources/empathicVoice/types/EmotionScores.ts index 9cb74d4e..a9abd2b0 100644 --- a/src/serialization/resources/empathicVoice/types/EmotionScores.ts +++ b/src/serialization/resources/empathicVoice/types/EmotionScores.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const EmotionScores: core.serialization.ObjectSchema< serializers.empathicVoice.EmotionScores.Raw, diff --git a/src/serialization/resources/empathicVoice/types/Encoding.ts b/src/serialization/resources/empathicVoice/types/Encoding.ts index 9226a431..56ee9a1e 100644 --- a/src/serialization/resources/empathicVoice/types/Encoding.ts +++ b/src/serialization/resources/empathicVoice/types/Encoding.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const Encoding: core.serialization.Schema = core.serialization.stringLiteral("linear16"); diff --git a/src/serialization/resources/empathicVoice/types/ErrorLevel.ts b/src/serialization/resources/empathicVoice/types/ErrorLevel.ts index eb0dc387..bab1ed85 100644 --- a/src/serialization/resources/empathicVoice/types/ErrorLevel.ts +++ b/src/serialization/resources/empathicVoice/types/ErrorLevel.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ErrorLevel: core.serialization.Schema< serializers.empathicVoice.ErrorLevel.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ErrorResponse.ts b/src/serialization/resources/empathicVoice/types/ErrorResponse.ts index 4390b80d..af8df9fe 100644 --- a/src/serialization/resources/empathicVoice/types/ErrorResponse.ts +++ b/src/serialization/resources/empathicVoice/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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ErrorResponse: core.serialization.ObjectSchema< serializers.empathicVoice.ErrorResponse.Raw, diff --git a/src/serialization/resources/empathicVoice/types/HttpValidationError.ts b/src/serialization/resources/empathicVoice/types/HttpValidationError.ts index 98779b40..cf3c85cb 100644 --- a/src/serialization/resources/empathicVoice/types/HttpValidationError.ts +++ b/src/serialization/resources/empathicVoice/types/HttpValidationError.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ValidationError } from "./ValidationError.js"; export const HttpValidationError: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/Inference.ts b/src/serialization/resources/empathicVoice/types/Inference.ts index 210fdba3..4b610614 100644 --- a/src/serialization/resources/empathicVoice/types/Inference.ts +++ b/src/serialization/resources/empathicVoice/types/Inference.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ProsodyInference } from "./ProsodyInference.js"; export const Inference: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/JsonMessage.ts b/src/serialization/resources/empathicVoice/types/JsonMessage.ts index 26234941..6572b253 100644 --- a/src/serialization/resources/empathicVoice/types/JsonMessage.ts +++ b/src/serialization/resources/empathicVoice/types/JsonMessage.ts @@ -1,20 +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 serializers from "../../../index.js"; -import * as Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { AssistantEnd } from "./AssistantEnd.js"; import { AssistantMessage } from "./AssistantMessage.js"; import { AssistantProsody } from "./AssistantProsody.js"; import { ChatMetadata } from "./ChatMetadata.js"; -import { WebSocketError } from "./WebSocketError.js"; -import { UserInterruption } from "./UserInterruption.js"; -import { UserMessage } from "./UserMessage.js"; import { ToolCallMessage } from "./ToolCallMessage.js"; -import { ToolResponseMessage } from "./ToolResponseMessage.js"; import { ToolErrorMessage } from "./ToolErrorMessage.js"; +import { ToolResponseMessage } from "./ToolResponseMessage.js"; +import { UserInterruption } from "./UserInterruption.js"; +import { UserMessage } from "./UserMessage.js"; +import { WebSocketError } from "./WebSocketError.js"; export const JsonMessage: core.serialization.Schema< serializers.empathicVoice.JsonMessage.Raw, diff --git a/src/serialization/resources/empathicVoice/types/LanguageModelType.ts b/src/serialization/resources/empathicVoice/types/LanguageModelType.ts index 93ffd3f2..e564ee23 100644 --- a/src/serialization/resources/empathicVoice/types/LanguageModelType.ts +++ b/src/serialization/resources/empathicVoice/types/LanguageModelType.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const LanguageModelType: core.serialization.Schema< serializers.empathicVoice.LanguageModelType.Raw, diff --git a/src/serialization/resources/empathicVoice/types/MillisecondInterval.ts b/src/serialization/resources/empathicVoice/types/MillisecondInterval.ts index f9b28d9d..89105fc7 100644 --- a/src/serialization/resources/empathicVoice/types/MillisecondInterval.ts +++ b/src/serialization/resources/empathicVoice/types/MillisecondInterval.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const MillisecondInterval: core.serialization.ObjectSchema< serializers.empathicVoice.MillisecondInterval.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ModelProviderEnum.ts b/src/serialization/resources/empathicVoice/types/ModelProviderEnum.ts index d770c481..f27a9270 100644 --- a/src/serialization/resources/empathicVoice/types/ModelProviderEnum.ts +++ b/src/serialization/resources/empathicVoice/types/ModelProviderEnum.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ModelProviderEnum: core.serialization.Schema< serializers.empathicVoice.ModelProviderEnum.Raw, diff --git a/src/serialization/resources/empathicVoice/types/PauseAssistantMessage.ts b/src/serialization/resources/empathicVoice/types/PauseAssistantMessage.ts index 3efa8570..7c54151e 100644 --- a/src/serialization/resources/empathicVoice/types/PauseAssistantMessage.ts +++ b/src/serialization/resources/empathicVoice/types/PauseAssistantMessage.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const PauseAssistantMessage: core.serialization.ObjectSchema< serializers.empathicVoice.PauseAssistantMessage.Raw, diff --git a/src/serialization/resources/empathicVoice/types/PostedBuiltinTool.ts b/src/serialization/resources/empathicVoice/types/PostedBuiltinTool.ts index 01ce3761..f5f82328 100644 --- a/src/serialization/resources/empathicVoice/types/PostedBuiltinTool.ts +++ b/src/serialization/resources/empathicVoice/types/PostedBuiltinTool.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { PostedBuiltinToolName } from "./PostedBuiltinToolName.js"; export const PostedBuiltinTool: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/PostedBuiltinToolName.ts b/src/serialization/resources/empathicVoice/types/PostedBuiltinToolName.ts index 84931369..72c96c40 100644 --- a/src/serialization/resources/empathicVoice/types/PostedBuiltinToolName.ts +++ b/src/serialization/resources/empathicVoice/types/PostedBuiltinToolName.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const PostedBuiltinToolName: core.serialization.Schema< serializers.empathicVoice.PostedBuiltinToolName.Raw, diff --git a/src/serialization/resources/empathicVoice/types/PostedConfigPromptSpec.ts b/src/serialization/resources/empathicVoice/types/PostedConfigPromptSpec.ts index 2bb64806..88f42d08 100644 --- a/src/serialization/resources/empathicVoice/types/PostedConfigPromptSpec.ts +++ b/src/serialization/resources/empathicVoice/types/PostedConfigPromptSpec.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const PostedConfigPromptSpec: core.serialization.ObjectSchema< serializers.empathicVoice.PostedConfigPromptSpec.Raw, diff --git a/src/serialization/resources/empathicVoice/types/PostedEllmModel.ts b/src/serialization/resources/empathicVoice/types/PostedEllmModel.ts index c3890cbe..26d2624b 100644 --- a/src/serialization/resources/empathicVoice/types/PostedEllmModel.ts +++ b/src/serialization/resources/empathicVoice/types/PostedEllmModel.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const PostedEllmModel: core.serialization.ObjectSchema< serializers.empathicVoice.PostedEllmModel.Raw, diff --git a/src/serialization/resources/empathicVoice/types/PostedEventMessageSpec.ts b/src/serialization/resources/empathicVoice/types/PostedEventMessageSpec.ts index 77856374..13809308 100644 --- a/src/serialization/resources/empathicVoice/types/PostedEventMessageSpec.ts +++ b/src/serialization/resources/empathicVoice/types/PostedEventMessageSpec.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const PostedEventMessageSpec: core.serialization.ObjectSchema< serializers.empathicVoice.PostedEventMessageSpec.Raw, diff --git a/src/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.ts b/src/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.ts index e76b9441..87e2d148 100644 --- a/src/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.ts +++ b/src/serialization/resources/empathicVoice/types/PostedEventMessageSpecs.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { PostedEventMessageSpec } from "./PostedEventMessageSpec.js"; export const PostedEventMessageSpecs: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/PostedLanguageModel.ts b/src/serialization/resources/empathicVoice/types/PostedLanguageModel.ts index 930610b4..2865b185 100644 --- a/src/serialization/resources/empathicVoice/types/PostedLanguageModel.ts +++ b/src/serialization/resources/empathicVoice/types/PostedLanguageModel.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; -import { ModelProviderEnum } from "./ModelProviderEnum.js"; +import type * as serializers from "../../../index.js"; import { LanguageModelType } from "./LanguageModelType.js"; +import { ModelProviderEnum } from "./ModelProviderEnum.js"; export const PostedLanguageModel: core.serialization.ObjectSchema< serializers.empathicVoice.PostedLanguageModel.Raw, diff --git a/src/serialization/resources/empathicVoice/types/PostedNudgeSpec.ts b/src/serialization/resources/empathicVoice/types/PostedNudgeSpec.ts index 3b5394ae..607dbc57 100644 --- a/src/serialization/resources/empathicVoice/types/PostedNudgeSpec.ts +++ b/src/serialization/resources/empathicVoice/types/PostedNudgeSpec.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const PostedNudgeSpec: core.serialization.ObjectSchema< serializers.empathicVoice.PostedNudgeSpec.Raw, diff --git a/src/serialization/resources/empathicVoice/types/PostedTimeoutSpec.ts b/src/serialization/resources/empathicVoice/types/PostedTimeoutSpec.ts index 433d9a5c..9dfd2bbc 100644 --- a/src/serialization/resources/empathicVoice/types/PostedTimeoutSpec.ts +++ b/src/serialization/resources/empathicVoice/types/PostedTimeoutSpec.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const PostedTimeoutSpec: core.serialization.ObjectSchema< serializers.empathicVoice.PostedTimeoutSpec.Raw, diff --git a/src/serialization/resources/empathicVoice/types/PostedTimeoutSpecs.ts b/src/serialization/resources/empathicVoice/types/PostedTimeoutSpecs.ts index c9364ab1..a339b865 100644 --- a/src/serialization/resources/empathicVoice/types/PostedTimeoutSpecs.ts +++ b/src/serialization/resources/empathicVoice/types/PostedTimeoutSpecs.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { PostedTimeoutSpecsInactivity } from "./PostedTimeoutSpecsInactivity.js"; import { PostedTimeoutSpecsMaxDuration } from "./PostedTimeoutSpecsMaxDuration.js"; diff --git a/src/serialization/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.ts b/src/serialization/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.ts index 9dcee2b5..1ec590ea 100644 --- a/src/serialization/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.ts +++ b/src/serialization/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const PostedTimeoutSpecsInactivity: core.serialization.ObjectSchema< serializers.empathicVoice.PostedTimeoutSpecsInactivity.Raw, diff --git a/src/serialization/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.ts b/src/serialization/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.ts index d774dc3b..c5134cbd 100644 --- a/src/serialization/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.ts +++ b/src/serialization/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const PostedTimeoutSpecsMaxDuration: core.serialization.ObjectSchema< serializers.empathicVoice.PostedTimeoutSpecsMaxDuration.Raw, diff --git a/src/serialization/resources/empathicVoice/types/PostedUserDefinedToolSpec.ts b/src/serialization/resources/empathicVoice/types/PostedUserDefinedToolSpec.ts index fd6b42ae..e9322d9a 100644 --- a/src/serialization/resources/empathicVoice/types/PostedUserDefinedToolSpec.ts +++ b/src/serialization/resources/empathicVoice/types/PostedUserDefinedToolSpec.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const PostedUserDefinedToolSpec: core.serialization.ObjectSchema< serializers.empathicVoice.PostedUserDefinedToolSpec.Raw, diff --git a/src/serialization/resources/empathicVoice/types/PostedWebhookEventType.ts b/src/serialization/resources/empathicVoice/types/PostedWebhookEventType.ts index f93ecfd7..706a3005 100644 --- a/src/serialization/resources/empathicVoice/types/PostedWebhookEventType.ts +++ b/src/serialization/resources/empathicVoice/types/PostedWebhookEventType.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const PostedWebhookEventType: core.serialization.Schema< serializers.empathicVoice.PostedWebhookEventType.Raw, diff --git a/src/serialization/resources/empathicVoice/types/PostedWebhookSpec.ts b/src/serialization/resources/empathicVoice/types/PostedWebhookSpec.ts index d4a18794..96de0207 100644 --- a/src/serialization/resources/empathicVoice/types/PostedWebhookSpec.ts +++ b/src/serialization/resources/empathicVoice/types/PostedWebhookSpec.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { PostedWebhookEventType } from "./PostedWebhookEventType.js"; export const PostedWebhookSpec: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/ProsodyInference.ts b/src/serialization/resources/empathicVoice/types/ProsodyInference.ts index d08a5b0a..d580a39f 100644 --- a/src/serialization/resources/empathicVoice/types/ProsodyInference.ts +++ b/src/serialization/resources/empathicVoice/types/ProsodyInference.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { EmotionScores } from "./EmotionScores.js"; export const ProsodyInference: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/ResumeAssistantMessage.ts b/src/serialization/resources/empathicVoice/types/ResumeAssistantMessage.ts index 75c89de4..79853d3a 100644 --- a/src/serialization/resources/empathicVoice/types/ResumeAssistantMessage.ts +++ b/src/serialization/resources/empathicVoice/types/ResumeAssistantMessage.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ResumeAssistantMessage: core.serialization.ObjectSchema< serializers.empathicVoice.ResumeAssistantMessage.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnBuiltinTool.ts b/src/serialization/resources/empathicVoice/types/ReturnBuiltinTool.ts index 198806bb..ee32d6d1 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnBuiltinTool.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnBuiltinTool.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ReturnBuiltinToolToolType } from "./ReturnBuiltinToolToolType.js"; export const ReturnBuiltinTool: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.ts b/src/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.ts index ca68fb46..f8dfaa9c 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnBuiltinToolToolType.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ReturnBuiltinToolToolType: core.serialization.Schema< serializers.empathicVoice.ReturnBuiltinToolToolType.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnChat.ts b/src/serialization/resources/empathicVoice/types/ReturnChat.ts index 161bcf74..f55ef60c 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnChat.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnChat.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ReturnChatStatus } from "./ReturnChatStatus.js"; import { ReturnConfigSpec } from "./ReturnConfigSpec.js"; diff --git a/src/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.ts b/src/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.ts index 3390d18e..ee985d9c 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ReturnChatAudioReconstructionStatus } from "./ReturnChatAudioReconstructionStatus.js"; export const ReturnChatAudioReconstruction: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.ts b/src/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.ts index 56c46f60..267df46f 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ReturnChatAudioReconstructionStatus: core.serialization.Schema< serializers.empathicVoice.ReturnChatAudioReconstructionStatus.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnChatEvent.ts b/src/serialization/resources/empathicVoice/types/ReturnChatEvent.ts index f8eabcce..9814eeca 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnChatEvent.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnChatEvent.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ReturnChatEventRole } from "./ReturnChatEventRole.js"; import { ReturnChatEventType } from "./ReturnChatEventType.js"; diff --git a/src/serialization/resources/empathicVoice/types/ReturnChatEventRole.ts b/src/serialization/resources/empathicVoice/types/ReturnChatEventRole.ts index fa95171f..a2403cc1 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnChatEventRole.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnChatEventRole.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ReturnChatEventRole: core.serialization.Schema< serializers.empathicVoice.ReturnChatEventRole.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnChatEventType.ts b/src/serialization/resources/empathicVoice/types/ReturnChatEventType.ts index 34b7e734..1760859b 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnChatEventType.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnChatEventType.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ReturnChatEventType: core.serialization.Schema< serializers.empathicVoice.ReturnChatEventType.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnChatGroup.ts b/src/serialization/resources/empathicVoice/types/ReturnChatGroup.ts index 9fd6f6a0..1d79e6b1 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnChatGroup.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnChatGroup.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ReturnConfigSpec } from "./ReturnConfigSpec.js"; export const ReturnChatGroup: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.ts b/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.ts index 06f2c4ef..5312210c 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; -import { ReturnChatGroupPagedAudioReconstructionsPaginationDirection } from "./ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js"; +import type * as serializers from "../../../index.js"; import { ReturnChatAudioReconstruction } from "./ReturnChatAudioReconstruction.js"; +import { ReturnChatGroupPagedAudioReconstructionsPaginationDirection } from "./ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js"; export const ReturnChatGroupPagedAudioReconstructions: core.serialization.ObjectSchema< serializers.empathicVoice.ReturnChatGroupPagedAudioReconstructions.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.ts b/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.ts index 08591ed1..fc3fe722 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ReturnChatGroupPagedAudioReconstructionsPaginationDirection: core.serialization.Schema< serializers.empathicVoice.ReturnChatGroupPagedAudioReconstructionsPaginationDirection.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.ts b/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.ts index b14242f1..7fcee996 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChats.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; -import { ReturnChatGroupPagedChatsPaginationDirection } from "./ReturnChatGroupPagedChatsPaginationDirection.js"; +import type * as serializers from "../../../index.js"; import { ReturnChat } from "./ReturnChat.js"; +import { ReturnChatGroupPagedChatsPaginationDirection } from "./ReturnChatGroupPagedChatsPaginationDirection.js"; export const ReturnChatGroupPagedChats: core.serialization.ObjectSchema< serializers.empathicVoice.ReturnChatGroupPagedChats.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChatsPaginationDirection.ts b/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChatsPaginationDirection.ts index 1cdd3255..9d92acd8 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChatsPaginationDirection.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedChatsPaginationDirection.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ReturnChatGroupPagedChatsPaginationDirection: core.serialization.Schema< serializers.empathicVoice.ReturnChatGroupPagedChatsPaginationDirection.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.ts b/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.ts index daeba563..d1914f03 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEvents.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; -import { ReturnChatGroupPagedEventsPaginationDirection } from "./ReturnChatGroupPagedEventsPaginationDirection.js"; +import type * as serializers from "../../../index.js"; import { ReturnChatEvent } from "./ReturnChatEvent.js"; +import { ReturnChatGroupPagedEventsPaginationDirection } from "./ReturnChatGroupPagedEventsPaginationDirection.js"; export const ReturnChatGroupPagedEvents: core.serialization.ObjectSchema< serializers.empathicVoice.ReturnChatGroupPagedEvents.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.ts b/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.ts index a1f360dc..7bceeaf2 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnChatGroupPagedEventsPaginationDirection.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ReturnChatGroupPagedEventsPaginationDirection: core.serialization.Schema< serializers.empathicVoice.ReturnChatGroupPagedEventsPaginationDirection.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.ts b/src/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.ts index e44e2d24..1d722ac5 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnChatPagedEvents.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; -import { ReturnChatPagedEventsStatus } from "./ReturnChatPagedEventsStatus.js"; -import { ReturnChatPagedEventsPaginationDirection } from "./ReturnChatPagedEventsPaginationDirection.js"; +import type * as serializers from "../../../index.js"; import { ReturnChatEvent } from "./ReturnChatEvent.js"; +import { ReturnChatPagedEventsPaginationDirection } from "./ReturnChatPagedEventsPaginationDirection.js"; +import { ReturnChatPagedEventsStatus } from "./ReturnChatPagedEventsStatus.js"; import { ReturnConfigSpec } from "./ReturnConfigSpec.js"; export const ReturnChatPagedEvents: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.ts b/src/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.ts index c8d8ab06..aef61210 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnChatPagedEventsPaginationDirection.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ReturnChatPagedEventsPaginationDirection: core.serialization.Schema< serializers.empathicVoice.ReturnChatPagedEventsPaginationDirection.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.ts b/src/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.ts index fdb76f4b..864a7c60 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnChatPagedEventsStatus.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ReturnChatPagedEventsStatus: core.serialization.Schema< serializers.empathicVoice.ReturnChatPagedEventsStatus.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnChatStatus.ts b/src/serialization/resources/empathicVoice/types/ReturnChatStatus.ts index e19ca4a2..8013fbd3 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnChatStatus.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnChatStatus.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ReturnChatStatus: core.serialization.Schema< serializers.empathicVoice.ReturnChatStatus.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnConfig.ts b/src/serialization/resources/empathicVoice/types/ReturnConfig.ts index 89e17688..d827591d 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnConfig.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnConfig.ts @@ -1,20 +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 serializers from "../../../index.js"; -import * as Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; -import { ReturnLanguageModel } from "./ReturnLanguageModel.js"; +import type * as serializers from "../../../index.js"; import { ReturnBuiltinTool } from "./ReturnBuiltinTool.js"; -import { ReturnTimeoutSpecs } from "./ReturnTimeoutSpecs.js"; -import { ReturnNudgeSpec } from "./ReturnNudgeSpec.js"; -import { ReturnEventMessageSpecs } from "./ReturnEventMessageSpecs.js"; import { ReturnEllmModel } from "./ReturnEllmModel.js"; -import { ReturnVoice } from "./ReturnVoice.js"; +import { ReturnEventMessageSpecs } from "./ReturnEventMessageSpecs.js"; +import { ReturnLanguageModel } from "./ReturnLanguageModel.js"; +import { ReturnNudgeSpec } from "./ReturnNudgeSpec.js"; import { ReturnPrompt } from "./ReturnPrompt.js"; -import { ReturnWebhookSpec } from "./ReturnWebhookSpec.js"; +import { ReturnTimeoutSpecs } from "./ReturnTimeoutSpecs.js"; import { ReturnUserDefinedTool } from "./ReturnUserDefinedTool.js"; +import { ReturnVoice } from "./ReturnVoice.js"; +import { ReturnWebhookSpec } from "./ReturnWebhookSpec.js"; export const ReturnConfig: core.serialization.ObjectSchema< serializers.empathicVoice.ReturnConfig.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnConfigSpec.ts b/src/serialization/resources/empathicVoice/types/ReturnConfigSpec.ts index 09dd924b..e95e0801 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnConfigSpec.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnConfigSpec.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ReturnConfigSpec: core.serialization.ObjectSchema< serializers.empathicVoice.ReturnConfigSpec.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnEllmModel.ts b/src/serialization/resources/empathicVoice/types/ReturnEllmModel.ts index 9e59e013..12edd653 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnEllmModel.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnEllmModel.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ReturnEllmModel: core.serialization.ObjectSchema< serializers.empathicVoice.ReturnEllmModel.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnEventMessageSpec.ts b/src/serialization/resources/empathicVoice/types/ReturnEventMessageSpec.ts index 00f55bde..439abfb9 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnEventMessageSpec.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnEventMessageSpec.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ReturnEventMessageSpec: core.serialization.ObjectSchema< serializers.empathicVoice.ReturnEventMessageSpec.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.ts b/src/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.ts index bb94f87b..d01c64c0 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnEventMessageSpecs.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ReturnEventMessageSpec } from "./ReturnEventMessageSpec.js"; export const ReturnEventMessageSpecs: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/ReturnLanguageModel.ts b/src/serialization/resources/empathicVoice/types/ReturnLanguageModel.ts index f687d472..4d31ca73 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnLanguageModel.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnLanguageModel.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; -import { ModelProviderEnum } from "./ModelProviderEnum.js"; +import type * as serializers from "../../../index.js"; import { LanguageModelType } from "./LanguageModelType.js"; +import { ModelProviderEnum } from "./ModelProviderEnum.js"; export const ReturnLanguageModel: core.serialization.ObjectSchema< serializers.empathicVoice.ReturnLanguageModel.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnNudgeSpec.ts b/src/serialization/resources/empathicVoice/types/ReturnNudgeSpec.ts index 2abb8479..387668f6 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnNudgeSpec.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnNudgeSpec.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ReturnNudgeSpec: core.serialization.ObjectSchema< serializers.empathicVoice.ReturnNudgeSpec.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.ts b/src/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.ts index a8738b5b..ceddf7bc 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnPagedChatGroups.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; -import { ReturnPagedChatGroupsPaginationDirection } from "./ReturnPagedChatGroupsPaginationDirection.js"; +import type * as serializers from "../../../index.js"; import { ReturnChatGroup } from "./ReturnChatGroup.js"; +import { ReturnPagedChatGroupsPaginationDirection } from "./ReturnPagedChatGroupsPaginationDirection.js"; export const ReturnPagedChatGroups: core.serialization.ObjectSchema< serializers.empathicVoice.ReturnPagedChatGroups.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.ts b/src/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.ts index 95d708f7..e7219876 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnPagedChatGroupsPaginationDirection.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ReturnPagedChatGroupsPaginationDirection: core.serialization.Schema< serializers.empathicVoice.ReturnPagedChatGroupsPaginationDirection.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnPagedChats.ts b/src/serialization/resources/empathicVoice/types/ReturnPagedChats.ts index f07c2227..e4e5f70e 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnPagedChats.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnPagedChats.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; -import { ReturnPagedChatsPaginationDirection } from "./ReturnPagedChatsPaginationDirection.js"; +import type * as serializers from "../../../index.js"; import { ReturnChat } from "./ReturnChat.js"; +import { ReturnPagedChatsPaginationDirection } from "./ReturnPagedChatsPaginationDirection.js"; export const ReturnPagedChats: core.serialization.ObjectSchema< serializers.empathicVoice.ReturnPagedChats.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.ts b/src/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.ts index f934736f..28cbc9e0 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnPagedChatsPaginationDirection.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ReturnPagedChatsPaginationDirection: core.serialization.Schema< serializers.empathicVoice.ReturnPagedChatsPaginationDirection.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnPagedConfigs.ts b/src/serialization/resources/empathicVoice/types/ReturnPagedConfigs.ts index 00e91766..239d31b4 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnPagedConfigs.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnPagedConfigs.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ReturnConfig } from "./ReturnConfig.js"; export const ReturnPagedConfigs: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/ReturnPagedPrompts.ts b/src/serialization/resources/empathicVoice/types/ReturnPagedPrompts.ts index 387e78de..6392a4bd 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnPagedPrompts.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnPagedPrompts.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ReturnPrompt } from "./ReturnPrompt.js"; export const ReturnPagedPrompts: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.ts b/src/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.ts index 5785e070..29150eeb 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnPagedUserDefinedTools.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ReturnUserDefinedTool } from "./ReturnUserDefinedTool.js"; export const ReturnPagedUserDefinedTools: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/ReturnPrompt.ts b/src/serialization/resources/empathicVoice/types/ReturnPrompt.ts index f0761751..a6c3c5ca 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnPrompt.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnPrompt.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ReturnPromptVersionType } from "./ReturnPromptVersionType.js"; export const ReturnPrompt: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/ReturnPromptVersionType.ts b/src/serialization/resources/empathicVoice/types/ReturnPromptVersionType.ts index 6a6b54f8..8e8dd3fb 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnPromptVersionType.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnPromptVersionType.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ReturnPromptVersionType: core.serialization.Schema< serializers.empathicVoice.ReturnPromptVersionType.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.ts b/src/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.ts index b2cb3039..ecb5312f 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnTimeoutSpec.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ReturnTimeoutSpec: core.serialization.ObjectSchema< serializers.empathicVoice.ReturnTimeoutSpec.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnTimeoutSpecs.ts b/src/serialization/resources/empathicVoice/types/ReturnTimeoutSpecs.ts index 28910379..62a00316 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnTimeoutSpecs.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnTimeoutSpecs.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ReturnTimeoutSpec } from "./ReturnTimeoutSpec.js"; export const ReturnTimeoutSpecs: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.ts b/src/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.ts index 85c11743..6a10faf8 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnUserDefinedTool.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ReturnUserDefinedToolToolType } from "./ReturnUserDefinedToolToolType.js"; import { ReturnUserDefinedToolVersionType } from "./ReturnUserDefinedToolVersionType.js"; diff --git a/src/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.ts b/src/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.ts index 18b88c2e..f31bdce7 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnUserDefinedToolToolType.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ReturnUserDefinedToolToolType: core.serialization.Schema< serializers.empathicVoice.ReturnUserDefinedToolToolType.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.ts b/src/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.ts index 83ad1a3a..2ab3791d 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnUserDefinedToolVersionType.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ReturnUserDefinedToolVersionType: core.serialization.Schema< serializers.empathicVoice.ReturnUserDefinedToolVersionType.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnVoice.ts b/src/serialization/resources/empathicVoice/types/ReturnVoice.ts index 9d255a9f..25c4f4cf 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnVoice.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnVoice.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { VoiceProvider } from "./VoiceProvider.js"; export const ReturnVoice: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/ReturnWebhookEventType.ts b/src/serialization/resources/empathicVoice/types/ReturnWebhookEventType.ts index b1f7fb15..f0fe51b0 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnWebhookEventType.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnWebhookEventType.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ReturnWebhookEventType: core.serialization.Schema< serializers.empathicVoice.ReturnWebhookEventType.Raw, diff --git a/src/serialization/resources/empathicVoice/types/ReturnWebhookSpec.ts b/src/serialization/resources/empathicVoice/types/ReturnWebhookSpec.ts index e88be50d..a490825c 100644 --- a/src/serialization/resources/empathicVoice/types/ReturnWebhookSpec.ts +++ b/src/serialization/resources/empathicVoice/types/ReturnWebhookSpec.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ReturnWebhookEventType } from "./ReturnWebhookEventType.js"; export const ReturnWebhookSpec: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/Role.ts b/src/serialization/resources/empathicVoice/types/Role.ts index 3432966a..81edb853 100644 --- a/src/serialization/resources/empathicVoice/types/Role.ts +++ b/src/serialization/resources/empathicVoice/types/Role.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const Role: core.serialization.Schema = core.serialization.enum_(["assistant", "system", "user", "all", "tool"]); diff --git a/src/serialization/resources/empathicVoice/types/SessionSettings.ts b/src/serialization/resources/empathicVoice/types/SessionSettings.ts index 00a46350..a8e73295 100644 --- a/src/serialization/resources/empathicVoice/types/SessionSettings.ts +++ b/src/serialization/resources/empathicVoice/types/SessionSettings.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { AudioConfiguration } from "./AudioConfiguration.js"; import { BuiltinToolConfig } from "./BuiltinToolConfig.js"; import { Context } from "./Context.js"; -import { Tool } from "./Tool.js"; import { SessionSettingsVariablesValue } from "./SessionSettingsVariablesValue.js"; +import { Tool } from "./Tool.js"; export const SessionSettings: core.serialization.ObjectSchema< serializers.empathicVoice.SessionSettings.Raw, diff --git a/src/serialization/resources/empathicVoice/types/SessionSettingsVariablesValue.ts b/src/serialization/resources/empathicVoice/types/SessionSettingsVariablesValue.ts index cb144839..0626ac89 100644 --- a/src/serialization/resources/empathicVoice/types/SessionSettingsVariablesValue.ts +++ b/src/serialization/resources/empathicVoice/types/SessionSettingsVariablesValue.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const SessionSettingsVariablesValue: core.serialization.Schema< serializers.empathicVoice.SessionSettingsVariablesValue.Raw, diff --git a/src/serialization/resources/empathicVoice/types/Tool.ts b/src/serialization/resources/empathicVoice/types/Tool.ts index 44ecee68..32eeabc0 100644 --- a/src/serialization/resources/empathicVoice/types/Tool.ts +++ b/src/serialization/resources/empathicVoice/types/Tool.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ToolType } from "./ToolType.js"; export const Tool: core.serialization.ObjectSchema = diff --git a/src/serialization/resources/empathicVoice/types/ToolCallMessage.ts b/src/serialization/resources/empathicVoice/types/ToolCallMessage.ts index 67926d32..9cf62d44 100644 --- a/src/serialization/resources/empathicVoice/types/ToolCallMessage.ts +++ b/src/serialization/resources/empathicVoice/types/ToolCallMessage.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ToolType } from "./ToolType.js"; export const ToolCallMessage: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/ToolErrorMessage.ts b/src/serialization/resources/empathicVoice/types/ToolErrorMessage.ts index ef01ed48..b95b6824 100644 --- a/src/serialization/resources/empathicVoice/types/ToolErrorMessage.ts +++ b/src/serialization/resources/empathicVoice/types/ToolErrorMessage.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ErrorLevel } from "./ErrorLevel.js"; import { ToolType } from "./ToolType.js"; diff --git a/src/serialization/resources/empathicVoice/types/ToolResponseMessage.ts b/src/serialization/resources/empathicVoice/types/ToolResponseMessage.ts index f2ffb4dd..c518bfa2 100644 --- a/src/serialization/resources/empathicVoice/types/ToolResponseMessage.ts +++ b/src/serialization/resources/empathicVoice/types/ToolResponseMessage.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ToolType } from "./ToolType.js"; export const ToolResponseMessage: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/ToolType.ts b/src/serialization/resources/empathicVoice/types/ToolType.ts index ade070cd..9373507f 100644 --- a/src/serialization/resources/empathicVoice/types/ToolType.ts +++ b/src/serialization/resources/empathicVoice/types/ToolType.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ToolType: core.serialization.Schema = core.serialization.enum_(["builtin", "function"]); diff --git a/src/serialization/resources/empathicVoice/types/UserInput.ts b/src/serialization/resources/empathicVoice/types/UserInput.ts index ef07424d..188e83fe 100644 --- a/src/serialization/resources/empathicVoice/types/UserInput.ts +++ b/src/serialization/resources/empathicVoice/types/UserInput.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const UserInput: core.serialization.ObjectSchema< serializers.empathicVoice.UserInput.Raw, diff --git a/src/serialization/resources/empathicVoice/types/UserInterruption.ts b/src/serialization/resources/empathicVoice/types/UserInterruption.ts index 33c06459..ecce608e 100644 --- a/src/serialization/resources/empathicVoice/types/UserInterruption.ts +++ b/src/serialization/resources/empathicVoice/types/UserInterruption.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const UserInterruption: core.serialization.ObjectSchema< serializers.empathicVoice.UserInterruption.Raw, diff --git a/src/serialization/resources/empathicVoice/types/UserMessage.ts b/src/serialization/resources/empathicVoice/types/UserMessage.ts index b31cb54a..8799184b 100644 --- a/src/serialization/resources/empathicVoice/types/UserMessage.ts +++ b/src/serialization/resources/empathicVoice/types/UserMessage.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ChatMessage } from "./ChatMessage.js"; import { Inference } from "./Inference.js"; import { MillisecondInterval } from "./MillisecondInterval.js"; diff --git a/src/serialization/resources/empathicVoice/types/ValidationError.ts b/src/serialization/resources/empathicVoice/types/ValidationError.ts index 1a764ea5..d7814d25 100644 --- a/src/serialization/resources/empathicVoice/types/ValidationError.ts +++ b/src/serialization/resources/empathicVoice/types/ValidationError.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ValidationErrorLocItem } from "./ValidationErrorLocItem.js"; export const ValidationError: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/ValidationErrorLocItem.ts b/src/serialization/resources/empathicVoice/types/ValidationErrorLocItem.ts index 33eb72c3..7e6d66fa 100644 --- a/src/serialization/resources/empathicVoice/types/ValidationErrorLocItem.ts +++ b/src/serialization/resources/empathicVoice/types/ValidationErrorLocItem.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ValidationErrorLocItem: core.serialization.Schema< serializers.empathicVoice.ValidationErrorLocItem.Raw, diff --git a/src/serialization/resources/empathicVoice/types/VoiceId.ts b/src/serialization/resources/empathicVoice/types/VoiceId.ts index d993be5c..06a9454a 100644 --- a/src/serialization/resources/empathicVoice/types/VoiceId.ts +++ b/src/serialization/resources/empathicVoice/types/VoiceId.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { VoiceProvider } from "./VoiceProvider.js"; export const VoiceId: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/VoiceName.ts b/src/serialization/resources/empathicVoice/types/VoiceName.ts index f4ddb9d2..6705a9c1 100644 --- a/src/serialization/resources/empathicVoice/types/VoiceName.ts +++ b/src/serialization/resources/empathicVoice/types/VoiceName.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { VoiceProvider } from "./VoiceProvider.js"; export const VoiceName: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/empathicVoice/types/VoiceProvider.ts b/src/serialization/resources/empathicVoice/types/VoiceProvider.ts index 7aeb82f7..b21d5566 100644 --- a/src/serialization/resources/empathicVoice/types/VoiceProvider.ts +++ b/src/serialization/resources/empathicVoice/types/VoiceProvider.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const VoiceProvider: core.serialization.Schema< serializers.empathicVoice.VoiceProvider.Raw, diff --git a/src/serialization/resources/empathicVoice/types/VoiceRef.ts b/src/serialization/resources/empathicVoice/types/VoiceRef.ts index ed0b7b5e..8dc6ebd0 100644 --- a/src/serialization/resources/empathicVoice/types/VoiceRef.ts +++ b/src/serialization/resources/empathicVoice/types/VoiceRef.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { VoiceId } from "./VoiceId.js"; import { VoiceName } from "./VoiceName.js"; diff --git a/src/serialization/resources/empathicVoice/types/WebSocketError.ts b/src/serialization/resources/empathicVoice/types/WebSocketError.ts index d3e6eb64..f7b6075a 100644 --- a/src/serialization/resources/empathicVoice/types/WebSocketError.ts +++ b/src/serialization/resources/empathicVoice/types/WebSocketError.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const WebSocketError: core.serialization.ObjectSchema< serializers.empathicVoice.WebSocketError.Raw, diff --git a/src/serialization/resources/empathicVoice/types/WebhookEvent.ts b/src/serialization/resources/empathicVoice/types/WebhookEvent.ts index 7c44363d..2b1374d6 100644 --- a/src/serialization/resources/empathicVoice/types/WebhookEvent.ts +++ b/src/serialization/resources/empathicVoice/types/WebhookEvent.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; -import { WebhookEventChatStarted } from "./WebhookEventChatStarted.js"; +import type * as serializers from "../../../index.js"; import { WebhookEventChatEnded } from "./WebhookEventChatEnded.js"; +import { WebhookEventChatStarted } from "./WebhookEventChatStarted.js"; export const WebhookEvent: core.serialization.Schema< serializers.empathicVoice.WebhookEvent.Raw, diff --git a/src/serialization/resources/empathicVoice/types/WebhookEventBase.ts b/src/serialization/resources/empathicVoice/types/WebhookEventBase.ts index d9fa587a..62e045ce 100644 --- a/src/serialization/resources/empathicVoice/types/WebhookEventBase.ts +++ b/src/serialization/resources/empathicVoice/types/WebhookEventBase.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const WebhookEventBase: core.serialization.ObjectSchema< serializers.empathicVoice.WebhookEventBase.Raw, diff --git a/src/serialization/resources/empathicVoice/types/WebhookEventChatEnded.ts b/src/serialization/resources/empathicVoice/types/WebhookEventChatEnded.ts index dbf0ac0a..89aab57a 100644 --- a/src/serialization/resources/empathicVoice/types/WebhookEventChatEnded.ts +++ b/src/serialization/resources/empathicVoice/types/WebhookEventChatEnded.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; -import { WebhookEventChatStatus } from "./WebhookEventChatStatus.js"; +import type * as serializers from "../../../index.js"; import { WebhookEventBase } from "./WebhookEventBase.js"; +import { WebhookEventChatStatus } from "./WebhookEventChatStatus.js"; export const WebhookEventChatEnded: core.serialization.ObjectSchema< serializers.empathicVoice.WebhookEventChatEnded.Raw, diff --git a/src/serialization/resources/empathicVoice/types/WebhookEventChatStartType.ts b/src/serialization/resources/empathicVoice/types/WebhookEventChatStartType.ts index 3540f2ea..ebc6fc59 100644 --- a/src/serialization/resources/empathicVoice/types/WebhookEventChatStartType.ts +++ b/src/serialization/resources/empathicVoice/types/WebhookEventChatStartType.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const WebhookEventChatStartType: core.serialization.Schema< serializers.empathicVoice.WebhookEventChatStartType.Raw, diff --git a/src/serialization/resources/empathicVoice/types/WebhookEventChatStarted.ts b/src/serialization/resources/empathicVoice/types/WebhookEventChatStarted.ts index d44f78ee..792f31de 100644 --- a/src/serialization/resources/empathicVoice/types/WebhookEventChatStarted.ts +++ b/src/serialization/resources/empathicVoice/types/WebhookEventChatStarted.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; -import { WebhookEventChatStartType } from "./WebhookEventChatStartType.js"; +import type * as serializers from "../../../index.js"; import { WebhookEventBase } from "./WebhookEventBase.js"; +import { WebhookEventChatStartType } from "./WebhookEventChatStartType.js"; export const WebhookEventChatStarted: core.serialization.ObjectSchema< serializers.empathicVoice.WebhookEventChatStarted.Raw, diff --git a/src/serialization/resources/empathicVoice/types/WebhookEventChatStatus.ts b/src/serialization/resources/empathicVoice/types/WebhookEventChatStatus.ts index dff6baf9..48547f57 100644 --- a/src/serialization/resources/empathicVoice/types/WebhookEventChatStatus.ts +++ b/src/serialization/resources/empathicVoice/types/WebhookEventChatStatus.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const WebhookEventChatStatus: core.serialization.Schema< serializers.empathicVoice.WebhookEventChatStatus.Raw, diff --git a/src/serialization/resources/empathicVoice/types/index.ts b/src/serialization/resources/empathicVoice/types/index.ts index 77ef6647..891da4da 100644 --- a/src/serialization/resources/empathicVoice/types/index.ts +++ b/src/serialization/resources/empathicVoice/types/index.ts @@ -7,23 +7,89 @@ export * from "./AudioInput.js"; export * from "./AudioOutput.js"; export * from "./BuiltInTool.js"; export * from "./BuiltinToolConfig.js"; -export * from "./ChatMessageToolResult.js"; export * from "./ChatMessage.js"; +export * from "./ChatMessageToolResult.js"; export * from "./ChatMetadata.js"; +export * from "./ConnectSessionSettings.js"; +export * from "./ConnectSessionSettingsAudio.js"; +export * from "./ConnectSessionSettingsContext.js"; +export * from "./ConnectSessionSettingsVariablesValue.js"; export * from "./Context.js"; export * from "./ContextType.js"; export * from "./EmotionScores.js"; export * from "./Encoding.js"; -export * from "./WebSocketError.js"; export * from "./ErrorLevel.js"; +export * from "./ErrorResponse.js"; +export * from "./HttpValidationError.js"; export * from "./Inference.js"; +export * from "./JsonMessage.js"; +export * from "./LanguageModelType.js"; export * from "./MillisecondInterval.js"; +export * from "./ModelProviderEnum.js"; export * from "./PauseAssistantMessage.js"; +export * from "./PostedBuiltinTool.js"; +export * from "./PostedBuiltinToolName.js"; +export * from "./PostedConfigPromptSpec.js"; +export * from "./PostedEllmModel.js"; +export * from "./PostedEventMessageSpec.js"; +export * from "./PostedEventMessageSpecs.js"; +export * from "./PostedLanguageModel.js"; +export * from "./PostedNudgeSpec.js"; +export * from "./PostedTimeoutSpec.js"; +export * from "./PostedTimeoutSpecs.js"; +export * from "./PostedTimeoutSpecsInactivity.js"; +export * from "./PostedTimeoutSpecsMaxDuration.js"; +export * from "./PostedUserDefinedToolSpec.js"; +export * from "./PostedWebhookEventType.js"; +export * from "./PostedWebhookSpec.js"; export * from "./ProsodyInference.js"; export * from "./ResumeAssistantMessage.js"; +export * from "./ReturnBuiltinTool.js"; +export * from "./ReturnBuiltinToolToolType.js"; +export * from "./ReturnChat.js"; +export * from "./ReturnChatAudioReconstruction.js"; +export * from "./ReturnChatAudioReconstructionStatus.js"; +export * from "./ReturnChatEvent.js"; +export * from "./ReturnChatEventRole.js"; +export * from "./ReturnChatEventType.js"; +export * from "./ReturnChatGroup.js"; +export * from "./ReturnChatGroupPagedAudioReconstructions.js"; +export * from "./ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js"; +export * from "./ReturnChatGroupPagedChats.js"; +export * from "./ReturnChatGroupPagedChatsPaginationDirection.js"; +export * from "./ReturnChatGroupPagedEvents.js"; +export * from "./ReturnChatGroupPagedEventsPaginationDirection.js"; +export * from "./ReturnChatPagedEvents.js"; +export * from "./ReturnChatPagedEventsPaginationDirection.js"; +export * from "./ReturnChatPagedEventsStatus.js"; +export * from "./ReturnChatStatus.js"; +export * from "./ReturnConfig.js"; +export * from "./ReturnConfigSpec.js"; +export * from "./ReturnEllmModel.js"; +export * from "./ReturnEventMessageSpec.js"; +export * from "./ReturnEventMessageSpecs.js"; +export * from "./ReturnLanguageModel.js"; +export * from "./ReturnNudgeSpec.js"; +export * from "./ReturnPagedChatGroups.js"; +export * from "./ReturnPagedChatGroupsPaginationDirection.js"; +export * from "./ReturnPagedChats.js"; +export * from "./ReturnPagedChatsPaginationDirection.js"; +export * from "./ReturnPagedConfigs.js"; +export * from "./ReturnPagedPrompts.js"; +export * from "./ReturnPagedUserDefinedTools.js"; +export * from "./ReturnPrompt.js"; +export * from "./ReturnPromptVersionType.js"; +export * from "./ReturnTimeoutSpec.js"; +export * from "./ReturnTimeoutSpecs.js"; +export * from "./ReturnUserDefinedTool.js"; +export * from "./ReturnUserDefinedToolToolType.js"; +export * from "./ReturnUserDefinedToolVersionType.js"; +export * from "./ReturnVoice.js"; +export * from "./ReturnWebhookEventType.js"; +export * from "./ReturnWebhookSpec.js"; export * from "./Role.js"; -export * from "./SessionSettingsVariablesValue.js"; export * from "./SessionSettings.js"; +export * from "./SessionSettingsVariablesValue.js"; export * from "./Tool.js"; export * from "./ToolCallMessage.js"; export * from "./ToolErrorMessage.js"; @@ -32,82 +98,16 @@ export * from "./ToolType.js"; export * from "./UserInput.js"; export * from "./UserInterruption.js"; export * from "./UserMessage.js"; -export * from "./JsonMessage.js"; -export * from "./ConnectSessionSettingsAudio.js"; -export * from "./ConnectSessionSettingsContext.js"; -export * from "./ConnectSessionSettingsVariablesValue.js"; -export * from "./ConnectSessionSettings.js"; -export * from "./HttpValidationError.js"; -export * from "./LanguageModelType.js"; -export * from "./ModelProviderEnum.js"; -export * from "./ValidationErrorLocItem.js"; export * from "./ValidationError.js"; +export * from "./ValidationErrorLocItem.js"; export * from "./VoiceId.js"; export * from "./VoiceName.js"; -export * from "./WebhookEventBase.js"; +export * from "./VoiceProvider.js"; +export * from "./VoiceRef.js"; export * from "./WebhookEvent.js"; +export * from "./WebhookEventBase.js"; export * from "./WebhookEventChatEnded.js"; -export * from "./WebhookEventChatStartType.js"; export * from "./WebhookEventChatStarted.js"; +export * from "./WebhookEventChatStartType.js"; export * from "./WebhookEventChatStatus.js"; -export * from "./ErrorResponse.js"; -export * from "./ReturnPagedUserDefinedTools.js"; -export * from "./ReturnUserDefinedToolToolType.js"; -export * from "./ReturnUserDefinedToolVersionType.js"; -export * from "./ReturnUserDefinedTool.js"; -export * from "./ReturnPagedPrompts.js"; -export * from "./ReturnPrompt.js"; -export * from "./ReturnPagedConfigs.js"; -export * from "./ReturnConfig.js"; -export * from "./ReturnPagedChatsPaginationDirection.js"; -export * from "./ReturnPagedChats.js"; -export * from "./ReturnChatPagedEventsStatus.js"; -export * from "./ReturnChatPagedEventsPaginationDirection.js"; -export * from "./ReturnChatPagedEvents.js"; -export * from "./ReturnChatAudioReconstructionStatus.js"; -export * from "./ReturnChatAudioReconstruction.js"; -export * from "./ReturnPagedChatGroupsPaginationDirection.js"; -export * from "./ReturnPagedChatGroups.js"; -export * from "./ReturnChatGroupPagedChatsPaginationDirection.js"; -export * from "./ReturnChatGroupPagedChats.js"; -export * from "./ReturnChatGroupPagedEventsPaginationDirection.js"; -export * from "./ReturnChatGroupPagedEvents.js"; -export * from "./ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js"; -export * from "./ReturnChatGroupPagedAudioReconstructions.js"; -export * from "./ReturnPromptVersionType.js"; -export * from "./PostedConfigPromptSpec.js"; -export * from "./PostedLanguageModel.js"; -export * from "./PostedEllmModel.js"; -export * from "./PostedUserDefinedToolSpec.js"; -export * from "./PostedBuiltinToolName.js"; -export * from "./PostedBuiltinTool.js"; -export * from "./PostedEventMessageSpecs.js"; -export * from "./PostedNudgeSpec.js"; -export * from "./PostedTimeoutSpecsInactivity.js"; -export * from "./PostedTimeoutSpecsMaxDuration.js"; -export * from "./PostedTimeoutSpecs.js"; -export * from "./PostedWebhookEventType.js"; -export * from "./PostedWebhookSpec.js"; -export * from "./ReturnLanguageModel.js"; -export * from "./ReturnEllmModel.js"; -export * from "./ReturnBuiltinToolToolType.js"; -export * from "./ReturnBuiltinTool.js"; -export * from "./ReturnEventMessageSpecs.js"; -export * from "./ReturnTimeoutSpecs.js"; -export * from "./ReturnNudgeSpec.js"; -export * from "./ReturnWebhookEventType.js"; -export * from "./ReturnWebhookSpec.js"; -export * from "./ReturnChatStatus.js"; -export * from "./ReturnChat.js"; -export * from "./ReturnChatEventRole.js"; -export * from "./ReturnChatEventType.js"; -export * from "./ReturnChatEvent.js"; -export * from "./ReturnConfigSpec.js"; -export * from "./ReturnChatGroup.js"; -export * from "./PostedEventMessageSpec.js"; -export * from "./PostedTimeoutSpec.js"; -export * from "./ReturnEventMessageSpec.js"; -export * from "./ReturnTimeoutSpec.js"; -export * from "./VoiceRef.js"; -export * from "./ReturnVoice.js"; -export * from "./VoiceProvider.js"; +export * from "./WebSocketError.js"; diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/client/getJobPredictions.ts b/src/serialization/resources/expressionMeasurement/resources/batch/client/getJobPredictions.ts index f2c0ec4f..114e89e8 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/client/getJobPredictions.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/client/getJobPredictions.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { UnionPredictResult } from "../types/UnionPredictResult.js"; export const Response: core.serialization.Schema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/client/index.ts b/src/serialization/resources/expressionMeasurement/resources/batch/client/index.ts index a0fa9acf..b71ad7c5 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/client/index.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/client/index.ts @@ -1,2 +1,2 @@ -export * as listJobs from "./listJobs.js"; export * as getJobPredictions from "./getJobPredictions.js"; +export * as listJobs from "./listJobs.js"; diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/client/listJobs.ts b/src/serialization/resources/expressionMeasurement/resources/batch/client/listJobs.ts index f0bd0e64..0a5ee131 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/client/listJobs.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/client/listJobs.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { UnionJob } from "../types/UnionJob.js"; export const Response: core.serialization.Schema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/index.ts b/src/serialization/resources/expressionMeasurement/resources/batch/index.ts index f095e147..d9adb1af 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/index.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/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/expressionMeasurement/resources/batch/types/Alternative.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Alternative.ts index 909b0aed..6de892c1 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Alternative.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Alternative.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const Alternative: core.serialization.Schema< serializers.expressionMeasurement.batch.Alternative.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Bcp47Tag.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Bcp47Tag.ts index 5fb24e5e..b2f22e33 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Bcp47Tag.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Bcp47Tag.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const Bcp47Tag: core.serialization.Schema< serializers.expressionMeasurement.batch.Bcp47Tag.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/BoundingBox.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/BoundingBox.ts index e1d6eb0c..4eaf0714 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/BoundingBox.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/BoundingBox.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const BoundingBox: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.BoundingBox.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/BurstPrediction.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/BurstPrediction.ts index 593b6566..1dd527fe 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/BurstPrediction.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/BurstPrediction.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; -import { TimeInterval } from "./TimeInterval.js"; -import { EmotionScore } from "./EmotionScore.js"; +import type * as serializers from "../../../../../index.js"; import { DescriptionsScore } from "./DescriptionsScore.js"; +import { EmotionScore } from "./EmotionScore.js"; +import { TimeInterval } from "./TimeInterval.js"; export const BurstPrediction: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.BurstPrediction.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Classification.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Classification.ts index 78d6ec78..607d5c9f 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Classification.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Classification.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const Classification: core.serialization.Schema< serializers.expressionMeasurement.batch.Classification.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/CompletedEmbeddingGeneration.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/CompletedEmbeddingGeneration.ts index 42c58d59..985848b5 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/CompletedEmbeddingGeneration.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/CompletedEmbeddingGeneration.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const CompletedEmbeddingGeneration: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.CompletedEmbeddingGeneration.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/CompletedInference.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/CompletedInference.ts index 56423868..560e9ec5 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/CompletedInference.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/CompletedInference.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const CompletedInference: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.CompletedInference.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/CompletedState.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/CompletedState.ts index fd28744d..707e1586 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/CompletedState.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/CompletedState.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { CompletedInference } from "./CompletedInference.js"; export const CompletedState: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/CompletedTlInference.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/CompletedTlInference.ts index a2c5a63b..00734be9 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/CompletedTlInference.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/CompletedTlInference.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const CompletedTlInference: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.CompletedTlInference.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/CompletedTraining.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/CompletedTraining.ts index 9195a9ea..1ba1abf9 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/CompletedTraining.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/CompletedTraining.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { TrainingCustomModel } from "./TrainingCustomModel.js"; export const CompletedTraining: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModel.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModel.ts index 2499a329..81811248 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModel.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModel.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { CustomModelId } from "./CustomModelId.js"; import { CustomModelVersionId } from "./CustomModelVersionId.js"; diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelId.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelId.ts index 90137897..8bd32888 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelId.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelId.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const CustomModelId: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.CustomModelId.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelPrediction.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelPrediction.ts index 963e68fd..71574412 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelPrediction.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelPrediction.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const CustomModelPrediction: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.CustomModelPrediction.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelRequest.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelRequest.ts index 500fcba4..2a629bf0 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelRequest.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelRequest.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { Tag } from "./Tag.js"; export const CustomModelRequest: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelVersionId.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelVersionId.ts index 95b7ba9c..7b85276c 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelVersionId.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelVersionId.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const CustomModelVersionId: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.CustomModelVersionId.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelsInferenceJob.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelsInferenceJob.ts index 729d49d8..ae4e207d 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelsInferenceJob.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelsInferenceJob.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { JobTlInference } from "./JobTlInference.js"; export const CustomModelsInferenceJob: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelsTrainingJob.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelsTrainingJob.ts index 0a53ee0b..1121f05b 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelsTrainingJob.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/CustomModelsTrainingJob.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { JobTraining } from "./JobTraining.js"; export const CustomModelsTrainingJob: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Dataset.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Dataset.ts index 65c2fadf..86755bd6 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Dataset.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Dataset.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { DatasetId } from "./DatasetId.js"; import { DatasetVersionId } from "./DatasetVersionId.js"; diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/DatasetId.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/DatasetId.ts index 7083cec3..f746ebd3 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/DatasetId.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/DatasetId.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const DatasetId: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.DatasetId.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/DatasetVersionId.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/DatasetVersionId.ts index f8d24198..1717225c 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/DatasetVersionId.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/DatasetVersionId.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const DatasetVersionId: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.DatasetVersionId.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/DescriptionsScore.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/DescriptionsScore.ts index a426dc8c..0b103cc5 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/DescriptionsScore.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/DescriptionsScore.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const DescriptionsScore: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.DescriptionsScore.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Direction.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Direction.ts index c971fe36..4af96d67 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Direction.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Direction.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const Direction: core.serialization.Schema< serializers.expressionMeasurement.batch.Direction.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/EmbeddingGenerationBaseRequest.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/EmbeddingGenerationBaseRequest.ts index 6eeb758e..47091028 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/EmbeddingGenerationBaseRequest.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/EmbeddingGenerationBaseRequest.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { RegistryFileDetail } from "./RegistryFileDetail.js"; export const EmbeddingGenerationBaseRequest: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/EmbeddingGenerationJob.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/EmbeddingGenerationJob.ts index 1733ca9e..1ce07276 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/EmbeddingGenerationJob.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/EmbeddingGenerationJob.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { JobEmbeddingGeneration } from "./JobEmbeddingGeneration.js"; export const EmbeddingGenerationJob: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/EmotionScore.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/EmotionScore.ts index 05a6aff7..7b0d3b94 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/EmotionScore.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/EmotionScore.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const EmotionScore: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.EmotionScore.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Error_.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Error_.ts index 9abec864..d8087ba7 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Error_.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Error_.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const Error_: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.Error_.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/EvaluationArgs.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/EvaluationArgs.ts index d1a252f8..c6bb4745 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/EvaluationArgs.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/EvaluationArgs.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { ValidationArgs } from "./ValidationArgs.js"; export const EvaluationArgs: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Face.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Face.ts index f6147e63..607f36fd 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Face.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Face.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { Unconfigurable } from "./Unconfigurable.js"; export const Face: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/FacePrediction.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/FacePrediction.ts index efb11888..1678a056 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/FacePrediction.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/FacePrediction.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { BoundingBox } from "./BoundingBox.js"; +import { DescriptionsScore } from "./DescriptionsScore.js"; import { EmotionScore } from "./EmotionScore.js"; import { FacsScore } from "./FacsScore.js"; -import { DescriptionsScore } from "./DescriptionsScore.js"; export const FacePrediction: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.FacePrediction.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/FacemeshPrediction.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/FacemeshPrediction.ts index cd2c0e30..86a52b53 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/FacemeshPrediction.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/FacemeshPrediction.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { EmotionScore } from "./EmotionScore.js"; export const FacemeshPrediction: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/FacsScore.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/FacsScore.ts index 4672f565..3d2c6649 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/FacsScore.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/FacsScore.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const FacsScore: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.FacsScore.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Failed.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Failed.ts index 08d0d946..1dd4af04 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Failed.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Failed.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const Failed: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.Failed.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/FailedState.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/FailedState.ts index 7425d5ba..5e19127a 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/FailedState.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/FailedState.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { Failed } from "./Failed.js"; export const FailedState: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/File_.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/File_.ts index 739c6d30..7d9484dd 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/File_.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/File_.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const File_: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.File_.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Granularity.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Granularity.ts index b2ceaf7a..55541823 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Granularity.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Granularity.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const Granularity: core.serialization.Schema< serializers.expressionMeasurement.batch.Granularity.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsBurstPrediction.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsBurstPrediction.ts index cccd1a23..82cf95eb 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsBurstPrediction.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsBurstPrediction.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { BurstPrediction } from "./BurstPrediction.js"; export const GroupedPredictionsBurstPrediction: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsFacePrediction.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsFacePrediction.ts index 57cc8aec..34a7baf9 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsFacePrediction.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsFacePrediction.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { FacePrediction } from "./FacePrediction.js"; export const GroupedPredictionsFacePrediction: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsFacemeshPrediction.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsFacemeshPrediction.ts index 85e3303b..8011b855 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsFacemeshPrediction.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsFacemeshPrediction.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { FacemeshPrediction } from "./FacemeshPrediction.js"; export const GroupedPredictionsFacemeshPrediction: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsLanguagePrediction.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsLanguagePrediction.ts index 2566a704..20efa282 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsLanguagePrediction.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsLanguagePrediction.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { LanguagePrediction } from "./LanguagePrediction.js"; export const GroupedPredictionsLanguagePrediction: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsNerPrediction.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsNerPrediction.ts index 35e34e5e..437f5bad 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsNerPrediction.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsNerPrediction.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { NerPrediction } from "./NerPrediction.js"; export const GroupedPredictionsNerPrediction: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsProsodyPrediction.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsProsodyPrediction.ts index 7ec786ac..0d1a8cdc 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsProsodyPrediction.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/GroupedPredictionsProsodyPrediction.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { ProsodyPrediction } from "./ProsodyPrediction.js"; export const GroupedPredictionsProsodyPrediction: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/InProgress.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/InProgress.ts index 35c6d773..c1ab5365 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/InProgress.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/InProgress.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const InProgress: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.InProgress.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/InProgressState.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/InProgressState.ts index aa08bf1f..12dff87e 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/InProgressState.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/InProgressState.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { InProgress } from "./InProgress.js"; export const InProgressState: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/InferenceBaseRequest.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/InferenceBaseRequest.ts index 0bc42150..4411fcff 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/InferenceBaseRequest.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/InferenceBaseRequest.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { Models } from "./Models.js"; import { Transcription } from "./Transcription.js"; diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/InferenceJob.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/InferenceJob.ts index e5c8aed7..04e4f2fc 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/InferenceJob.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/InferenceJob.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { JobInference } from "./JobInference.js"; export const InferenceJob: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/InferencePrediction.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/InferencePrediction.ts index b1747139..f0ddfce3 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/InferencePrediction.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/InferencePrediction.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { ModelsPredictions } from "./ModelsPredictions.js"; export const InferencePrediction: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/InferenceRequest.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/InferenceRequest.ts index dae76720..6acaae0e 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/InferenceRequest.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/InferenceRequest.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; +import { File_ } from "./File_.js"; import { Models } from "./Models.js"; import { Transcription } from "./Transcription.js"; -import { File_ } from "./File_.js"; export const InferenceRequest: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.InferenceRequest.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/InferenceResults.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/InferenceResults.ts index a2391c62..2aa3837d 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/InferenceResults.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/InferenceResults.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; -import { InferencePrediction } from "./InferencePrediction.js"; +import type * as serializers from "../../../../../index.js"; import { Error_ } from "./Error_.js"; +import { InferencePrediction } from "./InferencePrediction.js"; export const InferenceResults: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.InferenceResults.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/InferenceSourcePredictResult.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/InferenceSourcePredictResult.ts index 737d5ec6..a21643c7 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/InferenceSourcePredictResult.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/InferenceSourcePredictResult.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; -import { Source } from "./Source.js"; +import type * as serializers from "../../../../../index.js"; import { InferenceResults } from "./InferenceResults.js"; +import { Source } from "./Source.js"; export const InferenceSourcePredictResult: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.InferenceSourcePredictResult.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/JobEmbeddingGeneration.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/JobEmbeddingGeneration.ts index 8a34cd39..737c8f23 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/JobEmbeddingGeneration.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/JobEmbeddingGeneration.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { EmbeddingGenerationBaseRequest } from "./EmbeddingGenerationBaseRequest.js"; import { StateEmbeddingGeneration } from "./StateEmbeddingGeneration.js"; diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/JobId.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/JobId.ts index 73fef398..5e1a389c 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/JobId.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/JobId.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const JobId: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.JobId.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/JobInference.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/JobInference.ts index a9ac2a41..9e884bbe 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/JobInference.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/JobInference.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { InferenceRequest } from "./InferenceRequest.js"; import { StateInference } from "./StateInference.js"; diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/JobTlInference.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/JobTlInference.ts index 07d8f286..e355150b 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/JobTlInference.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/JobTlInference.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; -import { TlInferenceBaseRequest } from "./TlInferenceBaseRequest.js"; +import type * as serializers from "../../../../../index.js"; import { StateTlInference } from "./StateTlInference.js"; +import { TlInferenceBaseRequest } from "./TlInferenceBaseRequest.js"; export const JobTlInference: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.JobTlInference.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/JobTraining.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/JobTraining.ts index e37674b7..ba61cef4 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/JobTraining.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/JobTraining.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; -import { TrainingBaseRequest } from "./TrainingBaseRequest.js"; +import type * as serializers from "../../../../../index.js"; import { StateTraining } from "./StateTraining.js"; +import { TrainingBaseRequest } from "./TrainingBaseRequest.js"; export const JobTraining: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.JobTraining.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Language.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Language.ts index 0ed43c4c..0c8ab88e 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Language.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Language.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { Granularity } from "./Granularity.js"; import { Unconfigurable } from "./Unconfigurable.js"; diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/LanguagePrediction.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/LanguagePrediction.ts index def6558b..c7c04ff0 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/LanguagePrediction.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/LanguagePrediction.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; -import { PositionInterval } from "./PositionInterval.js"; -import { TimeInterval } from "./TimeInterval.js"; +import type * as serializers from "../../../../../index.js"; import { EmotionScore } from "./EmotionScore.js"; +import { PositionInterval } from "./PositionInterval.js"; import { SentimentScore } from "./SentimentScore.js"; +import { TimeInterval } from "./TimeInterval.js"; import { ToxicityScore } from "./ToxicityScore.js"; export const LanguagePrediction: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Models.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Models.ts index 8d3b1937..31a34c4f 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Models.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Models.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { Face } from "./Face.js"; -import { Unconfigurable } from "./Unconfigurable.js"; -import { Prosody } from "./Prosody.js"; import { Language } from "./Language.js"; import { Ner } from "./Ner.js"; +import { Prosody } from "./Prosody.js"; +import { Unconfigurable } from "./Unconfigurable.js"; export const Models: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.Models.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/ModelsPredictions.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/ModelsPredictions.ts index 9697c6b2..ae93ebd3 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/ModelsPredictions.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/ModelsPredictions.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; -import { PredictionsOptionalNullFacePrediction } from "./PredictionsOptionalNullFacePrediction.js"; +import type * as serializers from "../../../../../index.js"; import { PredictionsOptionalNullBurstPrediction } from "./PredictionsOptionalNullBurstPrediction.js"; -import { PredictionsOptionalTranscriptionMetadataProsodyPrediction } from "./PredictionsOptionalTranscriptionMetadataProsodyPrediction.js"; +import { PredictionsOptionalNullFacemeshPrediction } from "./PredictionsOptionalNullFacemeshPrediction.js"; +import { PredictionsOptionalNullFacePrediction } from "./PredictionsOptionalNullFacePrediction.js"; import { PredictionsOptionalTranscriptionMetadataLanguagePrediction } from "./PredictionsOptionalTranscriptionMetadataLanguagePrediction.js"; import { PredictionsOptionalTranscriptionMetadataNerPrediction } from "./PredictionsOptionalTranscriptionMetadataNerPrediction.js"; -import { PredictionsOptionalNullFacemeshPrediction } from "./PredictionsOptionalNullFacemeshPrediction.js"; +import { PredictionsOptionalTranscriptionMetadataProsodyPrediction } from "./PredictionsOptionalTranscriptionMetadataProsodyPrediction.js"; export const ModelsPredictions: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.ModelsPredictions.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Ner.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Ner.ts index 6fcc6cc2..90762a50 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Ner.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Ner.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const Ner: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.Ner.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/NerPrediction.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/NerPrediction.ts index c4c7e270..8cc4633a 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/NerPrediction.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/NerPrediction.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; +import { EmotionScore } from "./EmotionScore.js"; import { PositionInterval } from "./PositionInterval.js"; import { TimeInterval } from "./TimeInterval.js"; -import { EmotionScore } from "./EmotionScore.js"; export const NerPrediction: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.NerPrediction.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Null.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Null.ts index 45f52197..03794250 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Null.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Null.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const Null: core.serialization.Schema< serializers.expressionMeasurement.batch.Null.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/PositionInterval.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/PositionInterval.ts index a693d83e..9fe4c10b 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/PositionInterval.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/PositionInterval.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const PositionInterval: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.PositionInterval.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullBurstPrediction.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullBurstPrediction.ts index 679dc920..491d107a 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullBurstPrediction.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullBurstPrediction.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; -import { Null } from "./Null.js"; +import type * as serializers from "../../../../../index.js"; import { GroupedPredictionsBurstPrediction } from "./GroupedPredictionsBurstPrediction.js"; +import { Null } from "./Null.js"; export const PredictionsOptionalNullBurstPrediction: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.PredictionsOptionalNullBurstPrediction.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullFacePrediction.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullFacePrediction.ts index 30769574..fd0b74bb 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullFacePrediction.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullFacePrediction.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; -import { Null } from "./Null.js"; +import type * as serializers from "../../../../../index.js"; import { GroupedPredictionsFacePrediction } from "./GroupedPredictionsFacePrediction.js"; +import { Null } from "./Null.js"; export const PredictionsOptionalNullFacePrediction: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.PredictionsOptionalNullFacePrediction.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullFacemeshPrediction.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullFacemeshPrediction.ts index d376152d..38cb1d8d 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullFacemeshPrediction.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalNullFacemeshPrediction.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; -import { Null } from "./Null.js"; +import type * as serializers from "../../../../../index.js"; import { GroupedPredictionsFacemeshPrediction } from "./GroupedPredictionsFacemeshPrediction.js"; +import { Null } from "./Null.js"; export const PredictionsOptionalNullFacemeshPrediction: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.PredictionsOptionalNullFacemeshPrediction.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.ts index f0e50362..2ce62ed4 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataLanguagePrediction.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; -import { TranscriptionMetadata } from "./TranscriptionMetadata.js"; +import type * as serializers from "../../../../../index.js"; import { GroupedPredictionsLanguagePrediction } from "./GroupedPredictionsLanguagePrediction.js"; +import { TranscriptionMetadata } from "./TranscriptionMetadata.js"; export const PredictionsOptionalTranscriptionMetadataLanguagePrediction: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.PredictionsOptionalTranscriptionMetadataLanguagePrediction.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataNerPrediction.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataNerPrediction.ts index 0274c2db..17540bc1 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataNerPrediction.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataNerPrediction.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; -import { TranscriptionMetadata } from "./TranscriptionMetadata.js"; +import type * as serializers from "../../../../../index.js"; import { GroupedPredictionsNerPrediction } from "./GroupedPredictionsNerPrediction.js"; +import { TranscriptionMetadata } from "./TranscriptionMetadata.js"; export const PredictionsOptionalTranscriptionMetadataNerPrediction: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.PredictionsOptionalTranscriptionMetadataNerPrediction.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.ts index a041f762..a0664439 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/PredictionsOptionalTranscriptionMetadataProsodyPrediction.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; -import { TranscriptionMetadata } from "./TranscriptionMetadata.js"; +import type * as serializers from "../../../../../index.js"; import { GroupedPredictionsProsodyPrediction } from "./GroupedPredictionsProsodyPrediction.js"; +import { TranscriptionMetadata } from "./TranscriptionMetadata.js"; export const PredictionsOptionalTranscriptionMetadataProsodyPrediction: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.PredictionsOptionalTranscriptionMetadataProsodyPrediction.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Prosody.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Prosody.ts index 00c719fe..8fedcf15 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Prosody.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Prosody.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { Granularity } from "./Granularity.js"; import { Window } from "./Window.js"; diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/ProsodyPrediction.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/ProsodyPrediction.ts index 8b891fcf..f834b3e8 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/ProsodyPrediction.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/ProsodyPrediction.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; -import { TimeInterval } from "./TimeInterval.js"; +import type * as serializers from "../../../../../index.js"; import { EmotionScore } from "./EmotionScore.js"; +import { TimeInterval } from "./TimeInterval.js"; export const ProsodyPrediction: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.ProsodyPrediction.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Queued.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Queued.ts index 932d28b7..4ea6c9a0 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Queued.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Queued.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const Queued: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.Queued.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/QueuedState.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/QueuedState.ts index 03cbd655..7c70740e 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/QueuedState.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/QueuedState.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { Queued } from "./Queued.js"; export const QueuedState: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/RegistryFileDetail.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/RegistryFileDetail.ts index 34694e71..48a2ff96 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/RegistryFileDetail.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/RegistryFileDetail.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const RegistryFileDetail: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.RegistryFileDetail.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Regression.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Regression.ts index 5f7038b0..e63b5fea 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Regression.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Regression.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const Regression: core.serialization.Schema< serializers.expressionMeasurement.batch.Regression.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/SentimentScore.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/SentimentScore.ts index 17a5394a..6fd1697a 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/SentimentScore.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/SentimentScore.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const SentimentScore: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.SentimentScore.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/SortBy.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/SortBy.ts index 5dd22f88..9b64c3e7 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/SortBy.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/SortBy.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const SortBy: core.serialization.Schema< serializers.expressionMeasurement.batch.SortBy.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Source.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Source.ts index 2a8897b2..3b961b2b 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Source.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Source.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; -import { SourceUrl } from "./SourceUrl.js"; +import type * as serializers from "../../../../../index.js"; import { SourceFile } from "./SourceFile.js"; import { SourceTextSource } from "./SourceTextSource.js"; +import { SourceUrl } from "./SourceUrl.js"; export const Source: core.serialization.Schema< serializers.expressionMeasurement.batch.Source.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/SourceFile.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/SourceFile.ts index 2a5e0dbb..8fdae228 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/SourceFile.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/SourceFile.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { File_ } from "./File_.js"; export const SourceFile: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/SourceTextSource.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/SourceTextSource.ts index cf235ad6..7c819b06 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/SourceTextSource.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/SourceTextSource.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const SourceTextSource: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.SourceTextSource.Raw, @@ -12,5 +10,5 @@ export const SourceTextSource: core.serialization.ObjectSchema< > = core.serialization.object({}); export declare namespace SourceTextSource { - export interface Raw {} + export type Raw = {}; } diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/SourceUrl.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/SourceUrl.ts index c8469e3f..793b2f51 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/SourceUrl.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/SourceUrl.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { Url } from "./Url.js"; export const SourceUrl: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGeneration.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGeneration.ts index 9b926abe..03d15b37 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGeneration.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGeneration.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; -import { StateEmbeddingGenerationQueued } from "./StateEmbeddingGenerationQueued.js"; -import { StateEmbeddingGenerationInProgress } from "./StateEmbeddingGenerationInProgress.js"; +import type * as serializers from "../../../../../index.js"; import { StateEmbeddingGenerationCompletedEmbeddingGeneration } from "./StateEmbeddingGenerationCompletedEmbeddingGeneration.js"; import { StateEmbeddingGenerationFailed } from "./StateEmbeddingGenerationFailed.js"; +import { StateEmbeddingGenerationInProgress } from "./StateEmbeddingGenerationInProgress.js"; +import { StateEmbeddingGenerationQueued } from "./StateEmbeddingGenerationQueued.js"; export const StateEmbeddingGeneration: core.serialization.Schema< serializers.expressionMeasurement.batch.StateEmbeddingGeneration.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationCompletedEmbeddingGeneration.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationCompletedEmbeddingGeneration.ts index 68ec223a..7f83f40f 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationCompletedEmbeddingGeneration.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationCompletedEmbeddingGeneration.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { CompletedEmbeddingGeneration } from "./CompletedEmbeddingGeneration.js"; export const StateEmbeddingGenerationCompletedEmbeddingGeneration: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationFailed.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationFailed.ts index 21ff8fe4..edccfcff 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationFailed.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationFailed.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { Failed } from "./Failed.js"; export const StateEmbeddingGenerationFailed: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationInProgress.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationInProgress.ts index efa2cd56..ce0fb4dd 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationInProgress.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationInProgress.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { InProgress } from "./InProgress.js"; export const StateEmbeddingGenerationInProgress: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationQueued.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationQueued.ts index 13169bf7..6fa95acc 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationQueued.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateEmbeddingGenerationQueued.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { Queued } from "./Queued.js"; export const StateEmbeddingGenerationQueued: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateInference.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateInference.ts index 44992b45..33c4a43e 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateInference.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateInference.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; -import { QueuedState } from "./QueuedState.js"; -import { InProgressState } from "./InProgressState.js"; +import type * as serializers from "../../../../../index.js"; import { CompletedState } from "./CompletedState.js"; import { FailedState } from "./FailedState.js"; +import { InProgressState } from "./InProgressState.js"; +import { QueuedState } from "./QueuedState.js"; export const StateInference: core.serialization.Schema< serializers.expressionMeasurement.batch.StateInference.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInference.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInference.ts index 5c19f9ef..d08c13b7 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInference.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInference.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; -import { StateTlInferenceQueued } from "./StateTlInferenceQueued.js"; -import { StateTlInferenceInProgress } from "./StateTlInferenceInProgress.js"; +import type * as serializers from "../../../../../index.js"; import { StateTlInferenceCompletedTlInference } from "./StateTlInferenceCompletedTlInference.js"; import { StateTlInferenceFailed } from "./StateTlInferenceFailed.js"; +import { StateTlInferenceInProgress } from "./StateTlInferenceInProgress.js"; +import { StateTlInferenceQueued } from "./StateTlInferenceQueued.js"; export const StateTlInference: core.serialization.Schema< serializers.expressionMeasurement.batch.StateTlInference.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceCompletedTlInference.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceCompletedTlInference.ts index 7ba54ca2..d94e8f75 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceCompletedTlInference.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceCompletedTlInference.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { CompletedTlInference } from "./CompletedTlInference.js"; export const StateTlInferenceCompletedTlInference: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceFailed.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceFailed.ts index 8062e62e..74319dec 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceFailed.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceFailed.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { Failed } from "./Failed.js"; export const StateTlInferenceFailed: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceInProgress.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceInProgress.ts index 3e132359..104c1a50 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceInProgress.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceInProgress.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { InProgress } from "./InProgress.js"; export const StateTlInferenceInProgress: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceQueued.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceQueued.ts index d4a8d2c3..bf3aa6db 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceQueued.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTlInferenceQueued.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { Queued } from "./Queued.js"; export const StateTlInferenceQueued: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTraining.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTraining.ts index f13f915e..3a667a33 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTraining.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTraining.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; -import { StateTrainingQueued } from "./StateTrainingQueued.js"; -import { StateTrainingInProgress } from "./StateTrainingInProgress.js"; +import type * as serializers from "../../../../../index.js"; import { StateTrainingCompletedTraining } from "./StateTrainingCompletedTraining.js"; import { StateTrainingFailed } from "./StateTrainingFailed.js"; +import { StateTrainingInProgress } from "./StateTrainingInProgress.js"; +import { StateTrainingQueued } from "./StateTrainingQueued.js"; export const StateTraining: core.serialization.Schema< serializers.expressionMeasurement.batch.StateTraining.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingCompletedTraining.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingCompletedTraining.ts index 5d75842a..2a470a7f 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingCompletedTraining.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingCompletedTraining.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { CompletedTraining } from "./CompletedTraining.js"; export const StateTrainingCompletedTraining: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingFailed.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingFailed.ts index e4742278..16b966b7 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingFailed.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingFailed.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { Failed } from "./Failed.js"; export const StateTrainingFailed: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingInProgress.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingInProgress.ts index 05cff0a1..a17455d5 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingInProgress.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingInProgress.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { InProgress } from "./InProgress.js"; export const StateTrainingInProgress: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingQueued.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingQueued.ts index fc81cf33..880ad969 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingQueued.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/StateTrainingQueued.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { Queued } from "./Queued.js"; export const StateTrainingQueued: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Status.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Status.ts index 1f67b990..82ad9ea9 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Status.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Status.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const Status: core.serialization.Schema< serializers.expressionMeasurement.batch.Status.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Tag.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Tag.ts index 729f7cd2..09b856a1 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Tag.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Tag.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const Tag: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.Tag.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Target.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Target.ts index 00a04356..71b7c623 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Target.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Target.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const Target: core.serialization.Schema< serializers.expressionMeasurement.batch.Target.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Task.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Task.ts index ee3ca55b..970b605b 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Task.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Task.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { TaskClassification } from "./TaskClassification.js"; import { TaskRegression } from "./TaskRegression.js"; diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/TaskClassification.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/TaskClassification.ts index db2bbff8..9d2b867f 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/TaskClassification.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/TaskClassification.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const TaskClassification: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.TaskClassification.Raw, @@ -12,5 +10,5 @@ export const TaskClassification: core.serialization.ObjectSchema< > = core.serialization.object({}); export declare namespace TaskClassification { - export interface Raw {} + export type Raw = {}; } diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/TaskRegression.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/TaskRegression.ts index d5059b17..aa88d4c8 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/TaskRegression.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/TaskRegression.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const TaskRegression: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.TaskRegression.Raw, @@ -12,5 +10,5 @@ export const TaskRegression: core.serialization.ObjectSchema< > = core.serialization.object({}); export declare namespace TaskRegression { - export interface Raw {} + export type Raw = {}; } diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/TextSource.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/TextSource.ts index 04030660..fdf51314 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/TextSource.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/TextSource.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const TextSource: core.serialization.Schema< serializers.expressionMeasurement.batch.TextSource.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/TimeInterval.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/TimeInterval.ts index 96d5d26f..7b912ab4 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/TimeInterval.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/TimeInterval.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const TimeInterval: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.TimeInterval.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/TlInferenceBaseRequest.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/TlInferenceBaseRequest.ts index dacd07bd..2c0ee882 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/TlInferenceBaseRequest.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/TlInferenceBaseRequest.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { CustomModel } from "./CustomModel.js"; export const TlInferenceBaseRequest: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/TlInferencePrediction.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/TlInferencePrediction.ts index 76af951b..abecbd1a 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/TlInferencePrediction.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/TlInferencePrediction.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { CustomModelPrediction } from "./CustomModelPrediction.js"; export const TlInferencePrediction: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/TlInferenceResults.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/TlInferenceResults.ts index a5b08aef..adfdfedc 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/TlInferenceResults.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/TlInferenceResults.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; -import { TlInferencePrediction } from "./TlInferencePrediction.js"; +import type * as serializers from "../../../../../index.js"; import { Error_ } from "./Error_.js"; +import { TlInferencePrediction } from "./TlInferencePrediction.js"; export const TlInferenceResults: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.TlInferenceResults.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/TlInferenceSourcePredictResult.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/TlInferenceSourcePredictResult.ts index 8f25c0c5..7311ae47 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/TlInferenceSourcePredictResult.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/TlInferenceSourcePredictResult.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { Source } from "./Source.js"; import { TlInferenceResults } from "./TlInferenceResults.js"; diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/ToxicityScore.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/ToxicityScore.ts index e8e4311a..d7ec248e 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/ToxicityScore.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/ToxicityScore.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const ToxicityScore: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.ToxicityScore.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/TrainingBaseRequest.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/TrainingBaseRequest.ts index a72d169d..abf00f72 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/TrainingBaseRequest.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/TrainingBaseRequest.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; +import { Alternative } from "./Alternative.js"; import { CustomModelRequest } from "./CustomModelRequest.js"; import { Dataset } from "./Dataset.js"; -import { Task } from "./Task.js"; import { EvaluationArgs } from "./EvaluationArgs.js"; -import { Alternative } from "./Alternative.js"; +import { Task } from "./Task.js"; export const TrainingBaseRequest: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.TrainingBaseRequest.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/TrainingCustomModel.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/TrainingCustomModel.ts index c327a7c1..e49dec11 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/TrainingCustomModel.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/TrainingCustomModel.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const TrainingCustomModel: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.TrainingCustomModel.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Transcription.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Transcription.ts index 63fbb28a..ecea107c 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Transcription.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Transcription.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { Bcp47Tag } from "./Bcp47Tag.js"; export const Transcription: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/TranscriptionMetadata.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/TranscriptionMetadata.ts index 411f5af4..0160df74 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/TranscriptionMetadata.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/TranscriptionMetadata.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { Bcp47Tag } from "./Bcp47Tag.js"; export const TranscriptionMetadata: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Type.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Type.ts index 093a28d1..55e30819 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Type.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Type.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const Type: core.serialization.Schema< serializers.expressionMeasurement.batch.Type.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Unconfigurable.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Unconfigurable.ts index f1cc823b..681c05c9 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Unconfigurable.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Unconfigurable.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const Unconfigurable: core.serialization.Schema< serializers.expressionMeasurement.batch.Unconfigurable.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/UnionJob.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/UnionJob.ts index fcfb74f9..7005263f 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/UnionJob.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/UnionJob.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 Hume from "../../../../../../api/index.js"; -import * as core from "../../../../../../core/index.js"; +import type * as Hume from "../../../../../../api/index.js"; +import type * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { InferenceJob } from "./InferenceJob.js"; export const UnionJob: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/UnionPredictResult.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/UnionPredictResult.ts index 1a165a3d..bf38357a 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/UnionPredictResult.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/UnionPredictResult.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 Hume from "../../../../../../api/index.js"; -import * as core from "../../../../../../core/index.js"; +import type * as Hume from "../../../../../../api/index.js"; +import type * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { InferenceSourcePredictResult } from "./InferenceSourcePredictResult.js"; export const UnionPredictResult: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Url.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Url.ts index 4c7d375d..3fc9b4c7 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Url.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Url.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const Url: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.Url.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/ValidationArgs.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/ValidationArgs.ts index b8420da7..3a7b8608 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/ValidationArgs.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/ValidationArgs.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { Target } from "./Target.js"; export const ValidationArgs: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/When.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/When.ts index 497e2dd8..0d90de10 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/When.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/When.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const When: core.serialization.Schema< serializers.expressionMeasurement.batch.When.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/Window.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/Window.ts index fa7ad11c..7cd966b9 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/Window.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/Window.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const Window: core.serialization.ObjectSchema< serializers.expressionMeasurement.batch.Window.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/batch/types/index.ts b/src/serialization/resources/expressionMeasurement/resources/batch/types/index.ts index 0d5149d4..d034e1c8 100644 --- a/src/serialization/resources/expressionMeasurement/resources/batch/types/index.ts +++ b/src/serialization/resources/expressionMeasurement/resources/batch/types/index.ts @@ -5,43 +5,53 @@ export * from "./BurstPrediction.js"; export * from "./Classification.js"; export * from "./CompletedEmbeddingGeneration.js"; export * from "./CompletedInference.js"; +export * from "./CompletedState.js"; export * from "./CompletedTlInference.js"; export * from "./CompletedTraining.js"; +export * from "./CustomModel.js"; +export * from "./CustomModelId.js"; export * from "./CustomModelPrediction.js"; export * from "./CustomModelRequest.js"; +export * from "./CustomModelsInferenceJob.js"; +export * from "./CustomModelsTrainingJob.js"; +export * from "./CustomModelVersionId.js"; export * from "./Dataset.js"; export * from "./DatasetId.js"; export * from "./DatasetVersionId.js"; export * from "./DescriptionsScore.js"; export * from "./Direction.js"; export * from "./EmbeddingGenerationBaseRequest.js"; +export * from "./EmbeddingGenerationJob.js"; export * from "./EmotionScore.js"; export * from "./Error_.js"; export * from "./EvaluationArgs.js"; export * from "./Face.js"; -export * from "./FacePrediction.js"; export * from "./FacemeshPrediction.js"; +export * from "./FacePrediction.js"; export * from "./FacsScore.js"; export * from "./Failed.js"; +export * from "./FailedState.js"; export * from "./File_.js"; export * from "./Granularity.js"; export * from "./GroupedPredictionsBurstPrediction.js"; -export * from "./GroupedPredictionsFacePrediction.js"; export * from "./GroupedPredictionsFacemeshPrediction.js"; +export * from "./GroupedPredictionsFacePrediction.js"; export * from "./GroupedPredictionsLanguagePrediction.js"; export * from "./GroupedPredictionsNerPrediction.js"; export * from "./GroupedPredictionsProsodyPrediction.js"; -export * from "./InProgress.js"; export * from "./InferenceBaseRequest.js"; +export * from "./InferenceJob.js"; export * from "./InferencePrediction.js"; export * from "./InferenceRequest.js"; export * from "./InferenceResults.js"; export * from "./InferenceSourcePredictResult.js"; +export * from "./InProgress.js"; +export * from "./InProgressState.js"; export * from "./JobEmbeddingGeneration.js"; +export * from "./JobId.js"; export * from "./JobInference.js"; export * from "./JobTlInference.js"; export * from "./JobTraining.js"; -export * from "./JobId.js"; export * from "./Language.js"; export * from "./LanguagePrediction.js"; export * from "./Models.js"; @@ -51,14 +61,15 @@ export * from "./NerPrediction.js"; export * from "./Null.js"; export * from "./PositionInterval.js"; export * from "./PredictionsOptionalNullBurstPrediction.js"; -export * from "./PredictionsOptionalNullFacePrediction.js"; export * from "./PredictionsOptionalNullFacemeshPrediction.js"; +export * from "./PredictionsOptionalNullFacePrediction.js"; export * from "./PredictionsOptionalTranscriptionMetadataLanguagePrediction.js"; export * from "./PredictionsOptionalTranscriptionMetadataNerPrediction.js"; export * from "./PredictionsOptionalTranscriptionMetadataProsodyPrediction.js"; export * from "./Prosody.js"; export * from "./ProsodyPrediction.js"; export * from "./Queued.js"; +export * from "./QueuedState.js"; export * from "./RegistryFileDetail.js"; export * from "./Regression.js"; export * from "./SentimentScore.js"; @@ -67,17 +78,12 @@ export * from "./Source.js"; export * from "./SourceFile.js"; export * from "./SourceTextSource.js"; export * from "./SourceUrl.js"; -export * from "./Url.js"; export * from "./StateEmbeddingGeneration.js"; export * from "./StateEmbeddingGenerationCompletedEmbeddingGeneration.js"; export * from "./StateEmbeddingGenerationFailed.js"; export * from "./StateEmbeddingGenerationInProgress.js"; export * from "./StateEmbeddingGenerationQueued.js"; export * from "./StateInference.js"; -export * from "./CompletedState.js"; -export * from "./FailedState.js"; -export * from "./InProgressState.js"; -export * from "./QueuedState.js"; export * from "./StateTlInference.js"; export * from "./StateTlInferenceCompletedTlInference.js"; export * from "./StateTlInferenceFailed.js"; @@ -89,9 +95,6 @@ export * from "./StateTrainingFailed.js"; export * from "./StateTrainingInProgress.js"; export * from "./StateTrainingQueued.js"; export * from "./Status.js"; -export * from "./TlInferencePrediction.js"; -export * from "./TlInferenceResults.js"; -export * from "./TlInferenceSourcePredictResult.js"; export * from "./Tag.js"; export * from "./Target.js"; export * from "./Task.js"; @@ -100,9 +103,9 @@ export * from "./TaskRegression.js"; export * from "./TextSource.js"; export * from "./TimeInterval.js"; export * from "./TlInferenceBaseRequest.js"; -export * from "./CustomModel.js"; -export * from "./CustomModelId.js"; -export * from "./CustomModelVersionId.js"; +export * from "./TlInferencePrediction.js"; +export * from "./TlInferenceResults.js"; +export * from "./TlInferenceSourcePredictResult.js"; export * from "./ToxicityScore.js"; export * from "./TrainingBaseRequest.js"; export * from "./TrainingCustomModel.js"; @@ -111,11 +114,8 @@ export * from "./TranscriptionMetadata.js"; export * from "./Type.js"; export * from "./Unconfigurable.js"; export * from "./UnionJob.js"; -export * from "./EmbeddingGenerationJob.js"; -export * from "./InferenceJob.js"; -export * from "./CustomModelsInferenceJob.js"; -export * from "./CustomModelsTrainingJob.js"; export * from "./UnionPredictResult.js"; +export * from "./Url.js"; export * from "./ValidationArgs.js"; export * from "./When.js"; export * from "./Window.js"; diff --git a/src/serialization/resources/expressionMeasurement/resources/index.ts b/src/serialization/resources/expressionMeasurement/resources/index.ts index d0d18f76..5842a8da 100644 --- a/src/serialization/resources/expressionMeasurement/resources/index.ts +++ b/src/serialization/resources/expressionMeasurement/resources/index.ts @@ -1,2 +1,2 @@ -export * as stream from "./stream/index.js"; export * as batch from "./batch/index.js"; +export * as stream from "./stream/index.js"; diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/index.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/index.ts index f372f667..1f6f8736 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/index.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/index.ts @@ -1,3 +1,3 @@ -export * as stream from "./stream/index.js"; export * from "./stream/client/socket/index.js"; +export * as stream from "./stream/index.js"; export * from "./stream/types/index.js"; diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/client/socket/StreamSocketResponse.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/client/socket/StreamSocketResponse.ts index 40010518..1b07ec16 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/client/socket/StreamSocketResponse.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/client/socket/StreamSocketResponse.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 Hume from "../../../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../../../api/index.js"; import * as core from "../../../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../../../index.js"; import { SubscribeEvent } from "../../types/SubscribeEvent.js"; export const StreamSocketResponse: core.serialization.Schema< diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/Config.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/Config.ts index b02277ee..03f3ee28 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/Config.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/Config.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 Hume from "../../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../../api/index.js"; import * as core from "../../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../../index.js"; import { StreamFace } from "./StreamFace.js"; import { StreamLanguage } from "./StreamLanguage.js"; diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/JobDetails.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/JobDetails.ts index 08bd312e..9c3b7efd 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/JobDetails.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/JobDetails.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 Hume from "../../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../../api/index.js"; import * as core from "../../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../../index.js"; export const JobDetails: core.serialization.ObjectSchema< serializers.expressionMeasurement.stream.JobDetails.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamErrorMessage.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamErrorMessage.ts index d6b41cfb..25b160b2 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamErrorMessage.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/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 Hume from "../../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../../api/index.js"; import * as core from "../../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../../index.js"; import { JobDetails } from "./JobDetails.js"; export const StreamErrorMessage: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamFace.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamFace.ts index 9d8182c2..8a5759a7 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamFace.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamFace.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 Hume from "../../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../../api/index.js"; import * as core from "../../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../../index.js"; export const StreamFace: core.serialization.ObjectSchema< serializers.expressionMeasurement.stream.StreamFace.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamLanguage.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamLanguage.ts index 67015fd4..e0ea9b5a 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamLanguage.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamLanguage.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 Hume from "../../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../../api/index.js"; import * as core from "../../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../../index.js"; export const StreamLanguage: core.serialization.ObjectSchema< serializers.expressionMeasurement.stream.StreamLanguage.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictions.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictions.ts index 2c613e2c..2724258b 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictions.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictions.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 Hume from "../../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../../api/index.js"; import * as core from "../../../../../../../../core/index.js"; -import { StreamModelPredictionsJobDetails } from "./StreamModelPredictionsJobDetails.js"; +import type * as serializers from "../../../../../../../index.js"; import { StreamModelPredictionsBurst } from "./StreamModelPredictionsBurst.js"; import { StreamModelPredictionsFace } from "./StreamModelPredictionsFace.js"; import { StreamModelPredictionsFacemesh } from "./StreamModelPredictionsFacemesh.js"; +import { StreamModelPredictionsJobDetails } from "./StreamModelPredictionsJobDetails.js"; import { StreamModelPredictionsLanguage } from "./StreamModelPredictionsLanguage.js"; import { StreamModelPredictionsProsody } from "./StreamModelPredictionsProsody.js"; diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsBurst.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsBurst.ts index 9f1966b4..c75de0a7 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsBurst.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsBurst.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 Hume from "../../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../../api/index.js"; import * as core from "../../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../../index.js"; import { StreamModelPredictionsBurstPredictionsItem } from "./StreamModelPredictionsBurstPredictionsItem.js"; export const StreamModelPredictionsBurst: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsBurstPredictionsItem.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsBurstPredictionsItem.ts index 3df144b1..cc1e1b61 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsBurstPredictionsItem.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsBurstPredictionsItem.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. -import * as serializers from "../../../../../../../index.js"; -import * as Hume from "../../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../../api/index.js"; import * as core from "../../../../../../../../core/index.js"; -import { TimeRange } from "../../../types/TimeRange.js"; +import type * as serializers from "../../../../../../../index.js"; import { EmotionEmbedding } from "../../../types/EmotionEmbedding.js"; -import { EmotionEmbeddingItem } from "../../../types/EmotionEmbeddingItem.js"; +import { TimeRange } from "../../../types/TimeRange.js"; export const StreamModelPredictionsBurstPredictionsItem: core.serialization.ObjectSchema< serializers.expressionMeasurement.stream.StreamModelPredictionsBurstPredictionsItem.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFace.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFace.ts index cd4c917a..34157385 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFace.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFace.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 Hume from "../../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../../api/index.js"; import * as core from "../../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../../index.js"; import { StreamModelPredictionsFacePredictionsItem } from "./StreamModelPredictionsFacePredictionsItem.js"; export const StreamModelPredictionsFace: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacePredictionsItem.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacePredictionsItem.ts index 46b70e8c..8a401d82 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacePredictionsItem.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacePredictionsItem.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. -import * as serializers from "../../../../../../../index.js"; -import * as Hume from "../../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../../api/index.js"; import * as core from "../../../../../../../../core/index.js"; -import { StreamBoundingBox } from "../../../types/StreamBoundingBox.js"; +import type * as serializers from "../../../../../../../index.js"; import { EmotionEmbedding } from "../../../types/EmotionEmbedding.js"; -import { EmotionEmbeddingItem } from "../../../types/EmotionEmbeddingItem.js"; +import { StreamBoundingBox } from "../../../types/StreamBoundingBox.js"; export const StreamModelPredictionsFacePredictionsItem: core.serialization.ObjectSchema< serializers.expressionMeasurement.stream.StreamModelPredictionsFacePredictionsItem.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacemesh.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacemesh.ts index 01f84873..53e61ae0 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacemesh.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacemesh.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 Hume from "../../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../../api/index.js"; import * as core from "../../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../../index.js"; import { StreamModelPredictionsFacemeshPredictionsItem } from "./StreamModelPredictionsFacemeshPredictionsItem.js"; export const StreamModelPredictionsFacemesh: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacemeshPredictionsItem.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacemeshPredictionsItem.ts index 1b2636ce..9ffd9613 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacemeshPredictionsItem.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsFacemeshPredictionsItem.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. -import * as serializers from "../../../../../../../index.js"; -import * as Hume from "../../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../../api/index.js"; import * as core from "../../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../../index.js"; import { EmotionEmbedding } from "../../../types/EmotionEmbedding.js"; -import { EmotionEmbeddingItem } from "../../../types/EmotionEmbeddingItem.js"; export const StreamModelPredictionsFacemeshPredictionsItem: core.serialization.ObjectSchema< serializers.expressionMeasurement.stream.StreamModelPredictionsFacemeshPredictionsItem.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsJobDetails.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsJobDetails.ts index e730615c..14f98e2a 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsJobDetails.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsJobDetails.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 Hume from "../../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../../api/index.js"; import * as core from "../../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../../index.js"; export const StreamModelPredictionsJobDetails: core.serialization.ObjectSchema< serializers.expressionMeasurement.stream.StreamModelPredictionsJobDetails.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsLanguage.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsLanguage.ts index 2503d70a..87eddd5b 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsLanguage.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsLanguage.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 Hume from "../../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../../api/index.js"; import * as core from "../../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../../index.js"; import { StreamModelPredictionsLanguagePredictionsItem } from "./StreamModelPredictionsLanguagePredictionsItem.js"; export const StreamModelPredictionsLanguage: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.ts index 0933e28f..38b96bd8 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsLanguagePredictionsItem.ts @@ -1,17 +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 Hume from "../../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../../api/index.js"; import * as core from "../../../../../../../../core/index.js"; -import { TextPosition } from "../../../types/TextPosition.js"; +import type * as serializers from "../../../../../../../index.js"; import { EmotionEmbedding } from "../../../types/EmotionEmbedding.js"; import { Sentiment } from "../../../types/Sentiment.js"; +import { TextPosition } from "../../../types/TextPosition.js"; import { Toxicity } from "../../../types/Toxicity.js"; -import { EmotionEmbeddingItem } from "../../../types/EmotionEmbeddingItem.js"; -import { SentimentItem } from "../../../types/SentimentItem.js"; -import { ToxicityItem } from "../../../types/ToxicityItem.js"; export const StreamModelPredictionsLanguagePredictionsItem: core.serialization.ObjectSchema< serializers.expressionMeasurement.stream.StreamModelPredictionsLanguagePredictionsItem.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsProsody.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsProsody.ts index a220a7e4..a091c20e 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsProsody.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsProsody.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 Hume from "../../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../../api/index.js"; import * as core from "../../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../../index.js"; import { StreamModelPredictionsProsodyPredictionsItem } from "./StreamModelPredictionsProsodyPredictionsItem.js"; export const StreamModelPredictionsProsody: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsProsodyPredictionsItem.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsProsodyPredictionsItem.ts index 6215ce80..67631138 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsProsodyPredictionsItem.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelPredictionsProsodyPredictionsItem.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. -import * as serializers from "../../../../../../../index.js"; -import * as Hume from "../../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../../api/index.js"; import * as core from "../../../../../../../../core/index.js"; -import { TimeRange } from "../../../types/TimeRange.js"; +import type * as serializers from "../../../../../../../index.js"; import { EmotionEmbedding } from "../../../types/EmotionEmbedding.js"; -import { EmotionEmbeddingItem } from "../../../types/EmotionEmbeddingItem.js"; +import { TimeRange } from "../../../types/TimeRange.js"; export const StreamModelPredictionsProsodyPredictionsItem: core.serialization.ObjectSchema< serializers.expressionMeasurement.stream.StreamModelPredictionsProsodyPredictionsItem.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelsEndpointPayload.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelsEndpointPayload.ts index efee1210..1e9881aa 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelsEndpointPayload.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamModelsEndpointPayload.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 Hume from "../../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../../api/index.js"; import * as core from "../../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../../index.js"; import { Config } from "./Config.js"; export const StreamModelsEndpointPayload: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamWarningMessage.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamWarningMessage.ts index a4be799b..57780c89 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamWarningMessage.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamWarningMessage.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 Hume from "../../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../../api/index.js"; import * as core from "../../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../../index.js"; import { StreamWarningMessageJobDetails } from "./StreamWarningMessageJobDetails.js"; export const StreamWarningMessage: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamWarningMessageJobDetails.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamWarningMessageJobDetails.ts index c2967e92..9d450734 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamWarningMessageJobDetails.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/StreamWarningMessageJobDetails.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 Hume from "../../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../../api/index.js"; import * as core from "../../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../../index.js"; export const StreamWarningMessageJobDetails: core.serialization.ObjectSchema< serializers.expressionMeasurement.stream.StreamWarningMessageJobDetails.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/SubscribeEvent.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/SubscribeEvent.ts index db600e5b..13943938 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/SubscribeEvent.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/SubscribeEvent.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 Hume from "../../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../../api/index.js"; import * as core from "../../../../../../../../core/index.js"; -import { StreamModelPredictions } from "./StreamModelPredictions.js"; +import type * as serializers from "../../../../../../../index.js"; import { StreamErrorMessage } from "./StreamErrorMessage.js"; +import { StreamModelPredictions } from "./StreamModelPredictions.js"; import { StreamWarningMessage } from "./StreamWarningMessage.js"; export const SubscribeEvent: core.serialization.Schema< diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.ts b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.ts index dd75ae69..6f621aea 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.ts @@ -1,21 +1,21 @@ +export * from "./Config.js"; +export * from "./JobDetails.js"; +export * from "./StreamErrorMessage.js"; export * from "./StreamFace.js"; export * from "./StreamLanguage.js"; -export * from "./Config.js"; -export * from "./StreamModelsEndpointPayload.js"; -export * from "./StreamModelPredictionsJobDetails.js"; -export * from "./StreamModelPredictionsBurstPredictionsItem.js"; +export * from "./StreamModelPredictions.js"; export * from "./StreamModelPredictionsBurst.js"; -export * from "./StreamModelPredictionsFacePredictionsItem.js"; +export * from "./StreamModelPredictionsBurstPredictionsItem.js"; export * from "./StreamModelPredictionsFace.js"; -export * from "./StreamModelPredictionsFacemeshPredictionsItem.js"; export * from "./StreamModelPredictionsFacemesh.js"; -export * from "./StreamModelPredictionsLanguagePredictionsItem.js"; +export * from "./StreamModelPredictionsFacemeshPredictionsItem.js"; +export * from "./StreamModelPredictionsFacePredictionsItem.js"; +export * from "./StreamModelPredictionsJobDetails.js"; export * from "./StreamModelPredictionsLanguage.js"; -export * from "./StreamModelPredictionsProsodyPredictionsItem.js"; +export * from "./StreamModelPredictionsLanguagePredictionsItem.js"; export * from "./StreamModelPredictionsProsody.js"; -export * from "./StreamModelPredictions.js"; -export * from "./JobDetails.js"; -export * from "./StreamErrorMessage.js"; -export * from "./StreamWarningMessageJobDetails.js"; +export * from "./StreamModelPredictionsProsodyPredictionsItem.js"; +export * from "./StreamModelsEndpointPayload.js"; export * from "./StreamWarningMessage.js"; +export * from "./StreamWarningMessageJobDetails.js"; export * from "./SubscribeEvent.js"; diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/types/EmotionEmbedding.ts b/src/serialization/resources/expressionMeasurement/resources/stream/types/EmotionEmbedding.ts index 3aafa9b9..66a7566c 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/types/EmotionEmbedding.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/types/EmotionEmbedding.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { EmotionEmbeddingItem } from "./EmotionEmbeddingItem.js"; export const EmotionEmbedding: core.serialization.Schema< diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/types/EmotionEmbeddingItem.ts b/src/serialization/resources/expressionMeasurement/resources/stream/types/EmotionEmbeddingItem.ts index 0467bd86..2c4eeec4 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/types/EmotionEmbeddingItem.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/types/EmotionEmbeddingItem.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const EmotionEmbeddingItem: core.serialization.ObjectSchema< serializers.expressionMeasurement.stream.EmotionEmbeddingItem.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/types/Sentiment.ts b/src/serialization/resources/expressionMeasurement/resources/stream/types/Sentiment.ts index 4e1f1a30..a148d980 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/types/Sentiment.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/types/Sentiment.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { SentimentItem } from "./SentimentItem.js"; export const Sentiment: core.serialization.Schema< diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/types/SentimentItem.ts b/src/serialization/resources/expressionMeasurement/resources/stream/types/SentimentItem.ts index 0576f2ba..65206290 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/types/SentimentItem.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/types/SentimentItem.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const SentimentItem: core.serialization.ObjectSchema< serializers.expressionMeasurement.stream.SentimentItem.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/types/StreamBoundingBox.ts b/src/serialization/resources/expressionMeasurement/resources/stream/types/StreamBoundingBox.ts index d4209275..da1fe4cd 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/types/StreamBoundingBox.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/types/StreamBoundingBox.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const StreamBoundingBox: core.serialization.ObjectSchema< serializers.expressionMeasurement.stream.StreamBoundingBox.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/types/TextPosition.ts b/src/serialization/resources/expressionMeasurement/resources/stream/types/TextPosition.ts index 21c1c0ad..669e891f 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/types/TextPosition.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/types/TextPosition.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const TextPosition: core.serialization.ObjectSchema< serializers.expressionMeasurement.stream.TextPosition.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/types/TimeRange.ts b/src/serialization/resources/expressionMeasurement/resources/stream/types/TimeRange.ts index 9b60b60c..ceacade5 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/types/TimeRange.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/types/TimeRange.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const TimeRange: core.serialization.ObjectSchema< serializers.expressionMeasurement.stream.TimeRange.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/types/Toxicity.ts b/src/serialization/resources/expressionMeasurement/resources/stream/types/Toxicity.ts index 662ff0a9..7dbccfd1 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/types/Toxicity.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/types/Toxicity.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; import { ToxicityItem } from "./ToxicityItem.js"; export const Toxicity: core.serialization.Schema< diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/types/ToxicityItem.ts b/src/serialization/resources/expressionMeasurement/resources/stream/types/ToxicityItem.ts index a1e5be9a..3c4b0729 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/types/ToxicityItem.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/types/ToxicityItem.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 Hume from "../../../../../../api/index.js"; +import type * as Hume from "../../../../../../api/index.js"; import * as core from "../../../../../../core/index.js"; +import type * as serializers from "../../../../../index.js"; export const ToxicityItem: core.serialization.ObjectSchema< serializers.expressionMeasurement.stream.ToxicityItem.Raw, diff --git a/src/serialization/resources/expressionMeasurement/resources/stream/types/index.ts b/src/serialization/resources/expressionMeasurement/resources/stream/types/index.ts index a356816b..f9777f30 100644 --- a/src/serialization/resources/expressionMeasurement/resources/stream/types/index.ts +++ b/src/serialization/resources/expressionMeasurement/resources/stream/types/index.ts @@ -1,9 +1,9 @@ -export * from "./EmotionEmbeddingItem.js"; export * from "./EmotionEmbedding.js"; +export * from "./EmotionEmbeddingItem.js"; +export * from "./Sentiment.js"; +export * from "./SentimentItem.js"; export * from "./StreamBoundingBox.js"; -export * from "./TimeRange.js"; export * from "./TextPosition.js"; -export * from "./SentimentItem.js"; -export * from "./Sentiment.js"; -export * from "./ToxicityItem.js"; +export * from "./TimeRange.js"; export * from "./Toxicity.js"; +export * from "./ToxicityItem.js"; diff --git a/src/serialization/resources/index.ts b/src/serialization/resources/index.ts index 78a37fd4..03f9f41d 100644 --- a/src/serialization/resources/index.ts +++ b/src/serialization/resources/index.ts @@ -1,3 +1,3 @@ -export * as tts from "./tts/index.js"; export * as empathicVoice from "./empathicVoice/index.js"; export * as expressionMeasurement from "./expressionMeasurement/index.js"; +export * as tts from "./tts/index.js"; diff --git a/src/serialization/resources/tts/resources/index.ts b/src/serialization/resources/tts/resources/index.ts index 326d4a4f..0125058b 100644 --- a/src/serialization/resources/tts/resources/index.ts +++ b/src/serialization/resources/tts/resources/index.ts @@ -1,4 +1,4 @@ -export * as streamInput from "./streamInput/index.js"; export * from "./streamInput/client/socket/index.js"; -export * as voices from "./voices/index.js"; +export * as streamInput from "./streamInput/index.js"; export * from "./voices/client/requests/index.js"; +export * as voices from "./voices/index.js"; diff --git a/src/serialization/resources/tts/resources/streamInput/client/socket/StreamInputSocketResponse.ts b/src/serialization/resources/tts/resources/streamInput/client/socket/StreamInputSocketResponse.ts index d92d083c..ebcadfd0 100644 --- a/src/serialization/resources/tts/resources/streamInput/client/socket/StreamInputSocketResponse.ts +++ b/src/serialization/resources/tts/resources/streamInput/client/socket/StreamInputSocketResponse.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 Hume from "../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../api/index.js"; import * as core from "../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../index.js"; import { TtsOutput } from "../../../../types/TtsOutput.js"; export const StreamInputSocketResponse: core.serialization.Schema< diff --git a/src/serialization/resources/tts/resources/voices/client/requests/PostedVoice.ts b/src/serialization/resources/tts/resources/voices/client/requests/PostedVoice.ts index 89317201..f1ace9f1 100644 --- a/src/serialization/resources/tts/resources/voices/client/requests/PostedVoice.ts +++ b/src/serialization/resources/tts/resources/voices/client/requests/PostedVoice.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 Hume from "../../../../../../../api/index.js"; +import type * as Hume from "../../../../../../../api/index.js"; import * as core from "../../../../../../../core/index.js"; +import type * as serializers from "../../../../../../index.js"; export const PostedVoice: core.serialization.Schema = core.serialization.object({ diff --git a/src/serialization/resources/tts/types/AudioEncoding.ts b/src/serialization/resources/tts/types/AudioEncoding.ts index 8a42464b..7c4116e7 100644 --- a/src/serialization/resources/tts/types/AudioEncoding.ts +++ b/src/serialization/resources/tts/types/AudioEncoding.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { AudioFormatType } from "./AudioFormatType.js"; export const AudioEncoding: core.serialization.ObjectSchema = diff --git a/src/serialization/resources/tts/types/AudioFormatType.ts b/src/serialization/resources/tts/types/AudioFormatType.ts index 8aff76b8..85f12dfc 100644 --- a/src/serialization/resources/tts/types/AudioFormatType.ts +++ b/src/serialization/resources/tts/types/AudioFormatType.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const AudioFormatType: core.serialization.Schema = core.serialization.enum_(["mp3", "pcm", "wav"]); diff --git a/src/serialization/resources/tts/types/ErrorResponse.ts b/src/serialization/resources/tts/types/ErrorResponse.ts index 83146819..74ed5459 100644 --- a/src/serialization/resources/tts/types/ErrorResponse.ts +++ b/src/serialization/resources/tts/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 Hume from "../../../../api/index.js"; +import type * as Hume 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/resources/tts/types/Format.ts b/src/serialization/resources/tts/types/Format.ts index fe3ae0fb..2f04ca69 100644 --- a/src/serialization/resources/tts/types/Format.ts +++ b/src/serialization/resources/tts/types/Format.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { FormatMp3 } from "./FormatMp3.js"; import { FormatPcm } from "./FormatPcm.js"; import { FormatWav } from "./FormatWav.js"; diff --git a/src/serialization/resources/tts/types/FormatMp3.ts b/src/serialization/resources/tts/types/FormatMp3.ts index 7ab0ac0f..fe47b825 100644 --- a/src/serialization/resources/tts/types/FormatMp3.ts +++ b/src/serialization/resources/tts/types/FormatMp3.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const FormatMp3: core.serialization.ObjectSchema = core.serialization.object({ diff --git a/src/serialization/resources/tts/types/FormatPcm.ts b/src/serialization/resources/tts/types/FormatPcm.ts index 16aded26..1c9fc399 100644 --- a/src/serialization/resources/tts/types/FormatPcm.ts +++ b/src/serialization/resources/tts/types/FormatPcm.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const FormatPcm: core.serialization.ObjectSchema = core.serialization.object({ diff --git a/src/serialization/resources/tts/types/FormatWav.ts b/src/serialization/resources/tts/types/FormatWav.ts index ed57281c..74b4a497 100644 --- a/src/serialization/resources/tts/types/FormatWav.ts +++ b/src/serialization/resources/tts/types/FormatWav.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const FormatWav: core.serialization.ObjectSchema = core.serialization.object({ diff --git a/src/serialization/resources/tts/types/HttpValidationError.ts b/src/serialization/resources/tts/types/HttpValidationError.ts index 70e7fa12..5ee8d439 100644 --- a/src/serialization/resources/tts/types/HttpValidationError.ts +++ b/src/serialization/resources/tts/types/HttpValidationError.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ValidationError } from "./ValidationError.js"; export const HttpValidationError: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/tts/types/MillisecondInterval.ts b/src/serialization/resources/tts/types/MillisecondInterval.ts index 8a97f5d9..81367f99 100644 --- a/src/serialization/resources/tts/types/MillisecondInterval.ts +++ b/src/serialization/resources/tts/types/MillisecondInterval.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const MillisecondInterval: core.serialization.ObjectSchema< serializers.tts.MillisecondInterval.Raw, diff --git a/src/serialization/resources/tts/types/OctaveVersion.ts b/src/serialization/resources/tts/types/OctaveVersion.ts index 91f7735a..566091e7 100644 --- a/src/serialization/resources/tts/types/OctaveVersion.ts +++ b/src/serialization/resources/tts/types/OctaveVersion.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const OctaveVersion: core.serialization.Schema = core.serialization.enum_(["1", "2"]); diff --git a/src/serialization/resources/tts/types/PostedContext.ts b/src/serialization/resources/tts/types/PostedContext.ts index 922d2fa3..b6b98540 100644 --- a/src/serialization/resources/tts/types/PostedContext.ts +++ b/src/serialization/resources/tts/types/PostedContext.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { PostedContextWithGenerationId } from "./PostedContextWithGenerationId.js"; import { PostedContextWithUtterances } from "./PostedContextWithUtterances.js"; diff --git a/src/serialization/resources/tts/types/PostedContextWithGenerationId.ts b/src/serialization/resources/tts/types/PostedContextWithGenerationId.ts index 0299713b..816027d4 100644 --- a/src/serialization/resources/tts/types/PostedContextWithGenerationId.ts +++ b/src/serialization/resources/tts/types/PostedContextWithGenerationId.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const PostedContextWithGenerationId: core.serialization.ObjectSchema< serializers.tts.PostedContextWithGenerationId.Raw, diff --git a/src/serialization/resources/tts/types/PostedContextWithUtterances.ts b/src/serialization/resources/tts/types/PostedContextWithUtterances.ts index 9ea4476b..058305be 100644 --- a/src/serialization/resources/tts/types/PostedContextWithUtterances.ts +++ b/src/serialization/resources/tts/types/PostedContextWithUtterances.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { PostedUtterance } from "./PostedUtterance.js"; export const PostedContextWithUtterances: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/tts/types/PostedTts.ts b/src/serialization/resources/tts/types/PostedTts.ts index b8fa40e7..f408ebb4 100644 --- a/src/serialization/resources/tts/types/PostedTts.ts +++ b/src/serialization/resources/tts/types/PostedTts.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; -import { PostedContext } from "./PostedContext.js"; +import type * as serializers from "../../../index.js"; import { Format } from "./Format.js"; -import { TimestampType } from "./TimestampType.js"; -import { PostedUtterance } from "./PostedUtterance.js"; import { OctaveVersion } from "./OctaveVersion.js"; +import { PostedContext } from "./PostedContext.js"; +import { PostedUtterance } from "./PostedUtterance.js"; +import { TimestampType } from "./TimestampType.js"; export const PostedTts: core.serialization.ObjectSchema = core.serialization.object({ diff --git a/src/serialization/resources/tts/types/PostedUtterance.ts b/src/serialization/resources/tts/types/PostedUtterance.ts index 885a2d81..f97517b2 100644 --- a/src/serialization/resources/tts/types/PostedUtterance.ts +++ b/src/serialization/resources/tts/types/PostedUtterance.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { PostedUtteranceVoice } from "./PostedUtteranceVoice.js"; export const PostedUtterance: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/tts/types/PostedUtteranceVoice.ts b/src/serialization/resources/tts/types/PostedUtteranceVoice.ts index df16f1d9..b3eb0f91 100644 --- a/src/serialization/resources/tts/types/PostedUtteranceVoice.ts +++ b/src/serialization/resources/tts/types/PostedUtteranceVoice.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { PostedUtteranceVoiceWithId } from "./PostedUtteranceVoiceWithId.js"; import { PostedUtteranceVoiceWithName } from "./PostedUtteranceVoiceWithName.js"; diff --git a/src/serialization/resources/tts/types/PostedUtteranceVoiceWithId.ts b/src/serialization/resources/tts/types/PostedUtteranceVoiceWithId.ts index 4b0952ce..e635c08d 100644 --- a/src/serialization/resources/tts/types/PostedUtteranceVoiceWithId.ts +++ b/src/serialization/resources/tts/types/PostedUtteranceVoiceWithId.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { VoiceProvider } from "./VoiceProvider.js"; export const PostedUtteranceVoiceWithId: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/tts/types/PostedUtteranceVoiceWithName.ts b/src/serialization/resources/tts/types/PostedUtteranceVoiceWithName.ts index 620d59a7..5279dff1 100644 --- a/src/serialization/resources/tts/types/PostedUtteranceVoiceWithName.ts +++ b/src/serialization/resources/tts/types/PostedUtteranceVoiceWithName.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { VoiceProvider } from "./VoiceProvider.js"; export const PostedUtteranceVoiceWithName: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/tts/types/PublishTts.ts b/src/serialization/resources/tts/types/PublishTts.ts index abed95b5..4bf99638 100644 --- a/src/serialization/resources/tts/types/PublishTts.ts +++ b/src/serialization/resources/tts/types/PublishTts.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { PostedUtteranceVoice } from "./PostedUtteranceVoice.js"; export const PublishTts: core.serialization.ObjectSchema = diff --git a/src/serialization/resources/tts/types/ReturnGeneration.ts b/src/serialization/resources/tts/types/ReturnGeneration.ts index d5422664..8e9f655b 100644 --- a/src/serialization/resources/tts/types/ReturnGeneration.ts +++ b/src/serialization/resources/tts/types/ReturnGeneration.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { AudioEncoding } from "./AudioEncoding.js"; import { Snippet } from "./Snippet.js"; diff --git a/src/serialization/resources/tts/types/ReturnPagedVoices.ts b/src/serialization/resources/tts/types/ReturnPagedVoices.ts index 316deb32..261074fc 100644 --- a/src/serialization/resources/tts/types/ReturnPagedVoices.ts +++ b/src/serialization/resources/tts/types/ReturnPagedVoices.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ReturnVoice } from "./ReturnVoice.js"; export const ReturnPagedVoices: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/tts/types/ReturnTts.ts b/src/serialization/resources/tts/types/ReturnTts.ts index 03e0d01b..02808891 100644 --- a/src/serialization/resources/tts/types/ReturnTts.ts +++ b/src/serialization/resources/tts/types/ReturnTts.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ReturnGeneration } from "./ReturnGeneration.js"; export const ReturnTts: core.serialization.ObjectSchema = diff --git a/src/serialization/resources/tts/types/ReturnVoice.ts b/src/serialization/resources/tts/types/ReturnVoice.ts index 2962e48b..dc6704b5 100644 --- a/src/serialization/resources/tts/types/ReturnVoice.ts +++ b/src/serialization/resources/tts/types/ReturnVoice.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { VoiceProvider } from "./VoiceProvider.js"; export const ReturnVoice: core.serialization.ObjectSchema = diff --git a/src/serialization/resources/tts/types/Snippet.ts b/src/serialization/resources/tts/types/Snippet.ts index abd3d677..2a78206a 100644 --- a/src/serialization/resources/tts/types/Snippet.ts +++ b/src/serialization/resources/tts/types/Snippet.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { Timestamp } from "./Timestamp.js"; export const Snippet: core.serialization.ObjectSchema = diff --git a/src/serialization/resources/tts/types/SnippetAudioChunk.ts b/src/serialization/resources/tts/types/SnippetAudioChunk.ts index de2ebf0a..a91f0845 100644 --- a/src/serialization/resources/tts/types/SnippetAudioChunk.ts +++ b/src/serialization/resources/tts/types/SnippetAudioChunk.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { AudioFormatType } from "./AudioFormatType.js"; import { Snippet } from "./Snippet.js"; diff --git a/src/serialization/resources/tts/types/Timestamp.ts b/src/serialization/resources/tts/types/Timestamp.ts index bea0e7bf..d9f0229f 100644 --- a/src/serialization/resources/tts/types/Timestamp.ts +++ b/src/serialization/resources/tts/types/Timestamp.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { MillisecondInterval } from "./MillisecondInterval.js"; import { TimestampType } from "./TimestampType.js"; diff --git a/src/serialization/resources/tts/types/TimestampMessage.ts b/src/serialization/resources/tts/types/TimestampMessage.ts index e37d2d8c..e7cbabbe 100644 --- a/src/serialization/resources/tts/types/TimestampMessage.ts +++ b/src/serialization/resources/tts/types/TimestampMessage.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { Timestamp } from "./Timestamp.js"; export const TimestampMessage: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/tts/types/TimestampType.ts b/src/serialization/resources/tts/types/TimestampType.ts index e1811264..5e590f93 100644 --- a/src/serialization/resources/tts/types/TimestampType.ts +++ b/src/serialization/resources/tts/types/TimestampType.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const TimestampType: core.serialization.Schema = core.serialization.enum_(["word", "phoneme"]); diff --git a/src/serialization/resources/tts/types/TtsOutput.ts b/src/serialization/resources/tts/types/TtsOutput.ts index 38de2dcd..ae2d2c35 100644 --- a/src/serialization/resources/tts/types/TtsOutput.ts +++ b/src/serialization/resources/tts/types/TtsOutput.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { SnippetAudioChunk } from "./SnippetAudioChunk.js"; import { TimestampMessage } from "./TimestampMessage.js"; diff --git a/src/serialization/resources/tts/types/ValidationError.ts b/src/serialization/resources/tts/types/ValidationError.ts index 051f76fd..0dd9f485 100644 --- a/src/serialization/resources/tts/types/ValidationError.ts +++ b/src/serialization/resources/tts/types/ValidationError.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; import { ValidationErrorLocItem } from "./ValidationErrorLocItem.js"; export const ValidationError: core.serialization.ObjectSchema< diff --git a/src/serialization/resources/tts/types/ValidationErrorLocItem.ts b/src/serialization/resources/tts/types/ValidationErrorLocItem.ts index 9fc31c24..9cbfb304 100644 --- a/src/serialization/resources/tts/types/ValidationErrorLocItem.ts +++ b/src/serialization/resources/tts/types/ValidationErrorLocItem.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const ValidationErrorLocItem: core.serialization.Schema< serializers.tts.ValidationErrorLocItem.Raw, diff --git a/src/serialization/resources/tts/types/VoiceProvider.ts b/src/serialization/resources/tts/types/VoiceProvider.ts index 0a377efc..212e379e 100644 --- a/src/serialization/resources/tts/types/VoiceProvider.ts +++ b/src/serialization/resources/tts/types/VoiceProvider.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 Hume from "../../../../api/index.js"; +import type * as Hume from "../../../../api/index.js"; import * as core from "../../../../core/index.js"; +import type * as serializers from "../../../index.js"; export const VoiceProvider: core.serialization.Schema = core.serialization.enum_(["HUME_AI", "CUSTOM_VOICE"]); diff --git a/src/serialization/resources/tts/types/index.ts b/src/serialization/resources/tts/types/index.ts index 849979de..e3f3c938 100644 --- a/src/serialization/resources/tts/types/index.ts +++ b/src/serialization/resources/tts/types/index.ts @@ -1,32 +1,32 @@ +export * from "./AudioEncoding.js"; export * from "./AudioFormatType.js"; -export * from "./PublishTts.js"; +export * from "./ErrorResponse.js"; +export * from "./Format.js"; +export * from "./FormatMp3.js"; +export * from "./FormatPcm.js"; +export * from "./FormatWav.js"; +export * from "./HttpValidationError.js"; export * from "./MillisecondInterval.js"; -export * from "./TimestampMessage.js"; -export * from "./SnippetAudioChunk.js"; -export * from "./Timestamp.js"; -export * from "./TimestampType.js"; -export * from "./PostedUtteranceVoiceWithId.js"; -export * from "./PostedUtteranceVoiceWithName.js"; -export * from "./VoiceProvider.js"; -export * from "./PostedUtteranceVoice.js"; export * from "./OctaveVersion.js"; -export * from "./TtsOutput.js"; -export * from "./Snippet.js"; +export * from "./PostedContext.js"; export * from "./PostedContextWithGenerationId.js"; export * from "./PostedContextWithUtterances.js"; -export * from "./AudioEncoding.js"; -export * from "./ReturnGeneration.js"; -export * from "./HttpValidationError.js"; -export * from "./FormatMp3.js"; -export * from "./PostedContext.js"; -export * from "./Format.js"; export * from "./PostedTts.js"; +export * from "./PostedUtterance.js"; +export * from "./PostedUtteranceVoice.js"; +export * from "./PostedUtteranceVoiceWithId.js"; +export * from "./PostedUtteranceVoiceWithName.js"; +export * from "./PublishTts.js"; +export * from "./ReturnGeneration.js"; +export * from "./ReturnPagedVoices.js"; export * from "./ReturnTts.js"; export * from "./ReturnVoice.js"; -export * from "./FormatPcm.js"; -export * from "./PostedUtterance.js"; -export * from "./ValidationErrorLocItem.js"; +export * from "./Snippet.js"; +export * from "./SnippetAudioChunk.js"; +export * from "./Timestamp.js"; +export * from "./TimestampMessage.js"; +export * from "./TimestampType.js"; +export * from "./TtsOutput.js"; export * from "./ValidationError.js"; -export * from "./FormatWav.js"; -export * from "./ErrorResponse.js"; -export * from "./ReturnPagedVoices.js"; +export * from "./ValidationErrorLocItem.js"; +export * from "./VoiceProvider.js"; diff --git a/src/version.ts b/src/version.ts index 97e00518..4d012803 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const SDK_VERSION = "0.15.2"; +export const SDK_VERSION = "0.15.3"; diff --git a/src/wrapper/EVIWebAudioPlayer.ts b/src/wrapper/EVIWebAudioPlayer.ts index b7c5594e..49ab6dd1 100644 --- a/src/wrapper/EVIWebAudioPlayer.ts +++ b/src/wrapper/EVIWebAudioPlayer.ts @@ -347,7 +347,7 @@ export class EVIWebAudioPlayer extends EventTarget { /** * Flush the worklet queue and output silence. */ - stop() { + stop(): void { if (!this.#disableAudioWorklet) { // Clear buffered audio from the worklet queue this.#workletNode?.port.postMessage({ type: "fadeAndClear" }); @@ -378,7 +378,7 @@ export class EVIWebAudioPlayer extends EventTarget { * * @param volume Desired gain; clamped to [0, 1]. */ - setVolume(volume: number) { + setVolume(volume: number): void { const clampedVolume = Math.max(0, Math.min(volume, 1)); this.#volume = clampedVolume; @@ -390,7 +390,7 @@ export class EVIWebAudioPlayer extends EventTarget { /** * Mute output instantly by setting the gain to 0. Retains the last volume internally for later restore. */ - mute() { + mute(): void { if (!this.#gainNode || !this.#ctx) return; this.#gainNode.gain.setValueAtTime(0, this.#ctx.currentTime); this.#muted = true; @@ -399,7 +399,7 @@ export class EVIWebAudioPlayer extends EventTarget { /** * Restore output gain to the last set volume (via setVolume). */ - unmute() { + unmute(): void { if (!this.#gainNode || !this.#ctx) return; this.#gainNode.gain.setValueAtTime(this.#volume, this.#ctx.currentTime); this.#muted = false; @@ -408,7 +408,7 @@ export class EVIWebAudioPlayer extends EventTarget { /** * Tear down all Web-Audio resources (worklet, analyser, gain, context) and reset state so {@link init} can be called again. */ - dispose() { + dispose(): void { if (this.#fftTimer != null) { clearInterval(this.#fftTimer); this.#fftTimer = null; diff --git a/src/wrapper/checkForAudioTracks.ts b/src/wrapper/checkForAudioTracks.ts index 4be8f0d8..1b783e2c 100644 --- a/src/wrapper/checkForAudioTracks.ts +++ b/src/wrapper/checkForAudioTracks.ts @@ -5,7 +5,7 @@ * @param stream * The MediaStream to check */ -export const checkForAudioTracks = (stream: MediaStream) => { +export const checkForAudioTracks = (stream: MediaStream): void => { const tracks = stream.getAudioTracks(); if (tracks.length === 0) { diff --git a/src/wrapper/index.ts b/src/wrapper/index.ts index 538b0f1a..b538b2b6 100644 --- a/src/wrapper/index.ts +++ b/src/wrapper/index.ts @@ -9,11 +9,12 @@ export { getAudioStream } from "./getAudioStream.js"; export { MimeType, getBrowserSupportedMimeType } from "./getBrowserSupportedMimeType.js"; export { HumeClient } from "./HumeClient.js"; export { ExpressionMeasurement } from "./expressionMeasurement/ExpressionMeasurementClient.js"; -export { EVIWebAudioPlayer, EVIWebAudioPlayerFFTOptions, EVIWebAudioPlayerOptions } from "./EVIWebAudioPlayer.js"; +export { EVIWebAudioPlayer } from "./EVIWebAudioPlayer.js"; +export type { EVIWebAudioPlayerFFTOptions, EVIWebAudioPlayerOptions } from "./EVIWebAudioPlayer.js"; export { collate } from "./collate.js"; // SilenceFiller extends from Node.JS Readable -- this should not be exported in non-nodeJS environments. Otherwise the bundle will crash in the browser. -export const createSilenceFiller = async () => { +export const createSilenceFiller = async (): Promise => { if (typeof process === "undefined" || !process.versions?.node) { throw new Error("SilenceFiller is only available in Node.js environments"); } 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 88368d4d..18557ec1 100644 --- a/tests/mock-server/mockEndpointBuilder.ts +++ b/tests/mock-server/mockEndpointBuilder.ts @@ -1,4 +1,4 @@ -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"; 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/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 03f585de..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"; @@ -67,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; } } } @@ -99,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/fetcher/Fetcher.test.ts b/tests/unit/fetcher/Fetcher.test.ts index b6ec521e..fc23b77e 100644 --- a/tests/unit/fetcher/Fetcher.test.ts +++ b/tests/unit/fetcher/Fetcher.test.ts @@ -17,7 +17,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 +52,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 +84,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 +129,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 +174,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 +217,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/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 779f4fb5..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,7 +138,7 @@ 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); @@ -131,7 +146,7 @@ describe("requestWithRetries", () => { }); it("should respect retry-after header with seconds value", 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; }); @@ -146,7 +161,7 @@ describe("requestWithRetries", () => { .mockResolvedValueOnce(new Response("", { status: 200 })); const responsePromise = requestWithRetries(() => mockFetch(), 1); - await jest.runAllTimersAsync(); + await vi.runAllTimersAsync(); const response = await responsePromise; expect(setTimeoutSpy).toHaveBeenCalledWith(expect.any(Function), 5000); // 5 seconds = 5000ms @@ -154,7 +169,7 @@ describe("requestWithRetries", () => { }); it("should respect retry-after header with HTTP date value", 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; }); @@ -170,7 +185,7 @@ describe("requestWithRetries", () => { .mockResolvedValueOnce(new Response("", { status: 200 })); const responsePromise = requestWithRetries(() => mockFetch(), 1); - await jest.runAllTimersAsync(); + await vi.runAllTimersAsync(); const response = await responsePromise; // Should use the date-based delay (approximately 3000ms, but with jitter) @@ -182,7 +197,7 @@ describe("requestWithRetries", () => { }); it("should respect x-ratelimit-reset header", 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; }); @@ -198,19 +213,19 @@ describe("requestWithRetries", () => { .mockResolvedValueOnce(new Response("", { status: 200 })); const responsePromise = requestWithRetries(() => mockFetch(), 1); - await jest.runAllTimersAsync(); + await vi.runAllTimersAsync(); const response = await responsePromise; - // Should use the x-ratelimit-reset delay (approximately 4000ms, but with jitter) + // 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(5000); + expect(actualDelay).toBeLessThan(6000); expect(response.status).toBe(200); }); it("should cap delay at MAX_RETRY_DELAY for large header values", 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; }); @@ -225,7 +240,7 @@ describe("requestWithRetries", () => { .mockResolvedValueOnce(new Response("", { status: 200 })); const responsePromise = requestWithRetries(() => mockFetch(), 1); - await jest.runAllTimersAsync(); + await vi.runAllTimersAsync(); const response = await responsePromise; // Should be capped at MAX_RETRY_DELAY (60000ms) with jitter applied 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 dbc47158..02c10504 100644 --- a/tests/unit/file/file.test.ts +++ b/tests/unit/file/file.test.ts @@ -12,7 +12,7 @@ describe("toBinaryUploadRequest", () => { const TEST_FILE_PATH = join(__dirname, "test-file.txt"); beforeEach(() => { - jest.clearAllMocks(); + vi.clearAllMocks(); }); describe("Buffer input", () => { @@ -409,8 +409,13 @@ describe("toBinaryUploadRequest", () => { 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); + // Mock the dynamic import of fs + vi.doMock("fs", () => ({ + createReadStream: vi.fn().mockReturnValue(mockReadStream), + promises: { + stat: vi.fn().mockResolvedValue(mockStats), + }, + })); const result = await toBinaryUploadRequest(input); @@ -420,9 +425,8 @@ describe("toBinaryUploadRequest", () => { "Content-Length": "123", }); - // Restore mocks - createReadStreamSpy.mockRestore(); - statSpy.mockRestore(); + // Clear the mock + vi.doUnmock("fs"); }); it("should handle file path when fs is not available", async () => { @@ -431,15 +435,16 @@ describe("toBinaryUploadRequest", () => { }; // Mock import to simulate environment without fs - const originalImport = jest.requireActual("fs"); - jest.doMock("fs", () => null); + vi.doMock("fs", () => ({ + createReadStream: undefined, + })); await expect(toBinaryUploadRequest(input)).rejects.toThrow( "File path uploads are not supported in this environment.", ); - // Restore fs - jest.doMock("fs", () => originalImport); + // Clear the mock + vi.doUnmock("fs"); }); }); diff --git a/tests/unit/form-data-utils/formDataWrapper.browser.test.ts b/tests/unit/form-data-utils/formDataWrapper.browser.test.ts deleted file mode 100644 index f7667618..00000000 --- a/tests/unit/form-data-utils/formDataWrapper.browser.test.ts +++ /dev/null @@ -1,378 +0,0 @@ -import { FormDataWrapper, newFormData } from "../../../src/core/form-data-utils/FormDataWrapper"; - -type FormDataRequest = ReturnType["getRequest"]>; - -async function getFormDataInfo(formRequest: FormDataRequest): Promise<{ - hasFile: boolean; - filename?: string; - contentType?: string; - serialized: string; -}> { - const request = new Request("http://localhost", { - ...formRequest, - method: "POST", - }); - const buffer = await request.arrayBuffer(); - const serialized = new TextDecoder().decode(buffer); - - const filenameMatch = serialized.match(/filename="([^"]+)"/); - const filename = filenameMatch ? filenameMatch[1] : undefined; - - const contentTypeMatch = serialized.match(/Content-Type: ([^\r\n]+)/); - const contentType = contentTypeMatch ? contentTypeMatch[1] : undefined; - - return { - hasFile: !!filename, - filename, - contentType, - serialized, - }; -} - -describe("FormDataWrapper - Browser Environment", () => { - let formData: FormDataWrapper; - - beforeEach(async () => { - formData = new FormDataWrapper(); - await formData.setup(); - }); - - describe("Web ReadableStream", () => { - it("serializes Web ReadableStream with filename", async () => { - const stream = new ReadableStream({ - start(controller) { - controller.enqueue(new TextEncoder().encode("web stream content")); - controller.close(); - }, - }); - - await formData.appendFile("file", stream, "webstream.txt"); - - const { serialized, hasFile, filename } = await getFormDataInfo(formData.getRequest()); - - expect(serialized).toContain('name="file"'); - expect(serialized).toContain('filename="webstream.txt"'); - expect(hasFile).toBe(true); - expect(filename).toBe("webstream.txt"); - }); - - it("handles empty Web ReadableStream", async () => { - const stream = new ReadableStream({ - start(controller) { - controller.close(); - }, - }); - - await formData.appendFile("file", stream, "empty.txt"); - - const { serialized, hasFile, filename } = await getFormDataInfo(formData.getRequest()); - - expect(serialized).toContain('name="file"'); - expect(serialized).toContain('filename="empty.txt"'); - expect(hasFile).toBe(true); - expect(filename).toBe("empty.txt"); - }); - }); - - describe("Browser-specific types", () => { - it("serializes Blob with specified filename and content type", async () => { - const blob = new Blob(["file content"], { type: "text/plain" }); - await formData.appendFile("file", blob, "testfile.txt"); - - const { serialized, hasFile, contentType, filename } = await getFormDataInfo(formData.getRequest()); - - expect(serialized).toContain('name="file"'); - expect(serialized).toContain('filename="testfile.txt"'); - expect(hasFile).toBe(true); - expect(filename).toBe("testfile.txt"); - expect(contentType).toBe("text/plain"); - }); - - it("serializes File and preserves filename", async () => { - const file = new File(["file content"], "testfile.txt", { type: "text/plain" }); - await formData.appendFile("file", file); - - const { serialized, hasFile, contentType, filename } = await getFormDataInfo(formData.getRequest()); - - expect(serialized).toContain('name="file"'); - expect(serialized).toContain('filename="testfile.txt"'); - expect(hasFile).toBe(true); - expect(filename).toBe("testfile.txt"); - expect(contentType).toBe("text/plain"); - }); - - it("allows filename override for File objects", async () => { - const file = new File(["file content"], "original.txt", { type: "text/plain" }); - await formData.appendFile("file", file, "override.txt"); - - const { serialized, hasFile, filename } = await getFormDataInfo(formData.getRequest()); - - expect(serialized).toContain('name="file"'); - expect(serialized).toContain('filename="override.txt"'); - expect(serialized).not.toContain('filename="original.txt"'); - expect(hasFile).toBe(true); - expect(filename).toBe("override.txt"); - }); - }); - - describe("Binary data types", () => { - it("serializes ArrayBuffer with filename", async () => { - const arrayBuffer = new ArrayBuffer(8); - new Uint8Array(arrayBuffer).set([1, 2, 3, 4, 5, 6, 7, 8]); - - await formData.appendFile("file", arrayBuffer, "binary.bin"); - - const { serialized, hasFile, filename } = await getFormDataInfo(formData.getRequest()); - - expect(serialized).toContain('name="file"'); - expect(serialized).toContain('filename="binary.bin"'); - expect(hasFile).toBe(true); - expect(filename).toBe("binary.bin"); - }); - - it("serializes Uint8Array with filename", async () => { - const uint8Array = new Uint8Array([72, 101, 108, 108, 111]); // "Hello" - await formData.appendFile("file", uint8Array, "binary.bin"); - - const { serialized, hasFile, filename } = await getFormDataInfo(formData.getRequest()); - - expect(serialized).toContain('name="file"'); - expect(serialized).toContain('filename="binary.bin"'); - expect(hasFile).toBe(true); - expect(filename).toBe("binary.bin"); - }); - - it("serializes other typed arrays", async () => { - const int16Array = new Int16Array([1000, 2000, 3000]); - await formData.appendFile("file", int16Array, "numbers.bin"); - - const { serialized, hasFile, filename } = await getFormDataInfo(formData.getRequest()); - - expect(serialized).toContain('name="file"'); - expect(serialized).toContain('filename="numbers.bin"'); - expect(hasFile).toBe(true); - expect(filename).toBe("numbers.bin"); - }); - }); - - describe("Text and primitive types", () => { - it("serializes string as regular form field", async () => { - formData.append("text", "test string"); - - const { serialized, hasFile } = await getFormDataInfo(formData.getRequest()); - - expect(serialized).toContain('name="text"'); - expect(serialized).not.toContain("filename="); - expect(serialized).toContain("test string"); - expect(hasFile).toBe(false); - }); - - it("serializes string as file with filename", async () => { - await formData.appendFile("file", "test content", "text.txt"); - - const { serialized, hasFile, filename } = await getFormDataInfo(formData.getRequest()); - - expect(serialized).toContain('name="file"'); - expect(serialized).toContain('filename="text.txt"'); - expect(hasFile).toBe(true); - expect(filename).toBe("text.txt"); - }); - - it("serializes numbers and booleans as strings", async () => { - formData.append("number", 12345); - formData.append("flag", true); - - const { serialized } = await getFormDataInfo(formData.getRequest()); - expect(serialized).toContain("12345"); - expect(serialized).toContain("true"); - }); - }); - - describe("Object and JSON handling", () => { - it("serializes objects as JSON with filename", async () => { - const obj = { test: "value", nested: { key: "data" } }; - await formData.appendFile("data", obj, "data.json"); - - const { serialized, hasFile, contentType, filename } = await getFormDataInfo(formData.getRequest()); - - expect(serialized).toContain('name="data"'); - expect(serialized).toContain('filename="data.json"'); - expect(serialized).toContain("Content-Type: application/json"); - expect(hasFile).toBe(true); - expect(filename).toBe("data.json"); - expect(contentType).toBe("application/json"); - }); - - it("serializes arrays as JSON", async () => { - const arr = [1, 2, 3, "test"]; - await formData.appendFile("array", arr, "array.json"); - - const { serialized, hasFile, filename } = await getFormDataInfo(formData.getRequest()); - - expect(serialized).toContain('name="array"'); - expect(serialized).toContain('filename="array.json"'); - expect(hasFile).toBe(true); - expect(filename).toBe("array.json"); - }); - - it("handles null and undefined values", async () => { - formData.append("nullValue", null); - formData.append("undefinedValue", undefined); - - const { serialized } = await getFormDataInfo(formData.getRequest()); - expect(serialized).toContain("null"); - expect(serialized).toContain("undefined"); - }); - }); - - describe("Filename extraction from objects", () => { - it("extracts filename from object with name property", async () => { - const namedValue = { name: "custom-name.txt", data: "content" }; - await formData.appendFile("file", namedValue); - - const { serialized, hasFile, filename } = await getFormDataInfo(formData.getRequest()); - - expect(serialized).toContain('name="file"'); - expect(serialized).toContain('filename="custom-name.txt"'); - expect(hasFile).toBe(true); - expect(filename).toBe("custom-name.txt"); - }); - - it("extracts filename from object with path property", async () => { - const pathedValue = { path: "/some/path/file.txt", content: "data" }; - await formData.appendFile("file", pathedValue); - - const { serialized, hasFile, filename } = await getFormDataInfo(formData.getRequest()); - - expect(serialized).toContain('name="file"'); - expect(serialized).toContain('filename="file.txt"'); - expect(hasFile).toBe(true); - expect(filename).toBe("file.txt"); - }); - - it("prioritizes explicit filename over object properties", async () => { - const namedValue = { name: "original.txt", data: "content" }; - await formData.appendFile("file", namedValue, "override.txt"); - - const { serialized, hasFile, filename } = await getFormDataInfo(formData.getRequest()); - - expect(serialized).toContain('name="file"'); - expect(serialized).toContain('filename="override.txt"'); - expect(serialized).not.toContain('filename="original.txt"'); - expect(hasFile).toBe(true); - expect(filename).toBe("override.txt"); - }); - }); - - describe("Edge cases and error handling", () => { - it("handles empty filename gracefully", async () => { - await formData.appendFile("file", "content", ""); - - const { serialized, hasFile, filename } = await getFormDataInfo(formData.getRequest()); - - expect(serialized).toContain('Content-Disposition: form-data; name="file"'); - expect(serialized).toContain('filename="blob"'); // Default fallback - expect(hasFile).toBe(true); - expect(filename).toBe("blob"); - }); - - it("handles large strings", async () => { - const largeString = "x".repeat(1000); - await formData.appendFile("large", largeString, "large.txt"); - - const { serialized, hasFile, filename } = await getFormDataInfo(formData.getRequest()); - - expect(serialized).toContain('name="large"'); - expect(serialized).toContain('filename="large.txt"'); - expect(hasFile).toBe(true); - expect(filename).toBe("large.txt"); - }); - - it("handles unicode content and filenames", async () => { - const unicodeContent = "Hello 世界 🌍 Emoji 🚀"; - const unicodeFilename = "файл-тест-🌟.txt"; - - await formData.appendFile("unicode", unicodeContent, unicodeFilename); - - const { serialized, hasFile, filename } = await getFormDataInfo(formData.getRequest()); - - expect(serialized).toContain('name="unicode"'); - expect(serialized).toContain(`filename="${unicodeFilename}"`); - expect(hasFile).toBe(true); - expect(filename).toBe(unicodeFilename); - }); - - it("handles multiple files in single form", async () => { - await formData.appendFile("file1", "content1", "file1.txt"); - await formData.appendFile("file2", "content2", "file2.txt"); - formData.append("text", "regular field"); - - const { serialized } = await getFormDataInfo(formData.getRequest()); - - expect(serialized).toContain('name="file1"'); - expect(serialized).toContain('filename="file1.txt"'); - - expect(serialized).toContain('name="file2"'); - expect(serialized).toContain('filename="file2.txt"'); - - expect(serialized).toContain('name="text"'); - expect(serialized).not.toContain('filename="text"'); - expect(serialized).toContain("regular field"); - }); - }); - - describe("Request structure", () => { - it("returns correct request structure", async () => { - await formData.appendFile("file", "content", "test.txt"); - - const request = formData.getRequest(); - - expect(request).toHaveProperty("body"); - expect(request).toHaveProperty("headers"); - expect(request).toHaveProperty("duplex"); - expect(request.body).toBeInstanceOf(FormData); - expect(request.headers).toEqual({}); - expect(request.duplex).toBe("half"); - }); - - it("generates proper multipart boundary structure", async () => { - await formData.appendFile("file", "test content", "test.txt"); - formData.append("field", "value"); - - const { serialized } = await getFormDataInfo(formData.getRequest()); - - expect(serialized).toMatch(/------formdata-undici-\w+|------WebKitFormBoundary\w+/); - expect(serialized).toContain("Content-Disposition: form-data;"); - expect(serialized).toMatch(/------formdata-undici-\w+--|------WebKitFormBoundary\w+--/); - }); - }); - - describe("Factory function", () => { - it("returns FormDataWrapper instance", async () => { - const formData = await newFormData(); - expect(formData).toBeInstanceOf(FormDataWrapper); - }); - - it("creates independent instances", async () => { - const formData1 = await newFormData(); - const formData2 = await newFormData(); - - await formData1.setup(); - await formData2.setup(); - - formData1.append("test1", "value1"); - formData2.append("test2", "value2"); - - const request1 = formData1.getRequest() as { body: FormData }; - const request2 = formData2.getRequest() as { body: FormData }; - - const entries1 = Array.from(request1.body.entries()); - const entries2 = Array.from(request2.body.entries()); - - expect(entries1).toHaveLength(1); - expect(entries2).toHaveLength(1); - expect(entries1[0][0]).toBe("test1"); - expect(entries2[0][0]).toBe("test2"); - }); - }); -}); diff --git a/tests/unit/form-data-utils/formDataWrapper.test.ts b/tests/unit/form-data-utils/formDataWrapper.test.ts index 0ec0bcae..47705084 100644 --- a/tests/unit/form-data-utils/formDataWrapper.test.ts +++ b/tests/unit/form-data-utils/formDataWrapper.test.ts @@ -1,7 +1,8 @@ +import { Blob, File } from "buffer"; +import { join } from "path"; /* eslint-disable @typescript-eslint/ban-ts-comment */ import { Readable } from "stream"; import { FormDataWrapper, newFormData } from "../../../src/core/form-data-utils/FormDataWrapper"; -import { File, Blob } from "buffer"; // Helper function to serialize FormData to string for inspection async function serializeFormData(formData: FormData): Promise { @@ -22,10 +23,38 @@ describe("FormDataWrapper", () => { await formData.setup(); }); + it("Upload file by path", async () => { + await formData.appendFile("file", { + path: join(__dirname, "..", "test-file.txt"), + }); + + const serialized = await serializeFormData(formData.getRequest().body); + + expect(serialized).toContain('Content-Disposition: form-data; name="file"'); + expect(serialized).toContain('filename="test-file.txt"'); + expect(serialized).toContain("This is a test file!"); + }); + + it("Upload file by path with filename", async () => { + await formData.appendFile("file", { + path: join(__dirname, "..", "test-file.txt"), + filename: "custom-file.txt", + }); + + const serialized = await serializeFormData(formData.getRequest().body); + + expect(serialized).toContain('Content-Disposition: form-data; name="file"'); + expect(serialized).toContain('filename="custom-file.txt"'); + expect(serialized).toContain("This is a test file!"); + }); + describe("Stream handling", () => { it("serializes Node.js Readable stream with filename", async () => { const stream = Readable.from(["file content"]); - await formData.appendFile("file", stream, "testfile.txt"); + await formData.appendFile("file", { + data: stream, + filename: "testfile.txt", + }); const serialized = await serializeFormData(formData.getRequest().body); @@ -56,7 +85,10 @@ describe("FormDataWrapper", () => { it("handles empty streams", async () => { const stream = Readable.from([]); - await formData.appendFile("file", stream, "empty.txt"); + await formData.appendFile("file", { + data: stream, + filename: "empty.txt", + }); const serialized = await serializeFormData(formData.getRequest().body); expect(serialized).toContain('filename="empty.txt"'); @@ -71,7 +103,10 @@ describe("FormDataWrapper", () => { }, }); - await formData.appendFile("file", stream, "webstream.txt"); + await formData.appendFile("file", { + data: stream, + filename: "webstream.txt", + }); const serialized = await serializeFormData(formData.getRequest().body); expect(serialized).toContain('filename="webstream.txt"'); @@ -85,7 +120,10 @@ describe("FormDataWrapper", () => { }, }); - await formData.appendFile("file", stream, "empty.txt"); + await formData.appendFile("file", { + data: stream, + filename: "empty.txt", + }); const serialized = await serializeFormData(formData.getRequest().body); expect(serialized).toContain('filename="empty.txt"'); @@ -96,7 +134,10 @@ describe("FormDataWrapper", () => { describe("Blob and File types", () => { it("serializes Blob with specified filename", async () => { const blob = new Blob(["file content"], { type: "text/plain" }); - await formData.appendFile("file", blob, "testfile.txt"); + await formData.appendFile("file", { + data: blob, + filename: "testfile.txt", + }); const serialized = await serializeFormData(formData.getRequest().body); expect(serialized).toContain('filename="testfile.txt"'); @@ -126,7 +167,10 @@ describe("FormDataWrapper", () => { it("allows filename override for File objects", async () => { if (typeof File !== "undefined") { const file = new File(["file content"], "original.txt", { type: "text/plain" }); - await formData.appendFile("file", file, "override.txt"); + await formData.appendFile("file", { + data: file, + filename: "override.txt", + }); const serialized = await serializeFormData(formData.getRequest().body); expect(serialized).toContain('filename="override.txt"'); @@ -140,7 +184,10 @@ describe("FormDataWrapper", () => { const arrayBuffer = new ArrayBuffer(8); new Uint8Array(arrayBuffer).set([1, 2, 3, 4, 5, 6, 7, 8]); - await formData.appendFile("file", arrayBuffer, "binary.bin"); + await formData.appendFile("file", { + data: arrayBuffer, + filename: "binary.bin", + }); const serialized = await serializeFormData(formData.getRequest().body); expect(serialized).toContain('filename="binary.bin"'); @@ -149,7 +196,10 @@ describe("FormDataWrapper", () => { it("serializes Uint8Array with filename", async () => { const uint8Array = new Uint8Array([72, 101, 108, 108, 111]); // "Hello" - await formData.appendFile("file", uint8Array, "binary.bin"); + await formData.appendFile("file", { + data: uint8Array, + filename: "binary.bin", + }); const serialized = await serializeFormData(formData.getRequest().body); expect(serialized).toContain('filename="binary.bin"'); @@ -158,7 +208,10 @@ describe("FormDataWrapper", () => { it("serializes other typed arrays", async () => { const int16Array = new Int16Array([1000, 2000, 3000]); - await formData.appendFile("file", int16Array, "numbers.bin"); + await formData.appendFile("file", { + data: int16Array, + filename: "numbers.bin", + }); const serialized = await serializeFormData(formData.getRequest().body); expect(serialized).toContain('filename="numbers.bin"'); @@ -167,7 +220,10 @@ describe("FormDataWrapper", () => { it("serializes Buffer data with filename", async () => { if (typeof Buffer !== "undefined" && typeof Buffer.isBuffer === "function") { const buffer = Buffer.from("test content"); - await formData.appendFile("file", buffer, "test.txt"); + await formData.appendFile("file", { + data: buffer, + filename: "test.txt", + }); const serialized = await serializeFormData(formData.getRequest().body); expect(serialized).toContain('filename="test.txt"'); @@ -186,14 +242,6 @@ describe("FormDataWrapper", () => { expect(serialized).toContain("test string"); }); - it("serializes string as file with filename", async () => { - await formData.appendFile("file", "test content", "text.txt"); - - const serialized = await serializeFormData(formData.getRequest().body); - expect(serialized).toContain('filename="text.txt"'); - expect(serialized).toContain("test content"); - }); - it("serializes numbers and booleans as strings", async () => { formData.append("number", 12345); formData.append("flag", true); @@ -204,94 +252,26 @@ describe("FormDataWrapper", () => { }); }); - describe("Object and JSON handling", () => { - it("serializes objects as JSON with filename", async () => { - const obj = { test: "value", nested: { key: "data" } }; - await formData.appendFile("data", obj, "data.json"); - - const serialized = await serializeFormData(formData.getRequest().body); - expect(serialized).toContain('filename="data.json"'); - expect(serialized).toContain("Content-Type: application/json"); - expect(serialized).toContain(JSON.stringify(obj)); - }); - - it("serializes arrays as JSON", async () => { - const arr = [1, 2, 3, "test"]; - await formData.appendFile("array", arr, "array.json"); - - const serialized = await serializeFormData(formData.getRequest().body); - expect(serialized).toContain('filename="array.json"'); - expect(serialized).toContain(JSON.stringify(arr)); - }); - - it("handles null and undefined values", async () => { - formData.append("nullValue", null); - formData.append("undefinedValue", undefined); - - const serialized = await serializeFormData(formData.getRequest().body); - expect(serialized).toContain("null"); - expect(serialized).toContain("undefined"); - }); - }); - - describe("Filename extraction from objects", () => { - it("extracts filename from object with name property", async () => { - const namedValue = { name: "custom-name.txt", data: "content" }; - await formData.appendFile("file", namedValue); - - const serialized = await serializeFormData(formData.getRequest().body); - expect(serialized).toContain('filename="custom-name.txt"'); - expect(serialized).toContain(JSON.stringify(namedValue)); - }); - - it("extracts filename from object with path property", async () => { - const pathedValue = { path: "/some/path/file.txt", content: "data" }; - await formData.appendFile("file", pathedValue); - - const serialized = await serializeFormData(formData.getRequest().body); - expect(serialized).toContain('filename="file.txt"'); - }); - - it("prioritizes explicit filename over object properties", async () => { - const namedValue = { name: "original.txt", data: "content" }; - await formData.appendFile("file", namedValue, "override.txt"); - - const serialized = await serializeFormData(formData.getRequest().body); - expect(serialized).toContain('filename="override.txt"'); - expect(serialized).not.toContain('filename="original.txt"'); - }); - }); - describe("Edge cases and error handling", () => { it("handles empty filename gracefully", async () => { - await formData.appendFile("file", "content", ""); + await formData.appendFile("file", { + data: new Blob(["content"], { type: "text/plain" }), + filename: "", + }); const serialized = await serializeFormData(formData.getRequest().body); expect(serialized).toContain('filename="blob"'); // Default fallback }); - it("handles large strings", async () => { - const largeString = "x".repeat(1000); - await formData.appendFile("large", largeString, "large.txt"); - - const serialized = await serializeFormData(formData.getRequest().body); - expect(serialized).toContain('filename="large.txt"'); - }); - - it("handles unicode content and filenames", async () => { - const unicodeContent = "Hello 世界 🌍 Emoji 🚀"; - const unicodeFilename = "файл-тест-🌟.txt"; - - await formData.appendFile("unicode", unicodeContent, unicodeFilename); - - const serialized = await serializeFormData(formData.getRequest().body); - expect(serialized).toContain('filename="' + unicodeFilename + '"'); - expect(serialized).toContain(unicodeContent); - }); - it("handles multiple files in single form", async () => { - await formData.appendFile("file1", "content1", "file1.txt"); - await formData.appendFile("file2", "content2", "file2.txt"); + await formData.appendFile("file1", { + data: new Blob(["content1"], { type: "text/plain" }), + filename: "file1.txt", + }); + await formData.appendFile("file2", { + data: new Blob(["content2"], { type: "text/plain" }), + filename: "file2.txt", + }); formData.append("text", "regular field"); const serialized = await serializeFormData(formData.getRequest().body); @@ -305,7 +285,10 @@ describe("FormDataWrapper", () => { describe("Request structure", () => { it("returns correct request structure", async () => { - await formData.appendFile("file", "content", "test.txt"); + await formData.appendFile("file", { + data: new Blob(["content"], { type: "text/plain" }), + filename: "test.txt", + }); const request = formData.getRequest(); @@ -318,7 +301,10 @@ describe("FormDataWrapper", () => { }); it("generates proper multipart boundary structure", async () => { - await formData.appendFile("file", "test content", "test.txt"); + await formData.appendFile("file", { + data: new Blob(["test content"], { type: "text/plain" }), + filename: "test.txt", + }); formData.append("field", "value"); const serialized = await serializeFormData(formData.getRequest().body); diff --git a/tests/unit/schemas/lazy/lazy.test.ts b/tests/unit/schemas/lazy/lazy.test.ts index bc2b7128..a82ace4a 100644 --- a/tests/unit/schemas/lazy/lazy.test.ts +++ b/tests/unit/schemas/lazy/lazy.test.ts @@ -1,5 +1,5 @@ import { lazy, list, object, string } from "../../../../src/core/schemas/builders"; -import { Schema } from "../../../../src/core/schemas/Schema"; +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/stream/Stream.test.ts b/tests/unit/stream/Stream.test.ts new file mode 100644 index 00000000..f82b90a1 --- /dev/null +++ b/tests/unit/stream/Stream.test.ts @@ -0,0 +1,348 @@ +import { Stream } from "../../../src/core/stream/Stream"; + +describe("Stream", () => { + describe("JSON streaming", () => { + it("should parse single JSON message", async () => { + const mockStream = createReadableStream(['{"value": 1}\n']); + const stream = new Stream({ + stream: mockStream, + parse: async (val: unknown) => val as { value: number }, + eventShape: { type: "json", messageTerminator: "\n" }, + }); + + const messages: unknown[] = []; + for await (const message of stream) { + messages.push(message); + } + + expect(messages).toEqual([{ value: 1 }]); + }); + + it("should parse multiple JSON messages", async () => { + const mockStream = createReadableStream(['{"value": 1}\n{"value": 2}\n{"value": 3}\n']); + const stream = new Stream({ + stream: mockStream, + parse: async (val: unknown) => val as { value: number }, + eventShape: { type: "json", messageTerminator: "\n" }, + }); + + const messages: unknown[] = []; + for await (const message of stream) { + messages.push(message); + } + + expect(messages).toEqual([{ value: 1 }, { value: 2 }, { value: 3 }]); + }); + + it("should handle messages split across chunks", async () => { + const mockStream = createReadableStream(['{"val', 'ue": 1}\n{"value":', " 2}\n"]); + const stream = new Stream({ + stream: mockStream, + parse: async (val: unknown) => val as { value: number }, + eventShape: { type: "json", messageTerminator: "\n" }, + }); + + const messages: unknown[] = []; + for await (const message of stream) { + messages.push(message); + } + + expect(messages).toEqual([{ value: 1 }, { value: 2 }]); + }); + + it("should skip empty lines", async () => { + const mockStream = createReadableStream(['{"value": 1}\n\n\n{"value": 2}\n']); + const stream = new Stream({ + stream: mockStream, + parse: async (val: unknown) => val as { value: number }, + eventShape: { type: "json", messageTerminator: "\n" }, + }); + + const messages: unknown[] = []; + for await (const message of stream) { + messages.push(message); + } + + expect(messages).toEqual([{ value: 1 }, { value: 2 }]); + }); + + it("should handle custom message terminator", async () => { + const mockStream = createReadableStream(['{"value": 1}|||{"value": 2}|||']); + const stream = new Stream({ + stream: mockStream, + parse: async (val: unknown) => val as { value: number }, + eventShape: { type: "json", messageTerminator: "|||" }, + }); + + const messages: unknown[] = []; + for await (const message of stream) { + messages.push(message); + } + + expect(messages).toEqual([{ value: 1 }, { value: 2 }]); + }); + }); + + describe("SSE streaming", () => { + it("should parse SSE data with prefix", async () => { + const mockStream = createReadableStream(['data: {"value": 1}\n']); + const stream = new Stream({ + stream: mockStream, + parse: async (val: unknown) => val as { value: number }, + eventShape: { type: "sse" }, + }); + + const messages: unknown[] = []; + for await (const message of stream) { + messages.push(message); + } + + expect(messages).toEqual([{ value: 1 }]); + }); + + it("should parse multiple SSE events", async () => { + const mockStream = createReadableStream(['data: {"value": 1}\ndata: {"value": 2}\ndata: {"value": 3}\n']); + const stream = new Stream({ + stream: mockStream, + parse: async (val: unknown) => val as { value: number }, + eventShape: { type: "sse" }, + }); + + const messages: unknown[] = []; + for await (const message of stream) { + messages.push(message); + } + + expect(messages).toEqual([{ value: 1 }, { value: 2 }, { value: 3 }]); + }); + + it("should stop at stream terminator", async () => { + const mockStream = createReadableStream(['data: {"value": 1}\ndata: [DONE]\ndata: {"value": 2}\n']); + const stream = new Stream({ + stream: mockStream, + parse: async (val: unknown) => val as { value: number }, + eventShape: { type: "sse", streamTerminator: "[DONE]" }, + }); + + const messages: unknown[] = []; + for await (const message of stream) { + messages.push(message); + } + + expect(messages).toEqual([{ value: 1 }]); + }); + + it("should skip lines without data prefix", async () => { + const mockStream = createReadableStream([ + 'event: message\ndata: {"value": 1}\nid: 123\ndata: {"value": 2}\n', + ]); + const stream = new Stream({ + stream: mockStream, + parse: async (val: unknown) => val as { value: number }, + eventShape: { type: "sse" }, + }); + + const messages: unknown[] = []; + for await (const message of stream) { + messages.push(message); + } + + expect(messages).toEqual([{ value: 1 }, { value: 2 }]); + }); + }); + + describe("encoding and decoding", () => { + it("should decode UTF-8 text using TextDecoder", async () => { + const encoder = new TextEncoder(); + const mockStream = createReadableStream([encoder.encode('{"text": "café"}\n')]); + const stream = new Stream({ + stream: mockStream, + parse: async (val: unknown) => val as { text: string }, + eventShape: { type: "json", messageTerminator: "\n" }, + }); + + const messages: unknown[] = []; + for await (const message of stream) { + messages.push(message); + } + + expect(messages).toEqual([{ text: "café" }]); + }); + + it("should decode emoji correctly", async () => { + const encoder = new TextEncoder(); + const mockStream = createReadableStream([encoder.encode('{"emoji": "🎉"}\n')]); + const stream = new Stream({ + stream: mockStream, + parse: async (val: unknown) => val as { emoji: string }, + eventShape: { type: "json", messageTerminator: "\n" }, + }); + + const messages: unknown[] = []; + for await (const message of stream) { + messages.push(message); + } + + expect(messages).toEqual([{ emoji: "🎉" }]); + }); + + it("should handle binary data chunks", async () => { + const encoder = new TextEncoder(); + const mockStream = createReadableStream([encoder.encode('{"val'), encoder.encode('ue": 1}\n')]); + const stream = new Stream({ + stream: mockStream, + parse: async (val: unknown) => val as { value: number }, + eventShape: { type: "json", messageTerminator: "\n" }, + }); + + const messages: unknown[] = []; + for await (const message of stream) { + messages.push(message); + } + + expect(messages).toEqual([{ value: 1 }]); + }); + + it("should handle multi-byte UTF-8 characters split across chunk boundaries", async () => { + // Test string with Japanese (3 bytes), Russian (2 bytes), German (2 bytes), and Chinese (3 bytes) + const testString = '{"text": "こんにちは Привет Größe 你好"}\n'; + const fullBytes = new TextEncoder().encode(testString); + + // Split the bytes in the middle of multi-byte characters + // Japanese "こ" starts at byte 11, is 3 bytes (E3 81 93) + // Split after first byte of "こ" to test mid-character splitting + const splitPoint = 12; // This splits "こ" in the middle + const chunk1 = fullBytes.slice(0, splitPoint); + const chunk2 = fullBytes.slice(splitPoint); + + const mockStream = createReadableStream([chunk1, chunk2]); + const stream = new Stream({ + stream: mockStream, + parse: async (val: unknown) => val as { text: string }, + eventShape: { type: "json", messageTerminator: "\n" }, + }); + + const messages: unknown[] = []; + for await (const message of stream) { + messages.push(message); + } + + expect(messages).toEqual([{ text: "こんにちは Привет Größe 你好" }]); + }); + }); + + describe("abort signal", () => { + it("should handle abort signal", async () => { + const controller = new AbortController(); + const mockStream = createReadableStream(['{"value": 1}\n{"value": 2}\n{"value": 3}\n']); + const stream = new Stream({ + stream: mockStream, + parse: async (val: unknown) => val as { value: number }, + eventShape: { type: "json", messageTerminator: "\n" }, + signal: controller.signal, + }); + + const messages: unknown[] = []; + let count = 0; + for await (const message of stream) { + messages.push(message); + count++; + if (count === 2) { + controller.abort(); + break; + } + } + + expect(messages.length).toBe(2); + }); + }); + + describe("async iteration", () => { + it("should support async iterator protocol", async () => { + const mockStream = createReadableStream(['{"value": 1}\n{"value": 2}\n']); + const stream = new Stream({ + stream: mockStream, + parse: async (val: unknown) => val as { value: number }, + eventShape: { type: "json", messageTerminator: "\n" }, + }); + + const iterator = stream[Symbol.asyncIterator](); + const first = await iterator.next(); + expect(first.done).toBe(false); + expect(first.value).toEqual({ value: 1 }); + + const second = await iterator.next(); + expect(second.done).toBe(false); + expect(second.value).toEqual({ value: 2 }); + + const third = await iterator.next(); + expect(third.done).toBe(true); + }); + }); + + describe("edge cases", () => { + it("should handle empty stream", async () => { + const mockStream = createReadableStream([]); + const stream = new Stream({ + stream: mockStream, + parse: async (val: unknown) => val as { value: number }, + eventShape: { type: "json", messageTerminator: "\n" }, + }); + + const messages: unknown[] = []; + for await (const message of stream) { + messages.push(message); + } + + expect(messages).toEqual([]); + }); + + it("should handle stream with only whitespace", async () => { + const mockStream = createReadableStream([" \n\n\t\n "]); + const stream = new Stream({ + stream: mockStream, + parse: async (val: unknown) => val as { value: number }, + eventShape: { type: "json", messageTerminator: "\n" }, + }); + + const messages: unknown[] = []; + for await (const message of stream) { + messages.push(message); + } + + expect(messages).toEqual([]); + }); + + it("should handle incomplete message at end of stream", async () => { + const mockStream = createReadableStream(['{"value": 1}\n{"incomplete']); + const stream = new Stream({ + stream: mockStream, + parse: async (val: unknown) => val as { value: number }, + eventShape: { type: "json", messageTerminator: "\n" }, + }); + + const messages: unknown[] = []; + for await (const message of stream) { + messages.push(message); + } + + expect(messages).toEqual([{ value: 1 }]); + }); + }); +}); + +// Helper function to create a ReadableStream from string chunks +function createReadableStream(chunks: (string | Uint8Array)[]): ReadableStream { + // For standard type, return ReadableStream + let index = 0; + return new ReadableStream({ + pull(controller) { + if (index < chunks.length) { + const chunk = chunks[index++]; + controller.enqueue(typeof chunk === "string" ? new TextEncoder().encode(chunk) : chunk); + } else { + controller.close(); + } + }, + }); +} diff --git a/tests/unit/test-file.txt b/tests/unit/test-file.txt new file mode 100644 index 00000000..c66d471e --- /dev/null +++ b/tests/unit/test-file.txt @@ -0,0 +1 @@ +This is a test file! 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/tests/wire/empathic-voice/chatGroups.test.ts b/tests/wire/empathic-voice/chatGroups.test.ts index d2c314a2..b3194434 100644 --- a/tests/wire/empathic-voice/chatGroups.test.ts +++ b/tests/wire/empathic-voice/chatGroups.test.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 { mockServerPool } from "../../mock-server/MockServerPool"; -import { HumeClient } from "../../../src/Client"; import * as Hume from "../../../src/api/index"; +import { HumeClient } from "../../../src/Client"; +import { mockServerPool } from "../../mock-server/MockServerPool"; describe("ChatGroups", () => { test("list-chat-groups (1)", async () => { @@ -60,8 +58,8 @@ describe("ChatGroups", () => { ascendingOrder: true, configId: "1b60e1a0-cc59-424a-8d2c-189d354db3f3", }); - expect(expected.chatGroupsPage).toEqual(page.data); + expect(expected.chatGroupsPage).toEqual(page.data); expect(page.hasNextPage()).toBe(true); const nextPage = await page.getNextPage(); expect(expected.chatGroupsPage).toEqual(nextPage.data); @@ -74,7 +72,7 @@ describe("ChatGroups", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server .mockEndpoint() .get("/v0/evi/chat_groups") @@ -85,13 +83,7 @@ describe("ChatGroups", () => { await expect(async () => { return await client.empathicVoice.chatGroups.listChatGroups(); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("get-chat-group (1)", async () => { @@ -118,8 +110,6 @@ describe("ChatGroups", () => { start_timestamp: 1712334213647, end_timestamp: 1712334332571, event_count: 0, - metadata: undefined, - config: undefined, }, ], active: false, @@ -154,8 +144,6 @@ describe("ChatGroups", () => { startTimestamp: 1712334213647, endTimestamp: 1712334332571, eventCount: 0, - metadata: undefined, - config: undefined, }, ], active: false, @@ -169,7 +157,7 @@ describe("ChatGroups", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server .mockEndpoint() .get("/v0/evi/chat_groups/id") @@ -180,13 +168,7 @@ describe("ChatGroups", () => { await expect(async () => { return await client.empathicVoice.chatGroups.getChatGroup("id"); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("list-chat-group-events (1)", async () => { @@ -295,8 +277,8 @@ describe("ChatGroups", () => { pageSize: 3, ascendingOrder: true, }); - expect(expected.eventsPage).toEqual(page.data); + expect(expected.eventsPage).toEqual(page.data); expect(page.hasNextPage()).toBe(true); const nextPage = await page.getNextPage(); expect(expected.eventsPage).toEqual(nextPage.data); @@ -309,7 +291,7 @@ describe("ChatGroups", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server .mockEndpoint() .get("/v0/evi/chat_groups/id/events") @@ -320,13 +302,7 @@ describe("ChatGroups", () => { await expect(async () => { return await client.empathicVoice.chatGroups.listChatGroupEvents("id"); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("get-audio (1)", async () => { @@ -400,7 +376,7 @@ describe("ChatGroups", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server .mockEndpoint() .get("/v0/evi/chat_groups/id/audio") @@ -411,12 +387,6 @@ describe("ChatGroups", () => { await expect(async () => { return await client.empathicVoice.chatGroups.getAudio("id"); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); }); diff --git a/tests/wire/empathic-voice/chats.test.ts b/tests/wire/empathic-voice/chats.test.ts index 9d5027fe..169cd49e 100644 --- a/tests/wire/empathic-voice/chats.test.ts +++ b/tests/wire/empathic-voice/chats.test.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 { mockServerPool } from "../../mock-server/MockServerPool"; -import { HumeClient } from "../../../src/Client"; import * as Hume from "../../../src/api/index"; +import { HumeClient } from "../../../src/Client"; +import { mockServerPool } from "../../mock-server/MockServerPool"; describe("Chats", () => { test("list-chats (1)", async () => { @@ -60,8 +58,8 @@ describe("Chats", () => { pageSize: 1, ascendingOrder: true, }); - expect(expected.chatsPage).toEqual(page.data); + expect(expected.chatsPage).toEqual(page.data); expect(page.hasNextPage()).toBe(true); const nextPage = await page.getNextPage(); expect(expected.chatsPage).toEqual(nextPage.data); @@ -74,18 +72,12 @@ describe("Chats", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server.mockEndpoint().get("/v0/evi/chats").respondWith().statusCode(400).jsonBody(rawResponseBody).build(); await expect(async () => { return await client.empathicVoice.chats.listChats(); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("list-chat-events (1)", async () => { @@ -209,8 +201,8 @@ describe("Chats", () => { pageSize: 3, ascendingOrder: true, }); - expect(expected.eventsPage).toEqual(page.data); + expect(expected.eventsPage).toEqual(page.data); expect(page.hasNextPage()).toBe(true); const nextPage = await page.getNextPage(); expect(expected.eventsPage).toEqual(nextPage.data); @@ -223,18 +215,12 @@ describe("Chats", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server.mockEndpoint().get("/v0/evi/chats/id").respondWith().statusCode(400).jsonBody(rawResponseBody).build(); await expect(async () => { return await client.empathicVoice.chats.listChatEvents("id"); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("get-audio (1)", async () => { @@ -282,7 +268,7 @@ describe("Chats", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server .mockEndpoint() .get("/v0/evi/chats/id/audio") @@ -293,12 +279,6 @@ describe("Chats", () => { await expect(async () => { return await client.empathicVoice.chats.getAudio("id"); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); }); diff --git a/tests/wire/empathic-voice/configs.test.ts b/tests/wire/empathic-voice/configs.test.ts index 2baea2ab..f45d8bb4 100644 --- a/tests/wire/empathic-voice/configs.test.ts +++ b/tests/wire/empathic-voice/configs.test.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 { mockServerPool } from "../../mock-server/MockServerPool"; -import { HumeClient } from "../../../src/Client"; import * as Hume from "../../../src/api/index"; +import { HumeClient } from "../../../src/Client"; +import { mockServerPool } from "../../mock-server/MockServerPool"; describe("Configs", () => { test("list-configs (1)", async () => { @@ -129,8 +127,8 @@ describe("Configs", () => { pageNumber: 0, pageSize: 1, }); - expect(expected.configsPage).toEqual(page.data); + expect(expected.configsPage).toEqual(page.data); expect(page.hasNextPage()).toBe(true); const nextPage = await page.getNextPage(); expect(expected.configsPage).toEqual(nextPage.data); @@ -143,18 +141,12 @@ describe("Configs", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server.mockEndpoint().get("/v0/evi/configs").respondWith().statusCode(400).jsonBody(rawResponseBody).build(); await expect(async () => { return await client.empathicVoice.configs.listConfigs(); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("create-config (1)", async () => { @@ -314,22 +306,8 @@ describe("Configs", () => { apiKey: "test", environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawRequestBody = { - evi_version: "evi_version", - name: "name", - version_description: undefined, - prompt: undefined, - voice: undefined, - language_model: undefined, - ellm_model: undefined, - tools: undefined, - builtin_tools: undefined, - event_messages: undefined, - nudges: undefined, - timeouts: undefined, - webhooks: undefined, - }; - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawRequestBody = { evi_version: "evi_version", name: "name" }; + const rawResponseBody = {}; server .mockEndpoint() .post("/v0/evi/configs") @@ -343,25 +321,8 @@ describe("Configs", () => { return await client.empathicVoice.configs.createConfig({ eviVersion: "evi_version", name: "name", - versionDescription: undefined, - prompt: undefined, - voice: undefined, - languageModel: undefined, - ellmModel: undefined, - tools: undefined, - builtinTools: undefined, - eventMessages: undefined, - nudges: undefined, - timeouts: undefined, - webhooks: undefined, }); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("list-config-versions (1)", async () => { @@ -489,8 +450,8 @@ describe("Configs", () => { ], }; const page = await client.empathicVoice.configs.listConfigVersions("1b60e1a0-cc59-424a-8d2c-189d354db3f3"); - expect(expected.configsPage).toEqual(page.data); + expect(expected.configsPage).toEqual(page.data); expect(page.hasNextPage()).toBe(true); const nextPage = await page.getNextPage(); expect(expected.configsPage).toEqual(nextPage.data); @@ -503,18 +464,12 @@ describe("Configs", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server.mockEndpoint().get("/v0/evi/configs/id").respondWith().statusCode(400).jsonBody(rawResponseBody).build(); await expect(async () => { return await client.empathicVoice.configs.listConfigVersions("id"); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("create-config-version (1)", async () => { @@ -681,21 +636,8 @@ describe("Configs", () => { apiKey: "test", environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawRequestBody = { - evi_version: "evi_version", - version_description: undefined, - prompt: undefined, - voice: undefined, - language_model: undefined, - ellm_model: undefined, - tools: undefined, - builtin_tools: undefined, - event_messages: undefined, - timeouts: undefined, - nudges: undefined, - webhooks: undefined, - }; - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawRequestBody = { evi_version: "evi_version" }; + const rawResponseBody = {}; server .mockEndpoint() .post("/v0/evi/configs/id") @@ -708,25 +650,8 @@ describe("Configs", () => { await expect(async () => { return await client.empathicVoice.configs.createConfigVersion("id", { eviVersion: "evi_version", - versionDescription: undefined, - prompt: undefined, - voice: undefined, - languageModel: undefined, - ellmModel: undefined, - tools: undefined, - builtinTools: undefined, - eventMessages: undefined, - timeouts: undefined, - nudges: undefined, - webhooks: undefined, }); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("delete-config (1)", async () => { @@ -754,7 +679,7 @@ describe("Configs", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server .mockEndpoint() .delete("/v0/evi/configs/id") @@ -765,13 +690,7 @@ describe("Configs", () => { await expect(async () => { return await client.empathicVoice.configs.deleteConfig("id"); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("get-config-version (1)", async () => { @@ -890,7 +809,7 @@ describe("Configs", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server .mockEndpoint() .get("/v0/evi/configs/id/version/1") @@ -901,13 +820,7 @@ describe("Configs", () => { await expect(async () => { return await client.empathicVoice.configs.getConfigVersion("id", 1); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("delete-config-version (1)", async () => { @@ -938,7 +851,7 @@ describe("Configs", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server .mockEndpoint() .delete("/v0/evi/configs/id/version/1") @@ -949,13 +862,7 @@ describe("Configs", () => { await expect(async () => { return await client.empathicVoice.configs.deleteConfigVersion("id", 1); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("update-config-description (1)", async () => { @@ -1080,8 +987,8 @@ describe("Configs", () => { apiKey: "test", environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawRequestBody = { version_description: undefined }; - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawRequestBody = {}; + const rawResponseBody = {}; server .mockEndpoint() .patch("/v0/evi/configs/id/version/1") @@ -1092,15 +999,7 @@ describe("Configs", () => { .build(); await expect(async () => { - return await client.empathicVoice.configs.updateConfigDescription("id", 1, { - versionDescription: undefined, - }); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + return await client.empathicVoice.configs.updateConfigDescription("id", 1); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); }); diff --git a/tests/wire/empathic-voice/prompts.test.ts b/tests/wire/empathic-voice/prompts.test.ts index a2a77846..635edbc0 100644 --- a/tests/wire/empathic-voice/prompts.test.ts +++ b/tests/wire/empathic-voice/prompts.test.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 { mockServerPool } from "../../mock-server/MockServerPool"; -import { HumeClient } from "../../../src/Client"; import * as Hume from "../../../src/api/index"; +import { HumeClient } from "../../../src/Client"; +import { mockServerPool } from "../../mock-server/MockServerPool"; describe("Prompts", () => { test("list-prompts (1)", async () => { @@ -74,8 +72,8 @@ describe("Prompts", () => { pageNumber: 0, pageSize: 2, }); - expect(expected.promptsPage).toEqual(page.data); + expect(expected.promptsPage).toEqual(page.data); expect(page.hasNextPage()).toBe(true); const nextPage = await page.getNextPage(); expect(expected.promptsPage).toEqual(nextPage.data); @@ -88,18 +86,12 @@ describe("Prompts", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server.mockEndpoint().get("/v0/evi/prompts").respondWith().statusCode(400).jsonBody(rawResponseBody).build(); await expect(async () => { return await client.empathicVoice.prompts.listPrompts(); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("create-prompt (1)", async () => { @@ -116,7 +108,6 @@ describe("Prompts", () => { id: "af699d45-2985-42cc-91b9-af9e5da3bac5", version: 0, version_type: "FIXED", - version_description: undefined, name: "Weather Assistant Prompt", created_on: 1722633247488, modified_on: 1722633247488, @@ -139,7 +130,6 @@ describe("Prompts", () => { id: "af699d45-2985-42cc-91b9-af9e5da3bac5", version: 0, versionType: "FIXED", - versionDescription: undefined, name: "Weather Assistant Prompt", createdOn: 1722633247488, modifiedOn: 1722633247488, @@ -153,8 +143,8 @@ describe("Prompts", () => { apiKey: "test", environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawRequestBody = { name: "name", version_description: undefined, text: "text" }; - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawRequestBody = { name: "name", text: "text" }; + const rawResponseBody = {}; server .mockEndpoint() .post("/v0/evi/prompts") @@ -167,16 +157,9 @@ describe("Prompts", () => { await expect(async () => { return await client.empathicVoice.prompts.createPrompt({ name: "name", - versionDescription: undefined, text: "text", }); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("list-prompt-versions (1)", async () => { @@ -238,18 +221,12 @@ describe("Prompts", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server.mockEndpoint().get("/v0/evi/prompts/id").respondWith().statusCode(400).jsonBody(rawResponseBody).build(); await expect(async () => { return await client.empathicVoice.prompts.listPromptVersions("id"); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("create-prompt-version (1)", async () => { @@ -306,8 +283,8 @@ describe("Prompts", () => { apiKey: "test", environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawRequestBody = { version_description: undefined, text: "text" }; - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawRequestBody = { text: "text" }; + const rawResponseBody = {}; server .mockEndpoint() .post("/v0/evi/prompts/id") @@ -319,16 +296,9 @@ describe("Prompts", () => { await expect(async () => { return await client.empathicVoice.prompts.createPromptVersion("id", { - versionDescription: undefined, text: "text", }); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("delete-prompt (1)", async () => { @@ -356,7 +326,7 @@ describe("Prompts", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server .mockEndpoint() .delete("/v0/evi/prompts/id") @@ -367,13 +337,7 @@ describe("Prompts", () => { await expect(async () => { return await client.empathicVoice.prompts.deletePrompt("id"); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("get-prompt-version (1)", async () => { @@ -421,7 +385,7 @@ describe("Prompts", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server .mockEndpoint() .get("/v0/evi/prompts/id/version/1") @@ -432,13 +396,7 @@ describe("Prompts", () => { await expect(async () => { return await client.empathicVoice.prompts.getPromptVersion("id", 1); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("delete-prompt-version (1)", async () => { @@ -469,7 +427,7 @@ describe("Prompts", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server .mockEndpoint() .delete("/v0/evi/prompts/id/version/1") @@ -480,13 +438,7 @@ describe("Prompts", () => { await expect(async () => { return await client.empathicVoice.prompts.deletePromptVersion("id", 1); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("update-prompt-description (1)", async () => { @@ -540,8 +492,8 @@ describe("Prompts", () => { apiKey: "test", environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawRequestBody = { version_description: undefined }; - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawRequestBody = {}; + const rawResponseBody = {}; server .mockEndpoint() .patch("/v0/evi/prompts/id/version/1") @@ -552,15 +504,7 @@ describe("Prompts", () => { .build(); await expect(async () => { - return await client.empathicVoice.prompts.updatePromptDescription("id", 1, { - versionDescription: undefined, - }); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + return await client.empathicVoice.prompts.updatePromptDescription("id", 1); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); }); diff --git a/tests/wire/empathic-voice/tools.test.ts b/tests/wire/empathic-voice/tools.test.ts index dcdc4f01..9ea82366 100644 --- a/tests/wire/empathic-voice/tools.test.ts +++ b/tests/wire/empathic-voice/tools.test.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 { mockServerPool } from "../../mock-server/MockServerPool"; -import { HumeClient } from "../../../src/Client"; import * as Hume from "../../../src/api/index"; +import { HumeClient } from "../../../src/Client"; +import { mockServerPool } from "../../mock-server/MockServerPool"; describe("Tools", () => { test("list-tools (1)", async () => { @@ -92,8 +90,8 @@ describe("Tools", () => { pageNumber: 0, pageSize: 2, }); - expect(expected.toolsPage).toEqual(page.data); + expect(expected.toolsPage).toEqual(page.data); expect(page.hasNextPage()).toBe(true); const nextPage = await page.getNextPage(); expect(expected.toolsPage).toEqual(nextPage.data); @@ -106,18 +104,12 @@ describe("Tools", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server.mockEndpoint().get("/v0/evi/tools").respondWith().statusCode(400).jsonBody(rawResponseBody).build(); await expect(async () => { return await client.empathicVoice.tools.listTools(); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("create-tool (1)", async () => { @@ -187,14 +179,8 @@ describe("Tools", () => { apiKey: "test", environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawRequestBody = { - name: "name", - version_description: undefined, - description: undefined, - parameters: "parameters", - fallback_content: undefined, - }; - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawRequestBody = { name: "name", parameters: "parameters" }; + const rawResponseBody = {}; server .mockEndpoint() .post("/v0/evi/tools") @@ -207,18 +193,9 @@ describe("Tools", () => { await expect(async () => { return await client.empathicVoice.tools.createTool({ name: "name", - versionDescription: undefined, - description: undefined, parameters: "parameters", - fallbackContent: undefined, }); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("list-tool-versions (1)", async () => { @@ -281,8 +258,8 @@ describe("Tools", () => { ], }; const page = await client.empathicVoice.tools.listToolVersions("00183a3f-79ba-413d-9f3b-609864268bea"); - expect(expected.toolsPage).toEqual(page.data); + expect(expected.toolsPage).toEqual(page.data); expect(page.hasNextPage()).toBe(true); const nextPage = await page.getNextPage(); expect(expected.toolsPage).toEqual(nextPage.data); @@ -295,18 +272,12 @@ describe("Tools", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server.mockEndpoint().get("/v0/evi/tools/id").respondWith().statusCode(400).jsonBody(rawResponseBody).build(); await expect(async () => { return await client.empathicVoice.tools.listToolVersions("id"); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("create-tool-version (1)", async () => { @@ -378,13 +349,8 @@ describe("Tools", () => { apiKey: "test", environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawRequestBody = { - version_description: undefined, - description: undefined, - parameters: "parameters", - fallback_content: undefined, - }; - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawRequestBody = { parameters: "parameters" }; + const rawResponseBody = {}; server .mockEndpoint() .post("/v0/evi/tools/id") @@ -396,18 +362,9 @@ describe("Tools", () => { await expect(async () => { return await client.empathicVoice.tools.createToolVersion("id", { - versionDescription: undefined, - description: undefined, parameters: "parameters", - fallbackContent: undefined, }); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("delete-tool (1)", async () => { @@ -435,7 +392,7 @@ describe("Tools", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server .mockEndpoint() .delete("/v0/evi/tools/id") @@ -446,13 +403,7 @@ describe("Tools", () => { await expect(async () => { return await client.empathicVoice.tools.deleteTool("id"); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("get-tool-version (1)", async () => { @@ -510,7 +461,7 @@ describe("Tools", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server .mockEndpoint() .get("/v0/evi/tools/id/version/1") @@ -521,13 +472,7 @@ describe("Tools", () => { await expect(async () => { return await client.empathicVoice.tools.getToolVersion("id", 1); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("delete-tool-version (1)", async () => { @@ -555,7 +500,7 @@ describe("Tools", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server .mockEndpoint() .delete("/v0/evi/tools/id/version/1") @@ -566,13 +511,7 @@ describe("Tools", () => { await expect(async () => { return await client.empathicVoice.tools.deleteToolVersion("id", 1); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); test("update-tool-description (1)", async () => { @@ -640,8 +579,8 @@ describe("Tools", () => { apiKey: "test", environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawRequestBody = { version_description: undefined }; - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawRequestBody = {}; + const rawResponseBody = {}; server .mockEndpoint() .patch("/v0/evi/tools/id/version/1") @@ -652,15 +591,7 @@ describe("Tools", () => { .build(); await expect(async () => { - return await client.empathicVoice.tools.updateToolDescription("id", 1, { - versionDescription: undefined, - }); - }).rejects.toThrow( - new Hume.empathicVoice.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + return await client.empathicVoice.tools.updateToolDescription("id", 1); + }).rejects.toThrow(Hume.empathicVoice.BadRequestError); }); }); diff --git a/tests/wire/expression-measurement/batch/main.test.ts b/tests/wire/expression-measurement/batch/main.test.ts index 6aa7e207..b734b858 100644 --- a/tests/wire/expression-measurement/batch/main.test.ts +++ b/tests/wire/expression-measurement/batch/main.test.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 { mockServerPool } from "../../../mock-server/MockServerPool"; import { HumeClient } from "../../../../src/Client"; +import { mockServerPool } from "../../../mock-server/MockServerPool"; describe("Batch", () => { test("list-jobs", async () => { @@ -17,13 +15,10 @@ describe("Batch", () => { { job_id: "job_id", request: { - callback_url: undefined, files: [{ filename: "filename", md5sum: "md5sum", content_type: "content_type" }], models: { burst: {}, face: { - descriptions: undefined, - facs: undefined, fps_pred: 3, identify_faces: false, min_face_size: 60, @@ -31,14 +26,9 @@ describe("Batch", () => { save_faces: false, }, facemesh: {}, - language: { - granularity: "word", - identify_speakers: false, - sentiment: undefined, - toxicity: undefined, - }, + language: { granularity: "word", identify_speakers: false }, ner: { identify_speakers: false }, - prosody: { granularity: "utterance", identify_speakers: false, window: undefined }, + prosody: { granularity: "utterance", identify_speakers: false }, }, notify: true, text: [], @@ -62,7 +52,6 @@ describe("Batch", () => { { jobId: "job_id", request: { - callbackUrl: undefined, files: [ { filename: "filename", @@ -73,8 +62,6 @@ describe("Batch", () => { models: { burst: {}, face: { - descriptions: undefined, - facs: undefined, fpsPred: 3, identifyFaces: false, minFaceSize: 60, @@ -85,8 +72,6 @@ describe("Batch", () => { language: { granularity: "word", identifySpeakers: false, - sentiment: undefined, - toxicity: undefined, }, ner: { identifySpeakers: false, @@ -94,7 +79,6 @@ describe("Batch", () => { prosody: { granularity: "utterance", identifySpeakers: false, - window: undefined, }, }, notify: true, @@ -151,13 +135,10 @@ describe("Batch", () => { type: "INFERENCE", job_id: "job_id", request: { - callback_url: undefined, files: [], models: { burst: {}, face: { - descriptions: undefined, - facs: undefined, fps_pred: 3, identify_faces: false, min_face_size: 60, @@ -165,14 +146,9 @@ describe("Batch", () => { save_faces: false, }, facemesh: {}, - language: { - granularity: "word", - identify_speakers: false, - sentiment: undefined, - toxicity: undefined, - }, + language: { granularity: "word", identify_speakers: false }, ner: { identify_speakers: false }, - prosody: { granularity: "utterance", identify_speakers: false, window: undefined }, + prosody: { granularity: "utterance", identify_speakers: false }, }, notify: true, text: [], @@ -200,13 +176,10 @@ describe("Batch", () => { type: "INFERENCE", jobId: "job_id", request: { - callbackUrl: undefined, files: [], models: { burst: {}, face: { - descriptions: undefined, - facs: undefined, fpsPred: 3, identifyFaces: false, minFaceSize: 60, @@ -217,8 +190,6 @@ describe("Batch", () => { language: { granularity: "word", identifySpeakers: false, - sentiment: undefined, - toxicity: undefined, }, ner: { identifySpeakers: false, @@ -226,7 +197,6 @@ describe("Batch", () => { prosody: { granularity: "utterance", identifySpeakers: false, - window: undefined, }, }, notify: true, @@ -260,7 +230,6 @@ describe("Batch", () => { file: "faces/100.jpg", models: { face: { - metadata: undefined, grouped_predictions: [ { id: "unknown", @@ -325,8 +294,6 @@ describe("Batch", () => { { name: "Tiredness", score: 0.1559651643037796 }, { name: "Triumph", score: 0.01955239288508892 }, ], - facs: undefined, - descriptions: undefined, }, ], }, @@ -360,7 +327,6 @@ describe("Batch", () => { file: "faces/100.jpg", models: { face: { - metadata: undefined, groupedPredictions: [ { id: "unknown", @@ -569,8 +535,6 @@ describe("Batch", () => { score: 0.01955239288508892, }, ], - facs: undefined, - descriptions: undefined, }, ], }, diff --git a/tests/wire/tts/main.test.ts b/tests/wire/tts/main.test.ts index f7087a57..b8963bc9 100644 --- a/tests/wire/tts/main.test.ts +++ b/tests/wire/tts/main.test.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 { mockServerPool } from "../../mock-server/MockServerPool"; -import { HumeClient } from "../../../src/Client"; import * as Hume from "../../../src/api/index"; +import { HumeClient } from "../../../src/Client"; +import { mockServerPool } from "../../mock-server/MockServerPool"; describe("Tts", () => { test("synthesize-json (1)", async () => { @@ -123,33 +121,8 @@ describe("Tts", () => { apiKey: "test", environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawRequestBody = { - context: undefined, - format: undefined, - include_timestamp_types: undefined, - num_generations: undefined, - split_utterances: undefined, - strip_headers: undefined, - utterances: [ - { - description: undefined, - speed: undefined, - text: "text", - trailing_silence: undefined, - voice: undefined, - }, - { - description: undefined, - speed: undefined, - text: "text", - trailing_silence: undefined, - voice: undefined, - }, - ], - version: undefined, - instant_mode: undefined, - }; - const rawResponseBody = { detail: undefined }; + const rawRequestBody = { utterances: [{ text: "text" }, { text: "text" }] }; + const rawResponseBody = {}; server .mockEndpoint() .post("/v0/tts") @@ -161,35 +134,15 @@ describe("Tts", () => { await expect(async () => { return await client.tts.synthesizeJson({ - context: undefined, - format: undefined, - includeTimestampTypes: undefined, - numGenerations: undefined, - splitUtterances: undefined, - stripHeaders: undefined, utterances: [ { - description: undefined, - speed: undefined, text: "text", - trailingSilence: undefined, - voice: undefined, }, { - description: undefined, - speed: undefined, text: "text", - trailingSilence: undefined, - voice: undefined, }, ], - version: undefined, - instantMode: undefined, }); - }).rejects.toThrow( - new Hume.tts.UnprocessableEntityError({ - detail: undefined, - }), - ); + }).rejects.toThrow(Hume.tts.UnprocessableEntityError); }); }); diff --git a/tests/wire/tts/voices.test.ts b/tests/wire/tts/voices.test.ts index 8b5be4f7..8cb4e837 100644 --- a/tests/wire/tts/voices.test.ts +++ b/tests/wire/tts/voices.test.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 { mockServerPool } from "../../mock-server/MockServerPool"; -import { HumeClient } from "../../../src/Client"; import * as Hume from "../../../src/api/index"; +import { HumeClient } from "../../../src/Client"; +import { mockServerPool } from "../../mock-server/MockServerPool"; describe("Voices", () => { test("list (1)", async () => { @@ -45,8 +43,8 @@ describe("Voices", () => { const page = await client.tts.voices.list({ provider: "CUSTOM_VOICE", }); - expect(expected.voicesPage).toEqual(page.data); + expect(expected.voicesPage).toEqual(page.data); expect(page.hasNextPage()).toBe(true); const nextPage = await page.getNextPage(); expect(expected.voicesPage).toEqual(nextPage.data); @@ -59,20 +57,14 @@ describe("Voices", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server.mockEndpoint().get("/v0/tts/voices").respondWith().statusCode(400).jsonBody(rawResponseBody).build(); await expect(async () => { return await client.tts.voices.list({ provider: "HUME_AI", }); - }).rejects.toThrow( - new Hume.tts.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.tts.BadRequestError); }); test("create (1)", async () => { @@ -114,7 +106,7 @@ describe("Voices", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); const rawRequestBody = { generation_id: "generation_id", name: "name" }; - const rawResponseBody = { detail: undefined }; + const rawResponseBody = {}; server .mockEndpoint() .post("/v0/tts/voices") @@ -129,11 +121,7 @@ describe("Voices", () => { generationId: "generation_id", name: "name", }); - }).rejects.toThrow( - new Hume.tts.UnprocessableEntityError({ - detail: undefined, - }), - ); + }).rejects.toThrow(Hume.tts.UnprocessableEntityError); }); test("delete (1)", async () => { @@ -158,19 +146,13 @@ describe("Voices", () => { environment: { base: server.baseUrl, evi: server.baseUrl, tts: server.baseUrl, stream: server.baseUrl }, }); - const rawResponseBody = { error: undefined, message: undefined, code: undefined }; + const rawResponseBody = {}; server.mockEndpoint().delete("/v0/tts/voices").respondWith().statusCode(400).jsonBody(rawResponseBody).build(); await expect(async () => { return await client.tts.voices.delete({ name: "name", }); - }).rejects.toThrow( - new Hume.tts.BadRequestError({ - error: undefined, - message: undefined, - code: undefined, - }), - ); + }).rejects.toThrow(Hume.tts.BadRequestError); }); }); 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 e8102804..00000000 --- a/yarn.lock +++ /dev/null @@ -1,3250 +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.4" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.28.4.tgz#96fdf1af1b8859c8474ab39c295312bfb7c24b04" - integrity sha512-YsmSKC29MJwf0gF8Rjjrg5LQCmyh+j/nD8/eP7f+BeoQTKYqs9RoWbjGOdy0+1Ekr68RJZMUOPVQaQisnIo4Rw== - -"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.23.9": - version "7.28.4" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.28.4.tgz#12a550b8794452df4c8b084f95003bce1742d496" - integrity sha512-2BCOP7TN8M+gVDj7/ht3hsaO/B/n5oDbiAyyvnRlNOs+u1o+JWNYTQrmpuNp1/Wq2gcFrI01JAW+paEKDMx/CA== - dependencies: - "@babel/code-frame" "^7.27.1" - "@babel/generator" "^7.28.3" - "@babel/helper-compilation-targets" "^7.27.2" - "@babel/helper-module-transforms" "^7.28.3" - "@babel/helpers" "^7.28.4" - "@babel/parser" "^7.28.4" - "@babel/template" "^7.27.2" - "@babel/traverse" "^7.28.4" - "@babel/types" "^7.28.4" - "@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.3", "@babel/generator@^7.7.2": - version "7.28.3" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.28.3.tgz#9626c1741c650cbac39121694a0f2d7451b8ef3e" - integrity sha512-3lSpxGgvnmZznmBkCRnVREPUFJv2wrv9iAoFDvADJc0ypmdOxdUtcLeBgBJ6zE0PMeTKnxeQzyk0xTBq4Ep7zw== - dependencies: - "@babel/parser" "^7.28.3" - "@babel/types" "^7.28.2" - "@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": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz#a7054dcc145a967dd4dc8fee845a57c1316c9df8" - integrity sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow== - -"@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.3", "@babel/parser@^7.28.4": - version "7.28.4" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.28.4.tgz#da25d4643532890932cc03f7705fe19637e03fa8" - integrity sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg== - dependencies: - "@babel/types" "^7.28.4" - -"@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.4": - version "7.28.4" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.28.4.tgz#8d456101b96ab175d487249f60680221692b958b" - integrity sha512-YEzuboP2qvQavAcjgQNVgsvHIDv6ZpwXvcvjmyySP2DIMuByS/6ioU5G9pYrWHM6T2YDfc7xga9iNzYOs12CFQ== - dependencies: - "@babel/code-frame" "^7.27.1" - "@babel/generator" "^7.28.3" - "@babel/helper-globals" "^7.28.0" - "@babel/parser" "^7.28.4" - "@babel/template" "^7.27.2" - "@babel/types" "^7.28.4" - 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.3.3": - version "7.28.4" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.28.4.tgz#0a4e618f4c60a7cd6c11cb2d48060e4dbe38ac3a" - integrity sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q== - dependencies: - "@babel/helper-string-parser" "^7.27.1" - "@babel/helper-validator-identifier" "^7.27.1" - -"@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== - -"@bundled-es-modules/cookie@^2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@bundled-es-modules/cookie/-/cookie-2.0.1.tgz#b41376af6a06b3e32a15241d927b840a9b4de507" - integrity sha512-8o+5fRPLNbjbdGRRmJj3h6Hh1AQJf2dk3qQ/5ZFb+PXkRNiSoMGGUKlsgLfrxneb72axVJyIYji64E2+nNfYyw== - dependencies: - cookie "^0.7.2" - -"@bundled-es-modules/statuses@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@bundled-es-modules/statuses/-/statuses-1.0.1.tgz#761d10f44e51a94902c4da48675b71a76cc98872" - integrity sha512-yn7BklA5acgcBr+7w064fGV+SGIFySjCKpqjcWgBAIfrAkY+4GQTJJHQMeT3V/sgz23VTEVV8TtOmkvJAhFVfg== - dependencies: - statuses "^2.0.1" - -"@inquirer/ansi@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@inquirer/ansi/-/ansi-1.0.0.tgz#29525c673caf36c12e719712830705b9c31f0462" - integrity sha512-JWaTfCxI1eTmJ1BIv86vUfjVatOdxwD0DAVKYevY8SazeUUZtW+tNbsdejVO1GYE0GXJW1N1ahmiC3TFd+7wZA== - -"@inquirer/confirm@^5.0.0": - version "5.1.18" - resolved "https://registry.yarnpkg.com/@inquirer/confirm/-/confirm-5.1.18.tgz#0b76e5082d834c0e3528023705b867fc1222d535" - integrity sha512-MilmWOzHa3Ks11tzvuAmFoAd/wRuaP3SwlT1IZhyMke31FKLxPiuDWcGXhU+PKveNOpAc4axzAgrgxuIJJRmLw== - dependencies: - "@inquirer/core" "^10.2.2" - "@inquirer/type" "^3.0.8" - -"@inquirer/core@^10.2.2": - version "10.2.2" - resolved "https://registry.yarnpkg.com/@inquirer/core/-/core-10.2.2.tgz#d31eb50ba0c76b26e7703c2c0d1d0518144c23ab" - integrity sha512-yXq/4QUnk4sHMtmbd7irwiepjB8jXU0kkFRL4nr/aDBA2mDz13cMakEWdDwX3eSCTkk03kwcndD1zfRAIlELxA== - dependencies: - "@inquirer/ansi" "^1.0.0" - "@inquirer/figures" "^1.0.13" - "@inquirer/type" "^3.0.8" - 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.13": - version "1.0.13" - resolved "https://registry.yarnpkg.com/@inquirer/figures/-/figures-1.0.13.tgz#ad0afd62baab1c23175115a9b62f511b6a751e45" - integrity sha512-lGPVU3yO9ZNqA7vTYz26jny41lE7yoQansmqdMLBEfqaGsmdg7V3W9mK9Pvb5IL4EVZ9GnSDGMO/cJXud5dMaw== - -"@inquirer/type@^3.0.8": - version "3.0.8" - resolved "https://registry.yarnpkg.com/@inquirer/type/-/type-3.0.8.tgz#efc293ba0ed91e90e6267f1aacc1c70d20b8b4e8" - integrity sha512-lg9Whz8onIHRthWaN1Q9EGLa/0LFJjyM8mEUbL1eTi6yMGvBf8gvyDLtxSXztQsxMvhxxNpJYrwa1YHdq+w4Jw== - -"@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.39.1": - version "0.39.6" - resolved "https://registry.yarnpkg.com/@mswjs/interceptors/-/interceptors-0.39.6.tgz#44094a578f20da4749d1a0eaf3cdb7973604004b" - integrity sha512-bndDP83naYYkfayr/qhBHMhk0YGwS1iv6vaEGcr0SQbO0IZtbOPqjKjds/WcG+bJA+1T5vCx6kprKOzn5Bg+Vw== - 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", "@open-draft/until@^2.1.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/cookie@^0.6.0": - version "0.6.0" - resolved "https://registry.yarnpkg.com/@types/cookie/-/cookie-0.6.0.tgz#eac397f28bf1d6ae0ae081363eca2f425bedf0d5" - integrity sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA== - -"@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.5.0" - resolved "https://registry.yarnpkg.com/@types/node/-/node-24.5.0.tgz#70a482e6b1d50e603729d74e62a9a43705ddc9d7" - integrity sha512-y1dMvuvJspJiPSDZUQ+WMBvF7dpnEqN4x9DDC9ie5Fs/HUZJA3wFp7EhHoVaKX/iI0cRoECV8X2jL8zi0xrHCg== - dependencies: - undici-types "~7.12.0" - -"@types/node@^18.19.70": - version "18.19.125" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.125.tgz#179a577373347f29560cc4dfef9ee36229a09647" - integrity sha512-4TWNu0IxTQcszliYdW2mxrVvhHeERUeDCUwVuvQFn9JCU02kxrUDs8v52yOazPo7wLHKgqEd2FKxlSN6m8Deqg== - 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/uuid@9.0.7": - version "9.0.7" - resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-9.0.7.tgz#b14cebc75455eeeb160d5fe23c2fcc0c64f724d8" - integrity sha512-WUtIVRUZ9i5dYXefDEAI7sh9/O7jGvHg7Df/5O/gtH3Yabe5odI3UWopVR1qbPXQtvOxWu3mM4XxlYeZtMWF4g== - -"@types/ws@^8.5.9": - 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.33" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.33.tgz#8c32303da83eec050a84b3c7ae7b9f922d13e32d" - integrity sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA== - 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.3: - version "2.8.4" - resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.8.4.tgz#e553e12272c4965682743705efd8b4b4cf0d709b" - integrity sha512-L+YvJwGAgwJBV1p6ffpSTa2KRc69EeeYGYjRVWKs0GKrK+LON0GC0gV+rKSNtALEDvMDqkvCFq9r1r94/Gjwxw== - -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: - version "4.26.2" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.26.2.tgz#7db3b3577ec97f1140a52db4936654911078cef3" - integrity sha512-ECFzp6uFOSB+dcZ5BK/IBaGWssbSYBHvuMeMt3MMFyhI0Z8SqGgEkBLARgpRH3hutIgPVsALcMwbDrJqPxQ65A== - dependencies: - baseline-browser-mapping "^2.8.3" - caniuse-lite "^1.0.30001741" - electron-to-chromium "^1.5.218" - node-releases "^2.0.21" - update-browserslist-db "^1.1.3" - -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.30001741: - version "1.0.30001743" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001743.tgz#50ff91a991220a1ee2df5af00650dd5c308ea7cd" - integrity sha512-e6Ojr7RV14Un7dz6ASD0aZDmQPT/A+eZU+nuTNfjqmRrmkmQlnTNWH0SKmqagx9PeW87UVqapSurtAXifmtdmw== - -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.2" - resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz#c0b29bcd33bcd0779a1344c2136051e6afd3d9e9" - integrity sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q== - -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@^0.7.2: - version "0.7.2" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.2.tgz#556369c472a2ba910f2979891b526b3436237ed7" - integrity sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w== - -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.218: - version "1.5.218" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.218.tgz#921042a011a98a4620853c9d391ab62bcc124400" - integrity sha512-uwwdN0TUHs8u6iRgN8vKeWZMRll4gBkz+QMqdS7DDe49uiK68/UX92lFb61oiFPrpYZNeZIqa4bA7O6Aiasnzg== - -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.11.0" - resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.11.0.tgz#96d17f66370678027fdf59b2d4c20b4efaa8a633" - integrity sha512-mS1lbMsxgQj6hge1XZ6p7GPhbrtFwUFYi3wRzXAC/FmYnyXMTvvI3td3rjmQ2u8ewXueaSvRPWaEcgVVOT9Jnw== - -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.0: - 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.0" - resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-4.3.0.tgz#c1b4a163b99f614830353b16755e7149ac2314e1" - integrity sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg== - -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.2" - resolved "https://registry.yarnpkg.com/msw/-/msw-2.11.2.tgz#622d83855f456a5f93b1528f6eb6f4c0114623c3" - integrity sha512-MI54hLCsrMwiflkcqlgYYNJJddY5/+S0SnONvhv1owOplvqohKSQyGejpNdUGyCwgs4IH7PqaNbPw/sKOEze9Q== - dependencies: - "@bundled-es-modules/cookie" "^2.0.1" - "@bundled-es-modules/statuses" "^1.0.1" - "@inquirer/confirm" "^5.0.0" - "@mswjs/interceptors" "^0.39.1" - "@open-draft/deferred-promise" "^2.2.0" - "@open-draft/until" "^2.1.0" - "@types/cookie" "^0.6.0" - "@types/statuses" "^2.0.4" - 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" - strict-event-emitter "^0.5.1" - tough-cookie "^6.0.0" - type-fest "^4.26.1" - 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.21: - version "2.0.21" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.21.tgz#f59b018bc0048044be2d4c4c04e4c8b18160894c" - integrity sha512-5b0pgg78U3hwXkCM8Z9b2FJdPZlr9Psr9V2gQPESdGHqbntyFJKFW4r5TeWGFzafGY3hzs1JC62VEQMbl1JFkw== - -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.10" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.10.tgz#b663e83ffb09bbf2386944736baae803029b8b39" - integrity sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w== - dependencies: - is-core-module "^2.16.0" - 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.2: - version "4.3.2" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-4.3.2.tgz#0c10878bf4a73fd2b1dfd14b9462b26788c806ae" - integrity sha512-Gn/JaSk/Mt9gYubxTtSn/QCV4em9mpAPiR1rqy/Ocu19u/G9J5WWdNoUT4SiV6mFC3y6cxyFcFwdzPM3FgxGAQ== - 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.2: - version "7.7.2" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.2.tgz#67d99fdcd35cec21e6f8b87a7fd515a33f982b58" - integrity sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA== - -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.1: - 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.1.1, tapable@^2.2.0: - version "2.2.3" - resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.3.tgz#4b67b635b2d97578a06a2713d2f04800c237e99b" - integrity sha512-ZL6DDuAlRlLGghwcfmSn9sK3Hr6ArtyudlSAiCqQ6IfE+b+HHbydbYDIG15IfS5do+7XQQBdBiubF/cV2dnDzg== - -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.14: - version "7.0.14" - resolved "https://registry.yarnpkg.com/tldts-core/-/tldts-core-7.0.14.tgz#eb49edf8a39a37a2372ffc22f82d6ac725ace6cd" - integrity sha512-viZGNK6+NdluOJWwTO9olaugx0bkKhscIdriQQ+lNNhwitIKvb+SvhbYgnCz6j9p7dX3cJntt4agQAKMXLjJ5g== - -tldts@^7.0.5: - version "7.0.14" - resolved "https://registry.yarnpkg.com/tldts/-/tldts-7.0.14.tgz#5dc352e087c12978b7d1d36d8a346496e04dca72" - integrity sha512-lMNHE4aSI3LlkMUMicTmAG3tkkitjOQGDTFboPJwAg2kJXKP1ryWEyqujktg5qhrFZOkk5YFzgkxg3jErE+i5w== - dependencies: - tldts-core "^7.0.14" - -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.2" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.4.2.tgz#095fe8770df81f2e39f2c34a6bcafac58b834423" - integrity sha512-pBNOkn4HtuLpNrXTMVRC9b642CBaDnKqWXny4OzuoULT9S7Kf8MMlaRe2veKax12rjf5WcpMBhVPbQurlWGNxA== - 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.2" - 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.12.0: - version "7.12.0" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.12.0.tgz#15c5c7475c2a3ba30659529f5cdb4674b622fafb" - integrity sha512-goOacqME2GYyOZZfb5Lgtu+1IDmAlAEu5xnD3+xTzS10hT0vzpf0SPjkXwAw9Jm+4n/mQGDP3LO8CPbYROeBfQ== - -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== - -update-browserslist-db@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.1.3.tgz#348377dd245216f9e7060ff50b15a1b740b75420" - integrity sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw== - 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" - -uuid@9.0.1: - version "9.0.1" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.1.tgz#e188d4c8853cc722220392c424cd637f32293f30" - integrity sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA== - -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.1: - 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.101.3" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.101.3.tgz#3633b2375bb29ea4b06ffb1902734d977bc44346" - integrity sha512-7b0dTKR3Ed//AD/6kkx/o7duS8H3f1a4w3BYpIriX4BzIhjkn4teo05cptsxvLesHFKK5KObnadmCHBwGc+51A== - 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.24.0" - 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.2" - tapable "^2.1.1" - terser-webpack-plugin "^5.3.11" - watchpack "^2.4.1" - 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== - -zod@^3.23.8: - version "3.25.76" - resolved "https://registry.yarnpkg.com/zod/-/zod-3.25.76.tgz#26841c3f6fd22a6a2760e7ccb719179768471e34" - integrity sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==