diff --git a/.github/workflows/cli-test.yml b/.github/workflows/cli-test.yml index 024c854ca..c8e0ea284 100644 --- a/.github/workflows/cli-test.yml +++ b/.github/workflows/cli-test.yml @@ -4,11 +4,13 @@ on: pull_request: paths: - 'apps/cli/**' + - 'apps/frontend/openapi.json' - '.github/workflows/cli-test.yml' push: branches: [main] paths: - 'apps/cli/**' + - 'apps/frontend/openapi.json' - '.github/workflows/cli-test.yml' concurrency: @@ -57,10 +59,37 @@ jobs: run: pnpm install --frozen-lockfile working-directory: apps/cli + - name: Generate CLI OpenAPI types + run: pnpm openapi:generate + working-directory: apps/cli + + - name: Type-check CLI application + run: pnpm build + working-directory: apps/cli + - name: Type-check contract tests run: pnpm typecheck:test working-directory: apps/cli + - name: Check generated CLI OpenAPI type drift + run: | + set -euo pipefail + if git diff --quiet -- src/api/openapi.d.ts; then + echo "CLI OpenAPI types are in sync." + exit 0 + fi + + echo "::error::apps/cli/src/api/openapi.d.ts is out of sync with apps/frontend/openapi.json." + echo "" + echo "After changing the API surface, regenerate and commit the CLI types:" + echo " cd apps/cli && pnpm openapi:generate" + echo " git add apps/cli/src/api/openapi.d.ts" + echo "" + echo "Diff:" + git diff -- src/api/openapi.d.ts | head -200 || true + exit 1 + working-directory: apps/cli + - name: Run tests run: pnpm test working-directory: apps/cli diff --git a/CLAUDE.md b/CLAUDE.md index eba21a540..5ad2c2cf9 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -44,6 +44,7 @@ cargo test --workspace --lib - `DATABASE_URL` / `REDIS_URL` が環境か `.env` に設定済みならそれを優先する(CI と同じ経路。CI はこの経路のためワークフロー変更不要) - SMTP・シークレット系の env はハーネスが CI と同じテスト用の値で補完する。GitHub App 系も設定不要(`load_github_test_env()` が自前注入)。SMTP は実サーバー不要 - API 表面を変えたら: `cd apps/frontend && pnpm openapi && node_modules/.bin/vp fmt` + - CLI 型も再生成: `cd apps/cli && pnpm openapi:generate` - 整形は **`vp fmt`**(prettier は入っていない)。`api.d.ts` は gitignore 済み - API を変えていない PR では `openapi.json` の差分ゼロが検証項目になる diff --git a/apps/cli/package.json b/apps/cli/package.json index 436174e2d..80793e92b 100644 --- a/apps/cli/package.json +++ b/apps/cli/package.json @@ -11,6 +11,7 @@ "scripts": { "build": "tsc", "dev": "ts-node src/index.ts", + "openapi:generate": "openapi-typescript ../frontend/openapi.json -o ./src/api/openapi.d.ts", "test": "pnpm run build && vitest run", "typecheck:test": "tsc -p tsconfig.test.json" }, @@ -22,6 +23,7 @@ "devDependencies": { "@types/js-yaml": "4.0.9", "@types/node": "24.13.3", + "openapi-typescript": "7.13.0", "ts-node": "10.9.2", "typescript": "5.9.3", "vitest": "4.1.10" diff --git a/apps/cli/pnpm-lock.yaml b/apps/cli/pnpm-lock.yaml index 799d19f23..5fbe25a69 100644 --- a/apps/cli/pnpm-lock.yaml +++ b/apps/cli/pnpm-lock.yaml @@ -27,6 +27,9 @@ importers: '@types/node': specifier: 24.13.3 version: 24.13.3 + openapi-typescript: + specifier: 7.13.0 + version: 7.13.0(typescript@5.9.3) ts-node: specifier: 10.9.2 version: 10.9.2(@types/node@24.13.3)(typescript@5.9.3) @@ -39,6 +42,14 @@ importers: packages: + '@babel/code-frame@7.29.7': + resolution: {integrity: sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==} + engines: {node: '>=6.9.0'} + + '@babel/helper-validator-identifier@7.29.7': + resolution: {integrity: sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==} + engines: {node: '>=6.9.0'} + '@cspotcode/source-map-support@0.8.1': resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} engines: {node: '>=12'} @@ -71,6 +82,16 @@ packages: '@oxc-project/types@0.139.0': resolution: {integrity: sha512-r9gHphtCs+1M7J0pw6Sn/hh/Wpa/iQrOOkrNAlVLF/gHq+/CJmHIWKKUUhdWjcD6CIa8idarspCsASiXCXvFUw==} + '@redocly/ajv@8.11.2': + resolution: {integrity: sha512-io1JpnwtIcvojV7QKDUSIuMN/ikdOUd1ReEnUnMKGfDVridQZ31J0MmIuqwuRjWDZfmvr+Q0MqCcfHM2gTivOg==} + + '@redocly/config@0.22.0': + resolution: {integrity: sha512-gAy93Ddo01Z3bHuVdPWfCwzgfaYgMdaZPcfL7JZ7hWJoK9V0lXDbigTWkhiPFAaLWzbOJ+kbUQG1+XwIm0KRGQ==} + + '@redocly/openapi-core@1.34.17': + resolution: {integrity: sha512-wsV2keCt6B806XpSdezbWZ9aFJYf14YVh+XQf0ESt7M90yqVuxH9//PxvtC70sgj9OCkRM3nRaLfu4MsGQZRig==} + engines: {node: '>=18.17.0', npm: '>=9.5.0'} + '@rolldown/binding-android-arm64@1.1.5': resolution: {integrity: sha512-lZg8fqIv2v7FF237bwMgzGZEJvGL79/s5knJ/i6FmsGF4XXlzccZ4jb+TrFIxtSSxFtIpdsgrPZeMk1I9AFcyQ==} engines: {node: ^20.19.0 || >=22.12.0} @@ -240,6 +261,14 @@ packages: engines: {node: '>=0.4.0'} hasBin: true + agent-base@7.1.4: + resolution: {integrity: sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==} + engines: {node: '>= 14'} + + ansi-colors@4.1.3: + resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} + engines: {node: '>=6'} + arg@4.1.3: resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} @@ -250,10 +279,22 @@ packages: resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} engines: {node: '>=12'} + balanced-match@1.0.2: + resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + + brace-expansion@2.1.2: + resolution: {integrity: sha512-w5JZcKgdhDOgOwm8H+KgbosopHMuGcl6qbulwjtz3SM7I7P3yW1eAjzMPLrIE+NQ9vjgANKHWeMHnrT0OXW1oA==} + chai@6.2.2: resolution: {integrity: sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==} engines: {node: '>=18'} + change-case@5.4.4: + resolution: {integrity: sha512-HRQyTk2/YPEkt9TnUPbOpr64Uw3KOicFWPVBb+xiHvd6eBx/qPr9xqfBFDT8P2vWsvvz4jbEkfDe71W3VyNu2w==} + + colorette@1.4.0: + resolution: {integrity: sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g==} + commander@14.0.3: resolution: {integrity: sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==} engines: {node: '>=20'} @@ -264,6 +305,15 @@ packages: create-require@1.1.1: resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} + debug@4.4.3: + resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + detect-libc@2.1.2: resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==} engines: {node: '>=8'} @@ -282,6 +332,9 @@ packages: resolution: {integrity: sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==} engines: {node: '>=12.0.0'} + fast-deep-equal@3.1.3: + resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + fdir@6.5.0: resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==} engines: {node: '>=12.0.0'} @@ -296,10 +349,32 @@ packages: engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} os: [darwin] + https-proxy-agent@7.0.6: + resolution: {integrity: sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==} + engines: {node: '>= 14'} + + index-to-position@1.2.0: + resolution: {integrity: sha512-Yg7+ztRkqslMAS2iFaU+Oa4KTSidr63OsFGlOrJoW981kIYO3CGCS3wA95P1mUi/IVSJkn0D479KTJpVpvFNuw==} + engines: {node: '>=18'} + + js-levenshtein@1.1.6: + resolution: {integrity: sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g==} + engines: {node: '>=0.10.0'} + + js-tokens@4.0.0: + resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + + js-yaml@4.2.0: + resolution: {integrity: sha512-ePWsvanv0DWuDRsW8dnt+R4jQ31SCRCQ7hhNcPXZPsoBZiemuZNYGf7adZdqX2D86j6rvKp3RpCxVTSb8WQlOw==} + hasBin: true + js-yaml@4.3.0: resolution: {integrity: sha512-1td788aAnnZ5qs7V2QIRl1owjtYpbKt749Y3xauqQgwIIGF/xXWz1wMTEBx5O3LK3lXLVuqXPdPxj2BoFHaW9Q==} hasBin: true + json-schema-traverse@1.0.0: + resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} + lightningcss-android-arm64@1.32.0: resolution: {integrity: sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==} engines: {node: '>= 12.0.0'} @@ -380,6 +455,13 @@ packages: make-error@1.3.6: resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} + minimatch@5.1.9: + resolution: {integrity: sha512-7o1wEA2RyMP7Iu7GNba9vc0RWWGACJOCZBJX2GJWip0ikV+wcOsgVuY9uE8CPiyQhkGFSlhuSkZPavN7u1c2Fw==} + engines: {node: '>=10'} + + ms@2.1.3: + resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + nanoid@3.3.16: resolution: {integrity: sha512-bzlKTyNJ7+LdGIIwy8ijFpIqEQIvafahV7eYykJ8Cvh42EdJeODoJ6gUJXpQJvej1BddH8OqTXZNE/KfbWAu8Q==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} @@ -395,6 +477,16 @@ packages: openapi-typescript-helpers@0.1.0: resolution: {integrity: sha512-OKTGPthhivLw/fHz6c3OPtg72vi86qaMlqbJuVJ23qOvQ+53uw1n7HdmkJFibloF7QEjDrDkzJiOJuockM/ljw==} + openapi-typescript@7.13.0: + resolution: {integrity: sha512-EFP392gcqXS7ntPvbhBzbF8TyBA+baIYEm791Hy5YkjDYKTnk/Tn5OQeKm5BIZvJihpp8Zzr4hzx0Irde1LNGQ==} + hasBin: true + peerDependencies: + typescript: ^5.x + + parse-json@8.3.0: + resolution: {integrity: sha512-ybiGyvspI+fAoRQbIPRddCcSTV9/LsJbf0e/S85VLowVGzRmokfneg2kwVW/KU5rOXrPSbF1qAKPMgNTqqROQQ==} + engines: {node: '>=18'} + pathe@2.0.3: resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==} @@ -405,10 +497,18 @@ packages: resolution: {integrity: sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==} engines: {node: '>=12'} + pluralize@8.0.0: + resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==} + engines: {node: '>=4'} + postcss@8.5.19: resolution: {integrity: sha512-Mz8SaolMd8nB+G13WkORcxQKHZ/NE4xXevtkJHVuG+guo9/wYKlIMTKAqGdEmYOXR2ijPjTYNHssizdaVSUNdQ==} engines: {node: ^10 || ^12 || >=14} + require-from-string@2.0.2: + resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} + engines: {node: '>=0.10.0'} + rolldown@1.1.5: resolution: {integrity: sha512-t9z29cJjXf/vxQ8dyhCSpt6H6aSwHTk8cT5I3iy6SMXuFpk5mB6PL6XfC8PCwrPTx93udwKUm9HRteAlTGBLiA==} engines: {node: ^20.19.0 || >=22.12.0} @@ -427,6 +527,10 @@ packages: std-env@4.2.0: resolution: {integrity: sha512-oCUKSupKTHX53EyjDtuZQ64pjLJ6yYCtpmEw0goYxtjG9KpbRe8KAsl2tBUGU9DyMcJ0RwJ8GqJAFzMXcXW1Rw==} + supports-color@10.2.2: + resolution: {integrity: sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==} + engines: {node: '>=18'} + tinybench@2.9.0: resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} @@ -459,6 +563,10 @@ packages: tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} + type-fest@4.41.0: + resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==} + engines: {node: '>=16'} + typescript@5.9.3: resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==} engines: {node: '>=14.17'} @@ -467,6 +575,9 @@ packages: undici-types@7.18.2: resolution: {integrity: sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==} + uri-js-replace@1.0.1: + resolution: {integrity: sha512-W+C9NWNLFOoBI2QWDp4UT9pv65r2w5Cx+3sTYFvtMdDBxkKt1syCqsUdSFAChbEe1uK5TfS04wt/nGwmaeIQ0g==} + v8-compile-cache-lib@3.0.1: resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} @@ -559,12 +670,27 @@ packages: engines: {node: '>=8'} hasBin: true + yaml-ast-parser@0.0.43: + resolution: {integrity: sha512-2PTINUwsRqSd+s8XxKaJWQlUuEMHJQyEuh2edBbW8KNJz0SJPwUSD2zRWqezFEdN7IzAgeuYHFUCF7o8zRdZ0A==} + + yargs-parser@21.1.1: + resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} + engines: {node: '>=12'} + yn@3.1.1: resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} engines: {node: '>=6'} snapshots: + '@babel/code-frame@7.29.7': + dependencies: + '@babel/helper-validator-identifier': 7.29.7 + js-tokens: 4.0.0 + picocolors: 1.1.1 + + '@babel/helper-validator-identifier@7.29.7': {} + '@cspotcode/source-map-support@0.8.1': dependencies: '@jridgewell/trace-mapping': 0.3.9 @@ -603,6 +729,29 @@ snapshots: '@oxc-project/types@0.139.0': {} + '@redocly/ajv@8.11.2': + dependencies: + fast-deep-equal: 3.1.3 + json-schema-traverse: 1.0.0 + require-from-string: 2.0.2 + uri-js-replace: 1.0.1 + + '@redocly/config@0.22.0': {} + + '@redocly/openapi-core@1.34.17(supports-color@10.2.2)': + dependencies: + '@redocly/ajv': 8.11.2 + '@redocly/config': 0.22.0 + colorette: 1.4.0 + https-proxy-agent: 7.0.6(supports-color@10.2.2) + js-levenshtein: 1.1.6 + js-yaml: 4.2.0 + minimatch: 5.1.9 + pluralize: 8.0.0 + yaml-ast-parser: 0.0.43 + transitivePeerDependencies: + - supports-color + '@rolldown/binding-android-arm64@1.1.5': optional: true @@ -731,20 +880,40 @@ snapshots: acorn@8.17.0: {} + agent-base@7.1.4: {} + + ansi-colors@4.1.3: {} + arg@4.1.3: {} argparse@2.0.1: {} assertion-error@2.0.1: {} + balanced-match@1.0.2: {} + + brace-expansion@2.1.2: + dependencies: + balanced-match: 1.0.2 + chai@6.2.2: {} + change-case@5.4.4: {} + + colorette@1.4.0: {} + commander@14.0.3: {} convert-source-map@2.0.0: {} create-require@1.1.1: {} + debug@4.4.3(supports-color@10.2.2): + dependencies: + ms: 2.1.3 + optionalDependencies: + supports-color: 10.2.2 + detect-libc@2.1.2: {} diff@4.0.4: {} @@ -757,6 +926,8 @@ snapshots: expect-type@1.4.0: {} + fast-deep-equal@3.1.3: {} + fdir@6.5.0(picomatch@4.0.5): optionalDependencies: picomatch: 4.0.5 @@ -764,10 +935,29 @@ snapshots: fsevents@2.3.3: optional: true + https-proxy-agent@7.0.6(supports-color@10.2.2): + dependencies: + agent-base: 7.1.4 + debug: 4.4.3(supports-color@10.2.2) + transitivePeerDependencies: + - supports-color + + index-to-position@1.2.0: {} + + js-levenshtein@1.1.6: {} + + js-tokens@4.0.0: {} + + js-yaml@4.2.0: + dependencies: + argparse: 2.0.1 + js-yaml@4.3.0: dependencies: argparse: 2.0.1 + json-schema-traverse@1.0.0: {} + lightningcss-android-arm64@1.32.0: optional: true @@ -823,6 +1013,12 @@ snapshots: make-error@1.3.6: {} + minimatch@5.1.9: + dependencies: + brace-expansion: 2.1.2 + + ms@2.1.3: {} + nanoid@3.3.16: {} obug@2.1.3: {} @@ -833,18 +1029,38 @@ snapshots: openapi-typescript-helpers@0.1.0: {} + openapi-typescript@7.13.0(typescript@5.9.3): + dependencies: + '@redocly/openapi-core': 1.34.17(supports-color@10.2.2) + ansi-colors: 4.1.3 + change-case: 5.4.4 + parse-json: 8.3.0 + supports-color: 10.2.2 + typescript: 5.9.3 + yargs-parser: 21.1.1 + + parse-json@8.3.0: + dependencies: + '@babel/code-frame': 7.29.7 + index-to-position: 1.2.0 + type-fest: 4.41.0 + pathe@2.0.3: {} picocolors@1.1.1: {} picomatch@4.0.5: {} + pluralize@8.0.0: {} + postcss@8.5.19: dependencies: nanoid: 3.3.16 picocolors: 1.1.1 source-map-js: 1.2.1 + require-from-string@2.0.2: {} + rolldown@1.1.5: dependencies: '@oxc-project/types': 0.139.0 @@ -874,6 +1090,8 @@ snapshots: std-env@4.2.0: {} + supports-color@10.2.2: {} + tinybench@2.9.0: {} tinyexec@1.2.4: {} @@ -906,10 +1124,14 @@ snapshots: tslib@2.8.1: optional: true + type-fest@4.41.0: {} + typescript@5.9.3: {} undici-types@7.18.2: {} + uri-js-replace@1.0.1: {} + v8-compile-cache-lib@3.0.1: {} vite@8.1.4(@types/node@24.13.3): @@ -955,4 +1177,8 @@ snapshots: siginfo: 2.0.0 stackback: 0.0.2 + yaml-ast-parser@0.0.43: {} + + yargs-parser@21.1.1: {} + yn@3.1.1: {} diff --git a/apps/cli/src/api/openapi-contract.ts b/apps/cli/src/api/openapi-contract.ts new file mode 100644 index 000000000..307661e3b --- /dev/null +++ b/apps/cli/src/api/openapi-contract.ts @@ -0,0 +1,37 @@ +import type { paths as GeneratedPaths } from "./openapi"; +import type { ApiPaths } from "./paths"; + +type HttpMethod = + | "get" + | "put" + | "post" + | "delete" + | "options" + | "head" + | "patch" + | "trace"; + +type ImplementedMethods = { + [Method in HttpMethod]: Method extends keyof Path + ? NonNullable extends never + ? never + : Method + : never; +}[HttpMethod]; + +type MissingOperations = { + [Path in keyof ApiPaths]: Path extends keyof GeneratedPaths + ? Exclude< + ImplementedMethods, + ImplementedMethods + > extends never + ? never + : Path + : Path; +}[keyof ApiPaths]; + +type AssertNoMissingOperations = Missing; + +// This type fails compilation when a path or HTTP method used by the CLI is +// removed from the canonical OpenAPI contract. +export type CliOpenApiContract = AssertNoMissingOperations; diff --git a/apps/cli/src/api/openapi.d.ts b/apps/cli/src/api/openapi.d.ts new file mode 100644 index 000000000..0a6b09b0a --- /dev/null +++ b/apps/cli/src/api/openapi.d.ts @@ -0,0 +1,14503 @@ +/** + * This file was auto-generated by openapi-typescript. + * Do not make direct changes to the file. + */ + +export interface paths { + "/v1/admin/audit-logs": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** 監査ログ一覧(管理者) */ + get: operations["list_audit_logs"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/admin/system/settings": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** システム設定を取得 */ + get: operations["get_system_settings"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + /** システム設定を更新 */ + patch: operations["update_system_settings"]; + trace?: never; + }; + "/v1/admin/tenants": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** 全テナント一覧(管理者) */ + get: operations["list_tenants"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/admin/tenants/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** テナント詳細(管理者) */ + get: operations["get_tenant"]; + put?: never; + post?: never; + /** テナント強制削除(管理者) */ + delete: operations["delete_tenant"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/admin/tenants/{tenant_id}/projects": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** テナント配下プロジェクト一覧(管理者・読取専用) */ + get: operations["list_tenant_projects"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/admin/tenants/{tenant_id}/projects/{project_id}/tasks": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** プロジェクト配下タスク一覧(管理者・読取専用) */ + get: operations["list_tenant_project_tasks"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/admin/users": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** 全ユーザー一覧 */ + get: operations["list_users"]; + put?: never; + /** ユーザー作成(管理者) */ + post: operations["create_user"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/admin/users/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; + /** ユーザー強制削除 */ + delete: operations["delete_user"]; + options?: never; + head?: never; + /** ユーザー更新(is_admin / is_suspended) */ + patch: operations["update_user"]; + trace?: never; + }; + "/v1/admin/users/{id}/oauth/{provider}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; + /** OAuth 連携強制解除 */ + delete: operations["delete_oauth"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/admin/users/{id}/passkeys/{passkey_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; + /** パスキー強制削除 */ + delete: operations["delete_passkey"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/admin/users/{id}/password-reset": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** パスワードリセットリンク生成・送信 */ + post: operations["password_reset"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/admin/users/{id}/reset-2fa": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** 2FA 強制リセット */ + post: operations["reset_2fa"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/2fa/recovery-codes/regenerate": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** リカバリーコード再生成 */ + post: operations["regenerate_recovery_codes"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/2fa/totp": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; + /** TOTP 2FA 無効化 */ + delete: operations["delete_totp"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/2fa/totp/setup": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** TOTP 2FA セットアップ開始 */ + post: operations["totp_setup"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/2fa/totp/verify-setup": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** TOTP 初回コード検証・有効化 */ + post: operations["totp_verify_setup"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/2fa/verify": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** ログイン後の TOTP / リカバリーコード検証 */ + post: operations["verify_2fa"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/login": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** ログイン */ + post: operations["login"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/logout": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** ログアウト */ + post: operations["logout"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/me": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** ログイン中ユーザー情報 */ + get: operations["me"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/oauth/connections": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** 連携済み OAuth プロバイダー一覧 */ + get: operations["list_connections"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/oauth/connections/{provider}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; + /** OAuth 連携解除 */ + delete: operations["disconnect_connection"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/oauth/{provider}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** OAuth 認可 URL へリダイレクト */ + get: operations["oauth_start"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/oauth/{provider}/callback": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** OAuth コールバック */ + get: operations["oauth_callback"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/passkeys": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** 登録済みパスキー一覧 */ + get: operations["list_passkeys"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/passkeys/authentication/finish": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** パスキー認証完了・セッション発行 */ + post: operations["authentication_finish"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/passkeys/authentication/start": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** パスキー認証チャレンジ発行 */ + post: operations["authentication_start"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/passkeys/registration/finish": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** パスキー登録完了 */ + post: operations["registration_finish"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/passkeys/registration/start": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** パスキー登録チャレンジ発行 */ + post: operations["registration_start"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/passkeys/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; + /** パスキー削除 */ + delete: operations["delete_passkey"]; + options?: never; + head?: never; + /** パスキー名変更 */ + patch: operations["rename_passkey"]; + trace?: never; + }; + "/v1/auth/password": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** OAuth ユーザーの初回パスワード設定 */ + post: operations["set_initial_password"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/password-reset/complete": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post: operations["password_reset_complete"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/password-reset/request": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post: operations["password_reset_request"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/password-reset/verify": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post: operations["password_reset_verify"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/password/change": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post: operations["password_change"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/register": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** 新規登録 */ + post: operations["register"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/resend-verification-email": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** 認証メールの再送 */ + post: operations["resend_verification_email"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/auth/verify-email": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** メールアドレスの確認 */ + post: operations["verify_email"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/drive/files/{id}/content": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** ドライブファイル内容配信 */ + get: operations["get_file_content"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/drive/v1/drive/share/{token}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** 公開リンクでフォルダメタデータ取得(認証不要) */ + get: operations["get_public_share_folder"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/drive/v1/drive/share/{token}/files": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** 公開リンク経由でファイル一覧取得(認証不要) */ + get: operations["list_public_share_files"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/github/callback": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** GitHub App インストールコールバック */ + get: operations["github_callback"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/github/webhook": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** GitHub Webhook 受信 */ + post: operations["github_webhook"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/personal_tokens": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** パーソナルアクセストークンを発行 */ + post: operations["create_personal_token"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/personal_tokens/revoke-all": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; + /** テナント配下のすべての個人用トークンを取り消し */ + delete: operations["revoke_all_personal_tokens"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/personal_tokens/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** 指定したトークンを参照 */ + get: operations["get_personal_token"]; + put?: never; + post?: never; + /** 指定したトークンを取り消し */ + delete: operations["revoke_personal_token"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** 自分のテナント一覧 */ + get: operations["list_tenants"]; + put?: never; + /** テナントを作成 */ + post: operations["create_tenant"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** テナントを取得 */ + get: operations["get_tenant"]; + /** テナントを更新 */ + put: operations["update_tenant"]; + post?: never; + /** テナントを削除 */ + delete: operations["delete_tenant"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/drive/files": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** ドライブファイル一覧 */ + get: operations["list_files"]; + put?: never; + /** ドライブファイルアップロード */ + post: operations["upload_file"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/drive/files/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** ドライブファイルメタデータ取得 */ + get: operations["get_file"]; + put?: never; + post?: never; + /** ドライブファイル削除 */ + delete: operations["delete_file"]; + options?: never; + head?: never; + /** ドライブファイル更新 */ + patch: operations["update_file"]; + trace?: never; + }; + "/v1/tenants/{tenant_id}/drive/folders": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** ドライブフォルダ一覧 */ + get: operations["list_folders"]; + put?: never; + /** ドライブフォルダ作成 */ + post: operations["create_folder"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/drive/folders/{folder_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; + /** ドライブフォルダ削除 */ + delete: operations["delete_folder"]; + options?: never; + head?: never; + /** ドライブフォルダ更新(名前変更・移動) */ + patch: operations["update_folder"]; + trace?: never; + }; + "/v1/tenants/{tenant_id}/drive/folders/{folder_id}/shares": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** フォルダ共有一覧 */ + get: operations["list_shares"]; + put?: never; + /** フォルダ共有作成 */ + post: operations["create_share"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/drive/folders/{folder_id}/shares/{share_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; + /** フォルダ共有取り消し */ + delete: operations["delete_share"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/drive/quota": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + /** ドライブクォータ設定 */ + patch: operations["update_drive_quota"]; + trace?: never; + }; + "/v1/tenants/{tenant_id}/drive/usage": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** ドライブ使用量・クォータ取得 */ + get: operations["get_drive_usage"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** プロジェクト一覧 */ + get: operations["list_projects"]; + put?: never; + /** プロジェクトを作成 */ + post: operations["create_project"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** プロジェクトを取得 */ + get: operations["get_project"]; + /** プロジェクトを更新 */ + put: operations["update_project"]; + post?: never; + /** プロジェクトを削除 */ + delete: operations["delete_project"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/custom-fields": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** プロジェクトのカスタムフィールド一覧 */ + get: operations["list_custom_fields"]; + put?: never; + /** カスタムフィールド作成 */ + post: operations["create_custom_field"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/custom-fields/{field_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; + /** カスタムフィールド削除 */ + delete: operations["delete_custom_field"]; + options?: never; + head?: never; + /** カスタムフィールド更新 */ + patch: operations["update_custom_field"]; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/github/install": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** GitHub App インストール URL 取得 */ + get: operations["start_github_install"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/github/integration": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** GitHub 連携状態取得 */ + get: operations["get_github_integration"]; + put?: never; + post?: never; + /** GitHub 連携解除 */ + delete: operations["delete_github_integration"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/labels": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** プロジェクトのラベル一覧 */ + get: operations["list_labels"]; + put?: never; + /** ラベル作成 */ + post: operations["create_label"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/labels/export": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** ラベルを JSON エクスポート */ + get: operations["export_labels"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/labels/import": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** ラベルを JSON インポート */ + post: operations["import_labels"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/labels/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + /** ラベル更新 */ + put: operations["update_label"]; + post?: never; + /** ラベル削除 */ + delete: operations["delete_label"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/members": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** プロジェクトメンバー一覧 */ + get: operations["list_members"]; + put?: never; + /** プロジェクトメンバーを追加 */ + post: operations["add_member"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/members/{user_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + /** プロジェクトメンバーの権限を変更 */ + put: operations["update_member"]; + post?: never; + /** プロジェクトメンバーを削除 */ + delete: operations["remove_member"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/milestones": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** マイルストーン一覧 */ + get: operations["list_milestones"]; + put?: never; + /** マイルストーン作成 */ + post: operations["create_milestone"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/milestones/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** マイルストーン取得(完了率含む) */ + get: operations["get_milestone"]; + /** マイルストーン更新 */ + put: operations["update_milestone"]; + post?: never; + /** マイルストーン削除 */ + delete: operations["delete_milestone"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/sprints": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** スプリント一覧 */ + get: operations["list_sprints"]; + put?: never; + /** スプリント作成 */ + post: operations["create_sprint"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/sprints/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** スプリント取得(バーンダウン含む) */ + get: operations["get_sprint"]; + /** スプリント更新(planning のみ) */ + put: operations["update_sprint"]; + post?: never; + /** スプリント削除(planning のみ) */ + delete: operations["delete_sprint"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/sprints/{id}/complete": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** スプリント完了 */ + post: operations["complete_sprint"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/sprints/{id}/start": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** スプリント開始 */ + post: operations["start_sprint"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/sprints/{id}/tasks": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** タスクをスプリントに割り当て */ + post: operations["assign_tasks_to_sprint"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/statuses": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** カスタムステータス一覧 */ + get: operations["list_statuses"]; + put?: never; + /** カスタムステータス作成 */ + post: operations["create_status"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/statuses/reorder": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + /** ステータス並び順一括更新 */ + put: operations["reorder_statuses"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/statuses/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + /** カスタムステータス更新 */ + put: operations["update_status"]; + post?: never; + /** カスタムステータス削除 */ + delete: operations["delete_status"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/task-views": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** 保存済みビュー一覧 */ + get: operations["list_task_views"]; + put?: never; + /** 保存済みビュー作成 */ + post: operations["create_task_view"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/task-views/{view_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; + /** 保存済みビュー削除 */ + delete: operations["delete_task_view"]; + options?: never; + head?: never; + /** 保存済みビュー更新 */ + patch: operations["update_task_view"]; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/tasks": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** タスク一覧 */ + get: operations["list_tasks"]; + put?: never; + /** タスク作成 */ + post: operations["create_task"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/tasks/bulk": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** タスク一括更新 */ + post: operations["bulk_update_tasks"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/tasks/search": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** タスク全文検索 */ + get: operations["search_tasks"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/tasks/{id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** タスク取得 */ + get: operations["get_task"]; + /** タスク更新 */ + put: operations["update_task"]; + post?: never; + /** タスク削除(ソフト) */ + delete: operations["delete_task"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/tasks/{id}/activities": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** アクティビティ一覧 */ + get: operations["list_activities"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/tasks/{id}/archive": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** タスクをアーカイブ */ + post: operations["archive_task"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/tasks/{id}/assignees": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** 担当者一覧 */ + get: operations["list_assignees"]; + put?: never; + /** 担当者追加 */ + post: operations["add_assignee"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/tasks/{id}/assignees/{user_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + /** 担当者ロール変更 */ + put: operations["update_assignee"]; + post?: never; + /** 担当者削除 */ + delete: operations["remove_assignee"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/tasks/{id}/attachments": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** タスク添付ファイル一覧 */ + get: operations["list_task_attachments"]; + put?: never; + /** タスクにファイルを添付 */ + post: operations["attach_task_file"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/tasks/{id}/attachments/{attachment_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; + /** タスク添付を解除 */ + delete: operations["detach_task_file"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/tasks/{id}/comments": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** コメント一覧(スレッド構造) */ + get: operations["list_comments"]; + put?: never; + /** コメント投稿 */ + post: operations["create_comment"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/tasks/{id}/comments/{cid}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + /** コメント編集(投稿者本人のみ) */ + put: operations["update_comment"]; + post?: never; + /** コメント削除(ソフト、投稿者 or テナントオーナー) */ + delete: operations["delete_comment"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/tasks/{id}/relations": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** 依存関係一覧 */ + get: operations["list_relations"]; + put?: never; + /** 依存関係追加(循環検出あり) */ + post: operations["add_relation"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/tasks/{id}/relations/{relation_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; + /** 依存関係削除 */ + delete: operations["remove_relation"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/tasks/{id}/time-logs": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** 作業時間ログ一覧 */ + get: operations["list_time_logs"]; + put?: never; + /** 手動作業時間ログ追加 */ + post: operations["create_time_log"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/tasks/{id}/time-logs/summary": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** 作業時間サマリー */ + get: operations["get_time_summary"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/tasks/{id}/time-logs/{log_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + /** 作業時間ログ編集(自分のログのみ) */ + put: operations["update_time_log"]; + post?: never; + /** 作業時間ログ削除(自分 or テナントオーナー) */ + delete: operations["delete_time_log"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/tasks/{id}/timer/start": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** タイマー開始 */ + post: operations["start_timer"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/tasks/{id}/timer/status": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** タイマー状態取得 */ + get: operations["get_timer_status"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/tasks/{id}/timer/stop": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** タイマー停止 → ログ生成 */ + post: operations["stop_timer"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/tasks/{id}/unarchive": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** タスクのアーカイブ解除 */ + post: operations["unarchive_task"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/tasks/{id}/watch": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post: operations["start_watch"]; + delete: operations["stop_watch"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/projects/{project_id}/tasks/{id}/watchers": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["list_watchers"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/require-2fa": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** テナント 2FA 強制ポリシー変更 */ + post: operations["set_tenant_require_2fa"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/users/me/personal-project": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** 個人プロジェクトを取得(未存在なら自動生成) */ + get: operations["get_personal_project"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/tenants/{tenant_id}/users/me/tasks": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** 自分に割り当てられたタスク一覧(テナント横断) */ + get: operations["list_my_tasks"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/users/me/notification-settings/{project_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["get_notification_settings"]; + put: operations["update_notification_settings"]; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/users/me/notifications": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations["list_notifications"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/v1/users/me/notifications/read-all": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch: operations["mark_all_notifications_read"]; + trace?: never; + }; + "/v1/users/me/notifications/{id}/read": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch: operations["mark_notification_read"]; + trace?: never; + }; +} +export type webhooks = Record; +export interface components { + schemas: { + ActivityItem: { + /** Format: date-time */ + created_at: string; + event_type: string; + /** Format: uuid */ + id: string; + payload: unknown; + user?: null | components["schemas"]["ActivityUser"]; + }; + ActivityListResponse: { + activities: components["schemas"]["ActivityItem"][]; + }; + ActivityUser: { + /** Format: uuid */ + id: string; + name: string; + }; + AddAssigneeRequest: { + role: string; + /** Format: uuid */ + user_id: string; + }; + AddMemberRequest: { + role: components["schemas"]["ProjectRole"]; + /** Format: uuid */ + user_id: string; + }; + AddRelationRequest: { + /** Format: uuid */ + target_task_id: string; + type: string; + }; + AdminCreateUserRequest: { + email: string; + email_verified?: boolean; + is_admin?: boolean; + password: string; + username: string; + }; + AdminPasswordResetRequest: { + send_to?: string | null; + }; + AdminPasswordResetResponse: { + message: string; + }; + AdminProjectListResponse: { + projects: components["schemas"]["ProjectResponse"][]; + }; + AdminTaskListResponse: { + tasks: components["schemas"]["AdminTaskRow"][]; + }; + AdminTaskRow: { + /** Format: uuid */ + id: string; + /** Format: uuid */ + project_id: string; + title: string; + }; + AdminTenantListResponse: { + tenants: components["schemas"]["TenantResponse"][]; + }; + AdminUpdateUserRequest: { + is_admin?: boolean | null; + is_suspended?: boolean | null; + }; + AssignTasksRequest: { + task_ids: string[]; + }; + AssigneeInput: { + role: string; + /** Format: uuid */ + user_id: string; + }; + AttachFileRequest: { + /** Format: uuid */ + drive_file_id: string; + }; + AuditLogListResponse: { + logs: components["schemas"]["AuditLogResponse"][]; + next_cursor?: string | null; + }; + AuditLogResponse: { + action: string; + /** Format: uuid */ + actor_id?: string | null; + actor_type: string; + /** Format: date-time */ + created_at: string; + /** Format: uuid */ + id: string; + ip_address?: string | null; + metadata?: unknown; + resource_id: string; + resource_type: string; + /** Format: uuid */ + tenant_id?: string | null; + user_agent?: string | null; + }; + BulkFailure: { + reason: string; + /** Format: uuid */ + task_id: string; + }; + BulkUpdateFields: { + /** @description 既存ラベルに追加する ID 一覧(上書きではない)。 */ + add_label_ids?: string[] | null; + /** Format: uuid */ + assignee_id?: string | null; + clear_sprint_id?: boolean; + /** Format: uuid */ + sprint_id?: string | null; + /** Format: uuid */ + status_id?: string | null; + }; + BulkUpdateRequest: { + task_ids: string[]; + update: components["schemas"]["BulkUpdateFields"]; + }; + BulkUpdateResponse: { + failed: components["schemas"]["BulkFailure"][]; + /** Format: int32 */ + updated: number; + }; + BurndownPoint: { + actual_remaining: number; + /** @example 2026-06-01 */ + date: string; + /** Format: int32 */ + ideal_remaining: number; + }; + CommentListResponse: { + comments: components["schemas"]["CommentThread"][]; + }; + CommentReply: { + body?: string | null; + /** Format: date-time */ + created_at: string; + /** Format: uuid */ + id: string; + is_deleted: boolean; + /** Format: date-time */ + updated_at: string; + user: components["schemas"]["CommentUser"]; + }; + CommentThread: { + body?: string | null; + /** Format: date-time */ + created_at: string; + /** Format: uuid */ + id: string; + is_deleted: boolean; + replies: components["schemas"]["CommentReply"][]; + /** Format: date-time */ + updated_at: string; + user: components["schemas"]["CommentUser"]; + }; + CommentUser: { + /** Format: uuid */ + id: string; + name: string; + }; + CompleteSprintRequest: { + move_incomplete_to_backlog?: boolean; + /** Format: uuid */ + move_incomplete_to_sprint_id?: string | null; + }; + CreateCommentRequest: { + body: string; + /** Format: uuid */ + parent_comment_id?: string | null; + }; + CreateCustomFieldRequest: { + field_type: components["schemas"]["CustomFieldType"]; + is_required?: boolean; + name: string; + options?: unknown; + /** Format: int32 */ + position?: number | null; + }; + CreateFolderRequest: { + name: string; + /** Format: uuid */ + parent_id: string | null; + }; + CreateLabelRequest: { + color: string; + description?: string; + icon_url?: string | null; + name: string; + }; + CreateMilestoneRequest: { + description?: string | null; + /** Format: date */ + due_date: string; + name: string; + }; + CreatePersonalTokenRequest: { + /** Format: date-time */ + expires_at: string | null; + name: string; + project_ids: string[] | null; + scopes: components["schemas"]["Scope"][]; + /** Format: uuid */ + tenant_id: string; + }; + /** @description PAT 作成時のレスポンス(平文トークンはこの応答でのみ返却) */ + CreatePersonalTokenResponse: { + /** Format: date-time */ + expires_at: string | null; + /** Format: uuid */ + id: string; + /** Format: date-time */ + last_used_at: string | null; + name: string; + project_ids: string[] | null; + revoked: boolean; + scopes: components["schemas"]["ScopeList"]; + /** Format: uuid */ + tenant_id: string; + token: string; + token_last_four: string; + /** Format: uuid */ + user_id: string; + }; + CreateProjectRequest: { + description?: string; + icon_emoji?: string | null; + icon_url?: string | null; + key?: string | null; + name: string; + }; + CreateShareRequest: { + /** Format: date-time */ + expires_at: string | null; + permission: string; + /** @description `user` or `public_link` */ + type: string; + /** Format: uuid */ + user_id: string | null; + }; + CreateSprintRequest: { + /** @example 2026-06-14 */ + end_date: string; + goal?: string | null; + name: string; + /** @example 2026-06-01 */ + start_date: string; + }; + CreateStatusRequest: { + color: string; + is_default?: boolean; + is_done_state?: boolean; + name: string; + /** Format: int32 */ + position: number; + }; + CreateTaskRequest: { + assignees?: components["schemas"]["AssigneeInput"][]; + custom_field_values?: components["schemas"]["CustomFieldValueInput"][]; + description?: string | null; + /** Format: int32 */ + estimated_minutes?: number | null; + /** Format: date-time */ + hard_deadline?: string | null; + label_ids?: string[]; + /** Format: uuid */ + milestone_id?: string | null; + /** Format: uuid */ + parent_task_id?: string | null; + priority?: null | components["schemas"]["TaskPriority"]; + /** Format: int32 */ + progress_pct?: number | null; + /** Format: date-time */ + soft_deadline?: string | null; + /** Format: uuid */ + sprint_id?: string | null; + /** Format: uuid */ + status_id: string; + title: string; + }; + CreateTaskViewRequest: { + filters?: unknown; + is_shared?: boolean; + name: string; + sort?: unknown; + view_type?: string; + }; + CreateTenantRequest: { + description?: string; + display_id: string; + icon_url?: string; + name: string; + }; + CreateTimeLogRequest: { + /** Format: date */ + logged_at: string; + /** Format: int32 */ + logged_minutes: number; + note?: string | null; + }; + CustomFieldDefinitionSummary: { + field_type: components["schemas"]["CustomFieldType"]; + /** Format: uuid */ + id: string; + is_required: boolean; + name: string; + /** Format: int32 */ + position: number; + }; + CustomFieldListResponse: { + fields: components["schemas"]["ProjectCustomFieldResponse"][]; + }; + /** @enum {string} */ + CustomFieldType: "text" | "number" | "select" | "date" | "url" | "checkbox"; + CustomFieldValueInput: { + /** Format: uuid */ + field_id: string; + value?: string | null; + }; + DriveFileResponse: { + /** Format: date-time */ + created_at: string; + /** Format: uuid */ + folder_id: string | null; + /** Format: uuid */ + id: string; + mime_type: string; + name: string; + /** Format: int64 */ + size: number; + url: string; + }; + DriveFolderResponse: { + /** Format: date-time */ + created_at: string; + /** Format: uuid */ + created_by: string; + /** Format: uuid */ + id: string; + name: string; + /** Format: uuid */ + parent_id?: string | null; + /** Format: uuid */ + project_id?: string | null; + /** Format: uuid */ + tenant_id: string; + }; + DriveFolderShareResponse: { + /** Format: date-time */ + created_at: string; + /** Format: uuid */ + created_by: string; + /** Format: date-time */ + expires_at?: string | null; + /** Format: uuid */ + folder_id: string; + /** Format: uuid */ + id: string; + permission: components["schemas"]["SharePermission"]; + share_token?: string | null; + /** Format: uuid */ + shared_with_user_id?: string | null; + }; + DriveUsageResponse: { + /** Format: int64 */ + quota_bytes?: number | null; + /** Format: int64 */ + system_max_bytes?: number | null; + unlimited: boolean; + /** Format: int64 */ + used_bytes: number; + }; + GithubInstallUrlResponse: { + url: string; + }; + GithubIntegrationResponse: { + connected: boolean; + /** Format: date-time */ + connected_at?: string | null; + repo_name?: string | null; + repo_owner?: string | null; + }; + /** @enum {string} */ + ImportConflict: "skip" | "overwrite"; + ImportLabelRequest: { + labels: components["schemas"]["LabelExportItem"][]; + on_conflict?: components["schemas"]["ImportConflict"]; + /** Format: int32 */ + version: number; + }; + LabelExport: { + labels: components["schemas"]["LabelExportItem"][]; + /** Format: int32 */ + version: number; + }; + LabelExportItem: { + color: string; + description: string; + name: string; + }; + LabelResponse: { + color: string; + description: string; + icon_url?: string | null; + /** Format: uuid */ + id: string; + name: string; + /** Format: uuid */ + project_id?: string | null; + }; + ListFilesResponse: { + files: components["schemas"]["DriveFileResponse"][]; + /** Format: int64 */ + total: number; + }; + Login2faResponse: { + requires_2fa: boolean; + requires_2fa_setup: boolean; + }; + LoginRequest: { + /** Format: email */ + email: string; + /** Format: password */ + password: string; + }; + MessageResponse: { + message: string; + }; + MilestoneDetail: components["schemas"]["MilestoneResponse"] & { + /** Format: int32 */ + progress_pct: number; + task_counts: components["schemas"]["TaskCounts"]; + }; + MilestoneResponse: { + /** Format: date-time */ + created_at: string; + /** Format: uuid */ + created_by: string; + description?: string | null; + /** @example 2026-07-01 */ + due_date: string; + /** Format: uuid */ + id: string; + name: string; + /** Format: uuid */ + project_id: string; + /** Format: date-time */ + updated_at: string; + }; + MyTaskItem: { + /** Format: date-time */ + hard_deadline?: string | null; + /** Format: uuid */ + id: string; + is_personal: boolean; + priority: components["schemas"]["TaskPriority"]; + project: components["schemas"]["MyTaskProjectInfo"]; + /** Format: int32 */ + seq_id: number; + seq_key: string; + /** Format: date-time */ + soft_deadline?: string | null; + status: components["schemas"]["MyTaskStatusInfo"]; + title: string; + }; + MyTaskProjectInfo: { + /** Format: uuid */ + id: string; + is_personal: boolean; + key: string; + name: string; + }; + MyTaskStatusInfo: { + color: string; + /** Format: uuid */ + id: string; + name: string; + }; + MyTasksListResponse: { + tasks: components["schemas"]["MyTaskItem"][]; + /** Format: int64 */ + total: number; + }; + NotificationItem: { + /** Format: date-time */ + created_at: string; + /** Format: uuid */ + id: string; + notification_type: string; + payload: unknown; + /** Format: date-time */ + read_at?: string | null; + task?: null | components["schemas"]["NotificationTaskSummary"]; + }; + NotificationListResponse: { + notifications: components["schemas"]["NotificationItem"][]; + /** Format: int64 */ + unread_count: number; + }; + NotificationSettingsResponse: { + email_events: string[]; + in_app_events: string[]; + }; + NotificationTaskSummary: { + /** Format: uuid */ + id: string; + /** Format: int32 */ + seq_id: number; + title: string; + }; + OAuthConnectionItem: { + connected_at: string; + instance_url?: string | null; + provider: string; + provider_email?: string | null; + }; + OAuthConnectionsResponse: { + connections: components["schemas"]["OAuthConnectionItem"][]; + }; + PasskeyAuthenticationFinishRequest: { + /** Format: uuid */ + challenge_id: string; + credential: Record; + }; + PasskeyAuthenticationStartRequest: { + email?: string | null; + }; + PasskeyListItem: { + created_at: string; + /** Format: uuid */ + id: string; + last_used_at?: string | null; + name: string; + }; + PasskeyListResponse: { + passkeys: components["schemas"]["PasskeyListItem"][]; + }; + PasskeyRegistrationFinishRequest: { + credential: Record; + name: string; + }; + PasskeyRenameRequest: { + name: string; + }; + PasswordChangeBody: { + current_password: string; + new_password: string; + }; + PasswordResetCompleteBody: { + new_password: string; + token: string; + }; + PasswordResetRequestBody: { + email: string; + }; + PasswordResetVerifyBody: { + token: string; + }; + /** @description PAT のメタデータ(平文トークン・ハッシュは含まない) */ + PersonalTokenResponse: { + /** Format: date-time */ + expires_at: string | null; + /** Format: uuid */ + id: string; + /** Format: date-time */ + last_used_at: string | null; + name: string; + project_ids: string[] | null; + revoked: boolean; + scopes: components["schemas"]["ScopeList"]; + /** Format: uuid */ + tenant_id: string; + token_last_four: string; + /** Format: uuid */ + user_id: string; + }; + ProjectCustomFieldResponse: { + /** Format: date-time */ + created_at: string; + field_type: components["schemas"]["CustomFieldType"]; + /** Format: uuid */ + id: string; + is_required: boolean; + name: string; + options?: unknown; + /** Format: int32 */ + position: number; + /** Format: uuid */ + project_id: string; + }; + ProjectMemberResponse: { + /** Format: uuid */ + id: string; + /** Format: uuid */ + project_id: string; + role: components["schemas"]["ProjectRole"]; + /** Format: uuid */ + user_id: string; + }; + ProjectResponse: { + description: string; + icon_emoji?: string | null; + icon_url?: string | null; + /** Format: uuid */ + id: string; + is_personal: boolean; + key: string; + name: string; + /** Format: uuid */ + personal_owner_id?: string | null; + /** Format: uuid */ + tenant_id: string; + }; + /** @enum {string} */ + ProjectRole: "Admin" | "Member" | "Viewer"; + ProjectStatusResponse: { + color: string; + /** Format: date-time */ + created_at: string; + /** Format: uuid */ + id: string; + is_default: boolean; + is_done_state: boolean; + name: string; + /** Format: int32 */ + position: number; + /** Format: uuid */ + project_id: string; + }; + ProjectTaskViewResponse: { + /** Format: date-time */ + created_at: string; + /** Format: uuid */ + created_by: string; + filters: unknown; + /** Format: uuid */ + id: string; + is_shared: boolean; + name: string; + /** Format: uuid */ + project_id: string; + sort: unknown; + /** Format: date-time */ + updated_at: string; + view_type: string; + }; + PublicFolderResponse: { + created_by_name: string; + /** Format: int64 */ + file_count: number; + name: string; + }; + RegisterRequest: { + /** Format: email */ + email: string; + /** Format: password */ + password: string; + /** Format: username */ + username: string; + }; + RelationEntry: components["schemas"]["TaskResponse"] & { + /** Format: uuid */ + relation_id: string; + }; + ReorderRequest: { + ids: string[]; + }; + Require2faPolicyRequest: { + enabled: boolean; + }; + ResendVerificationRequest: { + /** Format: email */ + email: string; + }; + RevokeAllPersonalTokensRequest: { + /** Format: uuid */ + confirm_tenant_id: string; + }; + /** @enum {string} */ + Scope: "read:project" | "write:project" | "read:drive" | "write:drive" | "admin:tenant" | "read:task" | "write:task" | "read:milestone" | "write:milestone" | "read:sprint" | "write:sprint"; + /** @description アクセストークン等に付与する権限スコープのリスト。 */ + ScopeList: components["schemas"]["Scope"][]; + SearchTaskHit: { + highlight: string; + /** Format: uuid */ + id: string; + /** Format: float */ + score: number; + /** Format: int32 */ + seq_id: number; + title: string; + }; + SearchTasksResponse: { + tasks: components["schemas"]["SearchTaskHit"][]; + /** Format: int64 */ + total: number; + }; + /** @description API 共通のエラー応答ボディ。 */ + ServerError: { + /** @example internal-error */ + message: string; + }; + SetPasswordRequest: { + /** Format: password */ + password: string; + }; + /** @enum {string} */ + SharePermission: "Viewer"; + SprintDetail: components["schemas"]["SprintResponse"] & { + burndown: components["schemas"]["BurndownPoint"][]; + task_counts: components["schemas"]["SprintTaskCounts"]; + }; + SprintResponse: { + /** Format: date-time */ + created_at: string; + /** Format: uuid */ + created_by: string; + /** @example 2026-06-14 */ + end_date: string; + goal?: string | null; + /** Format: uuid */ + id: string; + name: string; + /** Format: uuid */ + project_id: string; + /** @example 2026-06-01 */ + start_date: string; + status: components["schemas"]["SprintStatus"]; + /** Format: date-time */ + updated_at: string; + }; + /** @enum {string} */ + SprintStatus: "planning" | "active" | "completed"; + SprintTaskCounts: { + done: number; + in_progress: number; + total: number; + }; + SystemSettingsResponse: { + /** Format: int64 */ + drive_default_quota_mb: number; + /** Format: int64 */ + drive_system_max_quota_mb: number; + user_registration_enabled: boolean; + }; + TaskAssigneeResponse: { + /** Format: date-time */ + assigned_at: string; + /** Format: uuid */ + id: string; + role: string; + /** Format: uuid */ + task_id: string; + /** Format: uuid */ + user_id: string; + }; + TaskAssigneeSummary: { + role: string; + user: components["schemas"]["UserSummary"]; + }; + TaskAttachmentListResponse: { + attachments: components["schemas"]["TaskAttachmentResponse"][]; + }; + TaskAttachmentResponse: { + /** Format: date-time */ + created_at: string; + /** Format: uuid */ + drive_file_id: string; + /** Format: uuid */ + id: string; + mime_type: string; + name: string; + /** Format: int64 */ + size: number; + url: string; + }; + TaskCommentResponse: { + body: string; + /** Format: date-time */ + created_at: string; + /** Format: date-time */ + deleted_at?: string | null; + /** Format: uuid */ + id: string; + /** Format: uuid */ + parent_comment_id?: string | null; + /** Format: uuid */ + task_id: string; + /** Format: date-time */ + updated_at: string; + /** Format: uuid */ + user_id: string; + }; + TaskCounts: { + done: number; + total: number; + }; + TaskCustomFieldValueResponse: { + display_value?: string | null; + field: components["schemas"]["CustomFieldDefinitionSummary"]; + value?: string | null; + }; + TaskDetailResponse: components["schemas"]["TaskResponse"] & { + custom_field_values: components["schemas"]["TaskCustomFieldValueResponse"][]; + }; + TaskListResponse: { + tasks: components["schemas"]["TaskResponse"][]; + /** Format: int64 */ + total: number; + }; + /** @enum {string} */ + TaskPriority: "CriticalFire" | "Critical" | "High" | "Medium" | "Low" | "Trivial"; + TaskRelationResponse: { + /** Format: uuid */ + blocked_task_id: string; + /** Format: uuid */ + blocker_task_id: string; + /** Format: date-time */ + created_at: string; + /** Format: uuid */ + id: string; + }; + TaskRelationsResponse: { + blocked_by: components["schemas"]["RelationEntry"][]; + blocks: components["schemas"]["RelationEntry"][]; + subtasks: components["schemas"]["TaskResponse"][]; + }; + TaskResponse: { + assignees: components["schemas"]["TaskAssigneeSummary"][]; + /** Format: date-time */ + completed_at?: string | null; + /** Format: date-time */ + created_at: string; + created_by?: null | components["schemas"]["UserSummary"]; + /** Format: date-time */ + deleted_at?: string | null; + description?: string | null; + /** Format: int32 */ + estimated_minutes?: number | null; + /** Format: date-time */ + hard_deadline?: string | null; + /** Format: uuid */ + id: string; + is_archived: boolean; + /** Format: uuid */ + milestone_id?: string | null; + /** Format: uuid */ + parent_task_id?: string | null; + priority: components["schemas"]["TaskPriority"]; + /** Format: int32 */ + progress_pct: number; + /** Format: uuid */ + project_id: string; + /** Format: int32 */ + seq_id: number; + /** Format: date-time */ + soft_deadline?: string | null; + /** Format: uuid */ + sprint_id?: string | null; + /** Format: uuid */ + status_id: string; + title: string; + /** Format: date-time */ + updated_at: string; + }; + TaskTimerResponse: { + /** Format: date-time */ + started_at: string; + /** Format: uuid */ + task_id: string; + /** Format: uuid */ + user_id: string; + }; + TaskViewListResponse: { + views: components["schemas"]["ProjectTaskViewResponse"][]; + }; + TenantResponse: { + description: string; + display_id: string; + /** Format: int64 */ + drive_quota_bytes?: number | null; + icon_url: string; + /** Format: uuid */ + id: string; + name: string; + /** Format: uuid */ + owner_id: string; + require_2fa: boolean; + }; + TimeLogResponse: { + /** Format: date-time */ + created_at: string; + /** Format: uuid */ + id: string; + /** Format: date */ + logged_at: string; + /** Format: int32 */ + logged_minutes: number; + note?: string | null; + /** Format: uuid */ + task_id: string; + /** Format: uuid */ + user_id: string; + }; + TimeLogSummaryResponse: { + /** Format: int32 */ + actual_minutes: number; + by_user: components["schemas"]["UserTimeSummary"][]; + /** Format: int32 */ + estimated_minutes?: number | null; + is_over: boolean; + /** Format: int32 */ + remaining_minutes?: number | null; + }; + TimerStatusResponse: { + /** Format: int32 */ + elapsed_minutes?: number | null; + is_running: boolean; + /** Format: date-time */ + started_at?: string | null; + }; + TotpCodeRequest: { + code: string; + }; + TotpSetupResponse: { + otpauth_uri: string; + qr_code_png: string; + }; + UpdateAssigneeRequest: { + role: string; + }; + UpdateCommentRequest: { + body: string; + }; + UpdateCustomFieldRequest: { + is_required?: boolean | null; + name?: string | null; + options?: unknown; + /** Format: int32 */ + position?: number | null; + }; + UpdateFileRequest: { + /** Format: uuid */ + folder_id?: string | null; + name?: string | null; + }; + UpdateFolderRequest: { + name?: string | null; + /** + * Format: uuid + * @description `null` でルートへ移動。フィールド省略時は変更なし。 + */ + parent_id: string | null; + }; + UpdateLabelRequest: { + clear_icon_url?: boolean; + color?: string | null; + description?: string | null; + icon_url?: string | null; + name?: string | null; + }; + UpdateMemberRequest: { + role: components["schemas"]["ProjectRole"]; + }; + UpdateMilestoneRequest: { + clear_description?: boolean; + description?: string | null; + /** Format: date */ + due_date?: string | null; + name?: string | null; + }; + UpdateProjectRequest: { + clear_icon_emoji?: boolean; + clear_icon_url?: boolean; + description?: string | null; + icon_emoji?: string | null; + icon_url?: string | null; + name?: string | null; + }; + UpdateQuotaRequest: { + /** Format: int64 */ + quota_bytes?: number | null; + }; + UpdateSprintRequest: { + clear_goal?: boolean; + /** @example 2026-06-14 */ + end_date?: string | null; + goal?: string | null; + name?: string | null; + /** @example 2026-06-01 */ + start_date?: string | null; + }; + UpdateStatusRequest: { + color?: string | null; + is_default?: boolean | null; + is_done_state?: boolean | null; + name?: string | null; + /** Format: int32 */ + position?: number | null; + }; + UpdateSystemSettingsRequest: { + /** Format: int64 */ + drive_default_quota_mb?: number | null; + /** Format: int64 */ + drive_system_max_quota_mb?: number | null; + user_registration_enabled?: boolean | null; + }; + UpdateTaskRequest: { + clear_description?: boolean; + clear_estimated_minutes?: boolean; + clear_hard_deadline?: boolean; + clear_milestone_id?: boolean; + clear_parent_task_id?: boolean; + clear_soft_deadline?: boolean; + clear_sprint_id?: boolean; + custom_field_values?: components["schemas"]["CustomFieldValueInput"][] | null; + description?: string | null; + /** Format: int32 */ + estimated_minutes?: number | null; + /** Format: date-time */ + hard_deadline?: string | null; + is_archived?: boolean | null; + /** Format: uuid */ + milestone_id?: string | null; + /** Format: uuid */ + parent_task_id?: string | null; + priority?: null | components["schemas"]["TaskPriority"]; + /** Format: int32 */ + progress_pct?: number | null; + /** Format: date-time */ + soft_deadline?: string | null; + /** Format: uuid */ + sprint_id?: string | null; + /** Format: uuid */ + status_id?: string | null; + title?: string | null; + }; + UpdateTaskViewRequest: { + filters?: unknown; + is_shared?: boolean | null; + name?: string | null; + sort?: unknown; + view_type?: string | null; + }; + UpdateTenantRequest: { + description?: string | null; + icon_url?: string | null; + name?: string | null; + }; + UpdateTimeLogRequest: { + clear_note?: boolean; + /** Format: date */ + logged_at?: string | null; + /** Format: int32 */ + logged_minutes?: number | null; + note?: string | null; + }; + /** @description Public user profile — excludes password_hash, sessions_revoked_at, and other secrets. */ + UserResponse: { + avatar_url?: string | null; + bio?: string | null; + /** Format: email */ + email: string; + email_verified: boolean; + /** Format: uuid */ + id: string; + is_admin: boolean; + is_suspended: boolean; + totp_enabled: boolean; + /** Format: username */ + username: string; + }; + /** @description 他リソースのレスポンスに埋め込む軽量なユーザー情報 */ + UserSummary: { + avatar_url?: string | null; + /** Format: uuid */ + id: string; + username: string; + }; + UserTimeSummary: { + /** Format: int32 */ + minutes: number; + name: string; + /** Format: uuid */ + user_id: string; + }; + Verify2faRequest: { + code?: string | null; + recovery_code?: string | null; + }; + /** @description メールでの本人確認時に送信する情報。 */ + VerifyEmailRequest: { + /** @description メールまたはアプリにお知らせした認証用文字列です。 */ + token: string; + }; + VerifySetupResponse: { + recovery_codes: string[]; + }; + WatcherListResponse: { + watchers: components["schemas"]["WatcherUser"][]; + }; + WatcherUser: { + /** Format: date-time */ + created_at: string; + /** Format: uuid */ + id: string; + name: string; + }; + }; + responses: never; + parameters: never; + requestBodies: never; + headers: never; + pathItems: never; +} +export type $defs = Record; +export interface operations { + list_audit_logs: { + parameters: { + query?: { + /** @description アクション名の前方一致フィルタ */ + action?: string; + resource_type?: string; + resource_id?: string; + actor_id?: string; + tenant_id?: string; + /** @description 期間開始(ISO 8601) */ + from?: string; + /** @description 期間終了(ISO 8601) */ + to?: string; + limit?: number; + cursor?: string; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 監査ログ一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["AuditLogListResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + get_system_settings: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description システム設定 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["SystemSettingsResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + update_system_settings: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateSystemSettingsRequest"]; + }; + }; + responses: { + /** @description 更新後のシステム設定 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["SystemSettingsResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_tenants: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description テナント一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["AdminTenantListResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + get_tenant: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description テナント */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TenantResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + delete_tenant: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 削除しました */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_tenant_projects: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description プロジェクト一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["AdminProjectListResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_tenant_project_tasks: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description タスク一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["AdminTaskListResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_users: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description ユーザー一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["UserResponse"][]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + create_user: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["AdminCreateUserRequest"]; + }; + }; + responses: { + /** @description 作成されたユーザー */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["UserResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + delete_user: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 削除完了 */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + update_user: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["AdminUpdateUserRequest"]; + }; + }; + responses: { + /** @description 更新後のユーザー */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["UserResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + delete_oauth: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 解除完了 */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + delete_passkey: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 削除完了 */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + password_reset: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["AdminPasswordResetRequest"]; + }; + }; + responses: { + /** @description リセットメール送信 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["AdminPasswordResetResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + reset_2fa: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 2FA リセット完了 */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + regenerate_recovery_codes: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["TotpCodeRequest"]; + }; + }; + responses: { + /** @description 新しいリカバリーコード */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["VerifySetupResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + delete_totp: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["Verify2faRequest"]; + }; + }; + responses: { + /** @description 無効化完了 */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + totp_setup: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description QR コード用データ */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TotpSetupResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + totp_verify_setup: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["TotpCodeRequest"]; + }; + }; + responses: { + /** @description リカバリーコード(初回のみ) */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["VerifySetupResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + verify_2fa: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["Verify2faRequest"]; + }; + }; + responses: { + /** @description 完全認証に昇格 */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + login: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["LoginRequest"]; + }; + }; + responses: { + /** @description 2FA が必要 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Login2faResponse"]; + }; + }; + /** @description ログインに成功しました(本文なし) */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description メールアドレスまたはパスワードが正しくありません */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description メールアドレスの確認が済んでいないためログインできません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + logout: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description ログアウトしました(本文なし) */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + me: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 現在のアカウント情報 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["UserResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_connections: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 連携一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["OAuthConnectionsResponse"]; + }; + }; + /** @description リダイレクト */ + 302: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description リクエストが不正です */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description 競合(メール重複・連携済み等) */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + disconnect_connection: { + parameters: { + query?: { + /** @description GitLab self-hosted インスタンス URL */ + instance_url?: string; + }; + header?: never; + path: { + /** @description プロバイダー slug または DB provider キー */ + provider: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 連携を解除しました */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description リダイレクト */ + 302: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description リクエストが不正です */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description 競合(メール重複・連携済み等) */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + oauth_start: { + parameters: { + query?: { + /** @description ログイン後のフロント相対パス */ + redirect_after?: string; + /** @description GitLab self-hosted インスタンス URL */ + instance_url?: string; + }; + header?: never; + path: { + /** @description github | gitlab | gitlab_selfhosted | google | oidc */ + provider: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description リダイレクト */ + 302: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description リクエストが不正です */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description 競合(メール重複・連携済み等) */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + oauth_callback: { + parameters: { + query: { + /** @description 認可コード */ + code: string; + /** @description CSRF state */ + state: string; + }; + header?: never; + path: { + /** @description github | gitlab | gitlab_selfhosted | google | oidc */ + provider: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description リダイレクト */ + 302: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description リクエストが不正です */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description 競合(メール重複・連携済み等) */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_passkeys: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description パスキー一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["PasskeyListResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + authentication_finish: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["PasskeyAuthenticationFinishRequest"]; + }; + }; + responses: { + /** @description 認証成功(2FA スキップ) */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + authentication_start: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["PasskeyAuthenticationStartRequest"]; + }; + }; + responses: { + /** @description PublicKeyCredentialRequestOptions (WebAuthn JSON) + challenge_id */ + 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + registration_finish: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["PasskeyRegistrationFinishRequest"]; + }; + }; + responses: { + /** @description 登録完了 */ + 201: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + registration_start: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description PublicKeyCredentialCreationOptions (WebAuthn JSON) */ + 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + delete_passkey: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 削除完了 */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + rename_passkey: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["PasskeyRenameRequest"]; + }; + }; + responses: { + /** @description 更新完了 */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + set_initial_password: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["SetPasswordRequest"]; + }; + }; + responses: { + /** @description パスワードを設定しました */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description リダイレクト */ + 302: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description リクエストが不正です */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description 競合(メール重複・連携済み等) */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + password_reset_complete: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["PasswordResetCompleteBody"]; + }; + }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageResponse"]; + }; + }; + /** @description リクエストが不正です */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + password_reset_request: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["PasswordResetRequestBody"]; + }; + }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageResponse"]; + }; + }; + /** @description リクエストが不正です */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description しばらくしてから再度お試しください */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + password_reset_verify: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["PasswordResetVerifyBody"]; + }; + }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description トークンが無効または期限切れです */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + password_change: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["PasswordChangeBody"]; + }; + }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessageResponse"]; + }; + }; + /** @description リクエストが不正です */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description ログインが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + register: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["RegisterRequest"]; + }; + }; + responses: { + /** @description リクエストを受け付けました。続けて送信されたメールをご確認ください(メールアドレスが既に登録済みの場合も、列挙対策のため同一レスポンスを返します)。 */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "text/plain": string; + }; + }; + /** @description 同一メールアドレスへの登録リクエストが連続しています。時間をおいて再度お試しください */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description 確認/通知メールの送信準備に失敗しました。時間をおいて再度お試しください */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + resend_verification_email: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["ResendVerificationRequest"]; + }; + }; + responses: { + /** @description 認証メールを送信しました */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "text/plain": string; + }; + }; + /** @description 入力されたメールアドレスのアカウントが見つかりませんでした */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description このアカウントではメール認証はもう完了しています */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description しばらくしてから再度お試しください */ + 429: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description 認証メールの送信準備に失敗しました。しばらくしてから再送をお試しください */ + 503: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + verify_email: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["VerifyEmailRequest"]; + }; + }; + responses: { + /** @description メールアドレスの確認が完了しました */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "text/plain": string; + }; + }; + /** @description 認証用リンクが無効か、または有効期限切れです */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + get_file_content: { + parameters: { + query?: { + token?: string; + }; + header?: never; + path: { + /** @description ファイルID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description ファイルバイナリ */ + 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + get_public_share_folder: { + parameters: { + query?: never; + header?: never; + path: { + /** @description 共有トークン */ + token: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description フォルダメタデータ */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["PublicFolderResponse"]; + }; + }; + /** @description 共有リンクが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description 共有リンクの有効期限が切れています */ + 410: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_public_share_files: { + parameters: { + query?: never; + header?: never; + path: { + /** @description 共有トークン */ + token: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description ファイル一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DriveFileResponse"][]; + }; + }; + /** @description 共有リンクが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description 共有リンクの有効期限が切れています */ + 410: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + github_callback: { + parameters: { + query: { + installation_id: number; + state: string; + /** @description GitHub が送る操作種別。"request" はオーナー承認待ちであり連携未完了。 */ + setup_action?: string; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 設定画面へリダイレクト */ + 302: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description 無効な state / setup_action=request */ + 400: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ユーザー不一致 */ + 403: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + github_webhook: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 受信成功 */ + 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description 署名不一致 */ + 403: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + create_personal_token: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreatePersonalTokenRequest"]; + }; + }; + responses: { + /** @description 発行したトークンの情報(平文トークンはこの応答でのみ返却) */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["CreatePersonalTokenResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + revoke_all_personal_tokens: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["RevokeAllPersonalTokensRequest"]; + }; + }; + responses: { + /** @description 取り消しました */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + get_personal_token: { + parameters: { + query?: never; + header?: never; + path: { + /** @description トークンの識別子 */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description トークンの状態 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["PersonalTokenResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + revoke_personal_token: { + parameters: { + query?: never; + header?: never; + path: { + /** @description トークンの識別子 */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 取り消しました */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_tenants: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description テナント一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TenantResponse"][]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + create_tenant: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateTenantRequest"]; + }; + }; + responses: { + /** @description 作成されたテナント */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TenantResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description 指定した表示IDはすでに使用されています */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + get_tenant: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description テナント情報 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TenantResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + update_tenant: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateTenantRequest"]; + }; + }; + responses: { + /** @description 更新後のテナント */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TenantResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + delete_tenant: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 削除しました */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_files: { + parameters: { + query?: { + folder_id?: string; + limit?: number; + offset?: number; + }; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description ファイル一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ListFilesResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + upload_file: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + }; + cookie?: never; + }; + requestBody?: { + content: { + "multipart/form-data": unknown; + }; + }; + responses: { + /** @description 作成されたファイル */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DriveFileResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + get_file: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description ファイルID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description ファイルメタデータ */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DriveFileResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + delete_file: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description ファイルID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 削除完了 */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + update_file: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description ファイルID */ + id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateFileRequest"]; + }; + }; + responses: { + /** @description 更新されたファイル */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DriveFileResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_folders: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description フォルダ一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DriveFolderResponse"][]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description フォルダ内にファイルまたはサブフォルダが存在します */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リクエストは受理できません(例: editor 権限は Phase 2 以降) */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + create_folder: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateFolderRequest"]; + }; + }; + responses: { + /** @description 作成されたフォルダ */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DriveFolderResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description フォルダ内にファイルまたはサブフォルダが存在します */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リクエストは受理できません(例: editor 権限は Phase 2 以降) */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + delete_folder: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description フォルダID */ + folder_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 削除成功 */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description フォルダ内にファイルまたはサブフォルダが存在します */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リクエストは受理できません(例: editor 権限は Phase 2 以降) */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + update_folder: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description フォルダID */ + folder_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateFolderRequest"]; + }; + }; + responses: { + /** @description 更新されたフォルダ */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DriveFolderResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description フォルダ内にファイルまたはサブフォルダが存在します */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リクエストは受理できません(例: editor 権限は Phase 2 以降) */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_shares: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description フォルダID */ + folder_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 共有一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DriveFolderShareResponse"][]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description フォルダ内にファイルまたはサブフォルダが存在します */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リクエストは受理できません(例: editor 権限は Phase 2 以降) */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + create_share: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description フォルダID */ + folder_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateShareRequest"]; + }; + }; + responses: { + /** @description 作成された共有 */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DriveFolderShareResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description フォルダ内にファイルまたはサブフォルダが存在します */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リクエストは受理できません(例: editor 権限は Phase 2 以降) */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + delete_share: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description フォルダID */ + folder_id: string; + /** @description 共有ID */ + share_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 削除成功 */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description フォルダ内にファイルまたはサブフォルダが存在します */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リクエストは受理できません(例: editor 権限は Phase 2 以降) */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + update_drive_quota: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateQuotaRequest"]; + }; + }; + responses: { + /** @description 更新後の使用量情報 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DriveUsageResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + get_drive_usage: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 使用量 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DriveUsageResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_projects: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description プロジェクト一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ProjectResponse"][]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + create_project: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateProjectRequest"]; + }; + }; + responses: { + /** @description 作成されたプロジェクト */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ProjectResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + get_project: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description プロジェクト情報 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ProjectResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + update_project: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateProjectRequest"]; + }; + }; + responses: { + /** @description 更新後のプロジェクト */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ProjectResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + delete_project: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 削除しました */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_custom_fields: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description カスタムフィールド一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["CustomFieldListResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + create_custom_field: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateCustomFieldRequest"]; + }; + }; + responses: { + /** @description 作成されたカスタムフィールド */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ProjectCustomFieldResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + delete_custom_field: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description カスタムフィールドID */ + field_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 削除しました */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + update_custom_field: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description カスタムフィールドID */ + field_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateCustomFieldRequest"]; + }; + }; + responses: { + /** @description 更新後のカスタムフィールド */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ProjectCustomFieldResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + start_github_install: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description GitHub インストール URL */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["GithubInstallUrlResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + get_github_integration: { + parameters: { + query?: never; + header?: never; + path: { + tenant_id: string; + project_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["GithubIntegrationResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + delete_github_integration: { + parameters: { + query?: never; + header?: never; + path: { + tenant_id: string; + project_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 解除完了 */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_labels: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description ラベル一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["LabelResponse"][]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + create_label: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateLabelRequest"]; + }; + }; + responses: { + /** @description 作成されたラベル */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["LabelResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + export_labels: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description エクスポートデータ */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["LabelExport"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + import_labels: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["ImportLabelRequest"]; + }; + }; + responses: { + /** @description インポート後のラベル一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["LabelResponse"][]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + update_label: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description ラベルID */ + id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateLabelRequest"]; + }; + }; + responses: { + /** @description 更新後のラベル */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["LabelResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + delete_label: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description ラベルID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 削除しました */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_members: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description メンバー一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ProjectMemberResponse"][]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + add_member: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["AddMemberRequest"]; + }; + }; + responses: { + /** @description 追加されたメンバー */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ProjectMemberResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description 既にメンバーとして登録済み */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ServerError"]; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + update_member: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description ユーザーID */ + user_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateMemberRequest"]; + }; + }; + responses: { + /** @description 更新後のメンバー */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ProjectMemberResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description 最後のAdminは降格できません */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ServerError"]; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + remove_member: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description ユーザーID */ + user_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 削除しました */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description 最後のAdminは削除できません */ + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ServerError"]; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_milestones: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description マイルストーン一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MilestoneResponse"][]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + create_milestone: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateMilestoneRequest"]; + }; + }; + responses: { + /** @description 作成されたマイルストーン */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MilestoneResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + get_milestone: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description マイルストーンID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description マイルストーン詳細 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MilestoneDetail"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + update_milestone: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description マイルストーンID */ + id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateMilestoneRequest"]; + }; + }; + responses: { + /** @description 更新後のマイルストーン */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MilestoneResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + delete_milestone: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description マイルストーンID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 削除しました(タスクの milestone_id は NULL リセット) */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_sprints: { + parameters: { + query?: { + status?: string; + }; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description スプリント一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["SprintResponse"][]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + create_sprint: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateSprintRequest"]; + }; + }; + responses: { + /** @description 作成されたスプリント */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["SprintResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + get_sprint: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description スプリントID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description スプリント詳細 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["SprintDetail"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + update_sprint: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description スプリントID */ + id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateSprintRequest"]; + }; + }; + responses: { + /** @description 更新後のスプリント */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["SprintResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + delete_sprint: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description スプリントID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 削除しました */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + complete_sprint: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description スプリントID */ + id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CompleteSprintRequest"]; + }; + }; + responses: { + /** @description 完了後のスプリント */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["SprintResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + start_sprint: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description スプリントID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 開始後のスプリント */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["SprintResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + assign_tasks_to_sprint: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description スプリントID */ + id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["AssignTasksRequest"]; + }; + }; + responses: { + /** @description 割り当て後のタスク一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TaskResponse"][]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_statuses: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description ステータス一覧(position 順) */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ProjectStatusResponse"][]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + create_status: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateStatusRequest"]; + }; + }; + responses: { + /** @description 作成されたステータス */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ProjectStatusResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + reorder_statuses: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["ReorderRequest"]; + }; + }; + responses: { + /** @description 並び替え後のステータス一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ProjectStatusResponse"][]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + update_status: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description ステータスID */ + id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateStatusRequest"]; + }; + }; + responses: { + /** @description 更新後のステータス */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ProjectStatusResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + delete_status: { + parameters: { + query?: { + /** @description 移行先ステータスID(タスクが存在する場合は必須) */ + migrate_to_status_id?: string; + }; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description ステータスID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 削除しました */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_task_views: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description ビュー一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TaskViewListResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + create_task_view: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateTaskViewRequest"]; + }; + }; + responses: { + /** @description 作成されたビュー */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ProjectTaskViewResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + delete_task_view: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description ビューID */ + view_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 削除成功 */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + update_task_view: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description ビューID */ + view_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateTaskViewRequest"]; + }; + }; + responses: { + /** @description 更新されたビュー */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ProjectTaskViewResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_tasks: { + parameters: { + query?: { + status_id?: string; + priority?: string; + assignee_id?: string; + milestone_id?: string; + sprint_id?: string; + parent_task_id?: string; + is_archived?: boolean; + sort?: string; + limit?: number; + offset?: number; + }; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description タスク一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TaskListResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + create_task: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateTaskRequest"]; + }; + }; + responses: { + /** @description 作成されたタスク */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TaskDetailResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + bulk_update_tasks: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["BulkUpdateRequest"]; + }; + }; + responses: { + /** @description 一括更新結果 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["BulkUpdateResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + search_tasks: { + parameters: { + query: { + q: string; + limit?: number; + offset?: number; + }; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 検索結果 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["SearchTasksResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + get_task: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID(UUID または ENG-42 形式) */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description タスク */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TaskDetailResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + update_task: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateTaskRequest"]; + }; + }; + responses: { + /** @description 更新後のタスク */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TaskDetailResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + delete_task: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 削除しました */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_activities: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description アクティビティ一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ActivityListResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + archive_task: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description アーカイブ後のタスク */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TaskResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_assignees: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 担当者一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TaskAssigneeResponse"][]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + add_assignee: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["AddAssigneeRequest"]; + }; + }; + responses: { + /** @description 追加された担当者 */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TaskAssigneeResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + update_assignee: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + /** @description ユーザーID */ + user_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateAssigneeRequest"]; + }; + }; + responses: { + /** @description 更新後の担当者 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TaskAssigneeResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + remove_assignee: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + /** @description ユーザーID */ + user_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 削除しました */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_task_attachments: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID(UUID または連番ID) */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 添付ファイル一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TaskAttachmentListResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + attach_task_file: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID(UUID または連番ID) */ + id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["AttachFileRequest"]; + }; + }; + responses: { + /** @description 添付完了 */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TaskAttachmentResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + detach_task_file: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID(UUID または連番ID) */ + id: string; + /** @description 添付ID */ + attachment_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 解除成功 */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_comments: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description コメント一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["CommentListResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + create_comment: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateCommentRequest"]; + }; + }; + responses: { + /** @description 作成されたコメント */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TaskCommentResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + update_comment: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + /** @description コメントID */ + cid: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateCommentRequest"]; + }; + }; + responses: { + /** @description 更新後のコメント */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TaskCommentResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + delete_comment: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + /** @description コメントID */ + cid: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 削除しました */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_relations: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 依存関係 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TaskRelationsResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + add_relation: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["AddRelationRequest"]; + }; + }; + responses: { + /** @description 追加された依存関係 */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TaskRelationResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + remove_relation: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + /** @description 依存関係ID */ + relation_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 削除しました */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_time_logs: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description ログ一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TimeLogResponse"][]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + create_time_log: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateTimeLogRequest"]; + }; + }; + responses: { + /** @description 作成されたログ */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TimeLogResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + get_time_summary: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 工数サマリー */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TimeLogSummaryResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + update_time_log: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + /** @description ログID */ + log_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateTimeLogRequest"]; + }; + }; + responses: { + /** @description 更新後のログ */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TimeLogResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + delete_time_log: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + /** @description ログID */ + log_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 削除しました */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + start_timer: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 開始されたタイマー */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TaskTimerResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + get_timer_status: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description タイマー状態 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TimerStatusResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + stop_timer: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 生成されたログ */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TimeLogResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + unarchive_task: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + /** @description プロジェクトID */ + project_id: string; + /** @description タスクID */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description アーカイブ解除後のタスク */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TaskResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + start_watch: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + 201: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + stop_watch: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_watchers: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["WatcherListResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + set_tenant_require_2fa: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["Require2faPolicyRequest"]; + }; + }; + responses: { + /** @description 更新後のテナント */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TenantResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + get_personal_project: { + parameters: { + query?: never; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description 個人プロジェクト */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ProjectResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_my_tasks: { + parameters: { + query?: { + filter?: string; + include_personal?: boolean; + project_id?: string; + limit?: number; + offset?: number; + }; + header?: never; + path: { + /** @description テナントID */ + tenant_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description My Tasks 一覧 */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MyTasksListResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + get_notification_settings: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["NotificationSettingsResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + update_notification_settings: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["NotificationSettingsResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + list_notifications: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["NotificationListResponse"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + mark_all_notifications_read: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; + mark_notification_read: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["NotificationItem"]; + }; + }; + /** @description ログインまたはセッションが必要です */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description この操作は許可されていません */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description リソースが見つかりません */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + /** @description サーバー側で問題が発生しました。時間をおいて再度お試しください */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": { + /** @example internal-error */ + message: string; + }; + }; + }; + }; + }; +}