From 1f9c02023f23e79ec7b5c16844283ffd7b7b4323 Mon Sep 17 00:00:00 2001 From: Kazuhiro Sera Date: Tue, 29 Oct 2024 11:02:09 +0900 Subject: [PATCH] Generate web api responses --- package-lock.json | 326 ++++++++++-------- package.json | 6 +- .../ChatPostMessageResponse.ts | 11 +- .../ChatScheduleMessageResponse.ts | 7 + .../generated-response/ChatUpdateResponse.ts | 7 + .../ConversationsHistoryResponse.ts | 11 +- .../ConversationsOpenResponse.ts | 7 + .../ConversationsRepliesResponse.ts | 11 +- .../generated-response/FilesInfoResponse.ts | 7 + .../generated-response/FilesListResponse.ts | 7 + .../FilesRemoteAddResponse.ts | 7 + .../FilesRemoteInfoResponse.ts | 7 + .../FilesRemoteListResponse.ts | 7 + .../FilesRemoteShareResponse.ts | 7 + .../FilesRemoteUpdateResponse.ts | 7 + .../FilesRevokePublicURLResponse.ts | 7 + .../FilesSharedPublicURLResponse.ts | 7 + .../generated-response/FilesUploadResponse.ts | 7 + .../generated-response/PinsListResponse.ts | 7 + .../ReactionsGetResponse.ts | 7 + .../ReactionsListResponse.ts | 11 +- .../generated-response/SearchAllResponse.ts | 13 +- .../generated-response/SearchFilesResponse.ts | 13 +- .../SearchMessagesResponse.ts | 11 +- .../ChatPostMessageResponse.ts | 11 +- .../ChatScheduleMessageResponse.ts | 7 + .../generated-response/ChatUpdateResponse.ts | 7 + .../ConversationsHistoryResponse.ts | 11 +- .../ConversationsOpenResponse.ts | 7 + .../ConversationsRepliesResponse.ts | 11 +- .../generated-response/FilesInfoResponse.ts | 7 + .../generated-response/FilesListResponse.ts | 7 + .../FilesRemoteAddResponse.ts | 7 + .../FilesRemoteInfoResponse.ts | 7 + .../FilesRemoteListResponse.ts | 7 + .../FilesRemoteShareResponse.ts | 7 + .../FilesRemoteUpdateResponse.ts | 7 + .../FilesRevokePublicURLResponse.ts | 7 + .../FilesSharedPublicURLResponse.ts | 7 + .../generated-response/FilesUploadResponse.ts | 7 + .../generated-response/PinsListResponse.ts | 7 + .../ReactionsGetResponse.ts | 7 + .../ReactionsListResponse.ts | 11 +- .../generated-response/SearchAllResponse.ts | 13 +- .../generated-response/SearchFilesResponse.ts | 13 +- .../SearchMessagesResponse.ts | 11 +- 46 files changed, 526 insertions(+), 178 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7e21cb5..c029b17 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,10 +10,10 @@ "license": "MIT", "devDependencies": { "@biomejs/biome": "^1.9.4", - "@vitest/coverage-v8": "^2.1.3", - "msw": "^2.5.1", + "@vitest/coverage-v8": "^2.1.4", + "msw": "^2.5.2", "typescript": "^5.6.3", - "vitest": "^2.1.3" + "vitest": "^2.1.4" } }, "node_modules/@ampproject/remapping": { @@ -931,9 +931,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.24.0.tgz", - "integrity": "sha512-Q6HJd7Y6xdB48x8ZNVDOqsbh2uByBhgK8PiQgPhwkIw/HC/YX5Ghq2mQY5sRMZWHb3VsFkWooUVOZHKr7DmDIA==", + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.24.2.tgz", + "integrity": "sha512-ufoveNTKDg9t/b7nqI3lwbCG/9IJMhADBNjjz/Jn6LxIZxD7T5L8l2uO/wD99945F1Oo8FvgbbZJRguyk/BdzA==", "cpu": [ "arm" ], @@ -945,9 +945,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.24.0.tgz", - "integrity": "sha512-ijLnS1qFId8xhKjT81uBHuuJp2lU4x2yxa4ctFPtG+MqEE6+C5f/+X/bStmxapgmwLwiL3ih122xv8kVARNAZA==", + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.24.2.tgz", + "integrity": "sha512-iZoYCiJz3Uek4NI0J06/ZxUgwAfNzqltK0MptPDO4OR0a88R4h0DSELMsflS6ibMCJ4PnLvq8f7O1d7WexUvIA==", "cpu": [ "arm64" ], @@ -959,9 +959,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.24.0.tgz", - "integrity": "sha512-bIv+X9xeSs1XCk6DVvkO+S/z8/2AMt/2lMqdQbMrmVpgFvXlmde9mLcbQpztXm1tajC3raFDqegsH18HQPMYtA==", + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.24.2.tgz", + "integrity": "sha512-/UhrIxobHYCBfhi5paTkUDQ0w+jckjRZDZ1kcBL132WeHZQ6+S5v9jQPVGLVrLbNUebdIRpIt00lQ+4Z7ys4Rg==", "cpu": [ "arm64" ], @@ -973,9 +973,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.24.0.tgz", - "integrity": "sha512-X6/nOwoFN7RT2svEQWUsW/5C/fYMBe4fnLK9DQk4SX4mgVBiTA9h64kjUYPvGQ0F/9xwJ5U5UfTbl6BEjaQdBQ==", + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.24.2.tgz", + "integrity": "sha512-1F/jrfhxJtWILusgx63WeTvGTwE4vmsT9+e/z7cZLKU8sBMddwqw3UV5ERfOV+H1FuRK3YREZ46J4Gy0aP3qDA==", "cpu": [ "x64" ], @@ -986,10 +986,38 @@ "darwin" ] }, + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.24.2.tgz", + "integrity": "sha512-1YWOpFcGuC6iGAS4EI+o3BV2/6S0H+m9kFOIlyFtp4xIX5rjSnL3AwbTBxROX0c8yWtiWM7ZI6mEPTI7VkSpZw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.24.2.tgz", + "integrity": "sha512-3qAqTewYrCdnOD9Gl9yvPoAoFAVmPJsBvleabvx4bnu1Kt6DrB2OALeRVag7BdWGWLhP1yooeMLEi6r2nYSOjg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.24.0.tgz", - "integrity": "sha512-0KXvIJQMOImLCVCz9uvvdPgfyWo93aHHp8ui3FrtOP57svqrF/roSSR5pjqL2hcMp0ljeGlU4q9o/rQaAQ3AYA==", + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.24.2.tgz", + "integrity": "sha512-ArdGtPHjLqWkqQuoVQ6a5UC5ebdX8INPuJuJNWRe0RGa/YNhVvxeWmCTFQ7LdmNCSUzVZzxAvUznKaYx645Rig==", "cpu": [ "arm" ], @@ -1001,9 +1029,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.24.0.tgz", - "integrity": "sha512-it2BW6kKFVh8xk/BnHfakEeoLPv8STIISekpoF+nBgWM4d55CZKc7T4Dx1pEbTnYm/xEKMgy1MNtYuoA8RFIWw==", + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.24.2.tgz", + "integrity": "sha512-B6UHHeNnnih8xH6wRKB0mOcJGvjZTww1FV59HqJoTJ5da9LCG6R4SEBt6uPqzlawv1LoEXSS0d4fBlHNWl6iYw==", "cpu": [ "arm" ], @@ -1015,9 +1043,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.24.0.tgz", - "integrity": "sha512-i0xTLXjqap2eRfulFVlSnM5dEbTVque/3Pi4g2y7cxrs7+a9De42z4XxKLYJ7+OhE3IgxvfQM7vQc43bwTgPwA==", + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.24.2.tgz", + "integrity": "sha512-kr3gqzczJjSAncwOS6i7fpb4dlqcvLidqrX5hpGBIM1wtt0QEVtf4wFaAwVv8QygFU8iWUMYEoJZWuWxyua4GQ==", "cpu": [ "arm64" ], @@ -1029,9 +1057,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.24.0.tgz", - "integrity": "sha512-9E6MKUJhDuDh604Qco5yP/3qn3y7SLXYuiC0Rpr89aMScS2UAmK1wHP2b7KAa1nSjWJc/f/Lc0Wl1L47qjiyQw==", + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.24.2.tgz", + "integrity": "sha512-TDdHLKCWgPuq9vQcmyLrhg/bgbOvIQ8rtWQK7MRxJ9nvaxKx38NvY7/Lo6cYuEnNHqf6rMqnivOIPIQt6H2AoA==", "cpu": [ "arm64" ], @@ -1043,9 +1071,9 @@ ] }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.24.0.tgz", - "integrity": "sha512-2XFFPJ2XMEiF5Zi2EBf4h73oR1V/lycirxZxHZNc93SqDN/IWhYYSYj8I9381ikUFXZrz2v7r2tOVk2NBwxrWw==", + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.24.2.tgz", + "integrity": "sha512-xv9vS648T3X4AxFFZGWeB5Dou8ilsv4VVqJ0+loOIgDO20zIhYfDLkk5xoQiej2RiSQkld9ijF/fhLeonrz2mw==", "cpu": [ "ppc64" ], @@ -1057,9 +1085,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.24.0.tgz", - "integrity": "sha512-M3Dg4hlwuntUCdzU7KjYqbbd+BLq3JMAOhCKdBE3TcMGMZbKkDdJ5ivNdehOssMCIokNHFOsv7DO4rlEOfyKpg==", + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.24.2.tgz", + "integrity": "sha512-tbtXwnofRoTt223WUZYiUnbxhGAOVul/3StZ947U4A5NNjnQJV5irKMm76G0LGItWs6y+SCjUn/Q0WaMLkEskg==", "cpu": [ "riscv64" ], @@ -1071,9 +1099,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.24.0.tgz", - "integrity": "sha512-mjBaoo4ocxJppTorZVKWFpy1bfFj9FeCMJqzlMQGjpNPY9JwQi7OuS1axzNIk0nMX6jSgy6ZURDZ2w0QW6D56g==", + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.24.2.tgz", + "integrity": "sha512-gc97UebApwdsSNT3q79glOSPdfwgwj5ELuiyuiMY3pEWMxeVqLGKfpDFoum4ujivzxn6veUPzkGuSYoh5deQ2Q==", "cpu": [ "s390x" ], @@ -1085,9 +1113,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.24.0.tgz", - "integrity": "sha512-ZXFk7M72R0YYFN5q13niV0B7G8/5dcQ9JDp8keJSfr3GoZeXEoMHP/HlvqROA3OMbMdfr19IjCeNAnPUG93b6A==", + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.24.2.tgz", + "integrity": "sha512-jOG/0nXb3z+EM6SioY8RofqqmZ+9NKYvJ6QQaa9Mvd3RQxlH68/jcB/lpyVt4lCiqr04IyaC34NzhUqcXbB5FQ==", "cpu": [ "x64" ], @@ -1099,9 +1127,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.24.0.tgz", - "integrity": "sha512-w1i+L7kAXZNdYl+vFvzSZy8Y1arS7vMgIy8wusXJzRrPyof5LAb02KGr1PD2EkRcl73kHulIID0M501lN+vobQ==", + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.24.2.tgz", + "integrity": "sha512-XAo7cJec80NWx9LlZFEJQxqKOMz/lX3geWs2iNT5CHIERLFfd90f3RYLLjiCBm1IMaQ4VOX/lTC9lWfzzQm14Q==", "cpu": [ "x64" ], @@ -1113,9 +1141,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.24.0.tgz", - "integrity": "sha512-VXBrnPWgBpVDCVY6XF3LEW0pOU51KbaHhccHw6AS6vBWIC60eqsH19DAeeObl+g8nKAz04QFdl/Cefta0xQtUQ==", + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.24.2.tgz", + "integrity": "sha512-A+JAs4+EhsTjnPQvo9XY/DC0ztaws3vfqzrMNMKlwQXuniBKOIIvAAI8M0fBYiTCxQnElYu7mLk7JrhlQ+HeOw==", "cpu": [ "arm64" ], @@ -1127,9 +1155,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.24.0.tgz", - "integrity": "sha512-xrNcGDU0OxVcPTH/8n/ShH4UevZxKIO6HJFK0e15XItZP2UcaiLFd5kiX7hJnqCbSztUF8Qot+JWBC/QXRPYWQ==", + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.24.2.tgz", + "integrity": "sha512-ZhcrakbqA1SCiJRMKSU64AZcYzlZ/9M5LaYil9QWxx9vLnkQ9Vnkve17Qn4SjlipqIIBFKjBES6Zxhnvh0EAEw==", "cpu": [ "ia32" ], @@ -1141,9 +1169,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.24.0.tgz", - "integrity": "sha512-fbMkAF7fufku0N2dE5TBXcNlg0pt0cJue4xBRE2Qc5Vqikxr4VCgKj/ht6SMdFcOacVA9rqF70APJ8RN/4vMJw==", + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.24.2.tgz", + "integrity": "sha512-2mLH46K1u3r6uwc95hU+OR9q/ggYMpnS7pSp83Ece1HUQgF9Nh/QwTK5rcgbFnV9j+08yBrU5sA/P0RK2MSBNA==", "cpu": [ "x64" ], @@ -1169,9 +1197,9 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "22.8.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.1.tgz", - "integrity": "sha512-k6Gi8Yyo8EtrNtkHXutUu2corfDf9su95VYVP10aGYMMROM6SAItZi0w1XszA6RtWTHSVp5OeFof37w0IEqCQg==", + "version": "22.8.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.2.tgz", + "integrity": "sha512-NzaRNFV+FZkvK/KLCsNdTvID0SThyrs5SHB6tsD/lajr22FGC73N2QeDPM2wHtVde8mgcXuSsHQkH5cX1pbPLw==", "dev": true, "license": "MIT", "peer": true, @@ -1194,21 +1222,21 @@ "license": "MIT" }, "node_modules/@vitest/coverage-v8": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-2.1.3.tgz", - "integrity": "sha512-2OJ3c7UPoFSmBZwqD2VEkUw6A/tzPF0LmW0ZZhhB8PFxuc+9IBG/FaSM+RLEenc7ljzFvGN+G0nGQoZnh7sy2A==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-2.1.4.tgz", + "integrity": "sha512-FPKQuJfR6VTfcNMcGpqInmtJuVXFSCd9HQltYncfR01AzXhLucMEtQ5SinPdZxsT5x/5BK7I5qFJ5/ApGCmyTQ==", "dev": true, "license": "MIT", "dependencies": { "@ampproject/remapping": "^2.3.0", "@bcoe/v8-coverage": "^0.2.3", - "debug": "^4.3.6", + "debug": "^4.3.7", "istanbul-lib-coverage": "^3.2.2", "istanbul-lib-report": "^3.0.1", "istanbul-lib-source-maps": "^5.0.6", "istanbul-reports": "^3.1.7", - "magic-string": "^0.30.11", - "magicast": "^0.3.4", + "magic-string": "^0.30.12", + "magicast": "^0.3.5", "std-env": "^3.7.0", "test-exclude": "^7.0.1", "tinyrainbow": "^1.2.0" @@ -1217,8 +1245,8 @@ "url": "https://opencollective.com/vitest" }, "peerDependencies": { - "@vitest/browser": "2.1.3", - "vitest": "2.1.3" + "@vitest/browser": "2.1.4", + "vitest": "2.1.4" }, "peerDependenciesMeta": { "@vitest/browser": { @@ -1227,15 +1255,15 @@ } }, "node_modules/@vitest/expect": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-2.1.3.tgz", - "integrity": "sha512-SNBoPubeCJhZ48agjXruCI57DvxcsivVDdWz+SSsmjTT4QN/DfHk3zB/xKsJqMs26bLZ/pNRLnCf0j679i0uWQ==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-2.1.4.tgz", + "integrity": "sha512-DOETT0Oh1avie/D/o2sgMHGrzYUFFo3zqESB2Hn70z6QB1HrS2IQ9z5DfyTqU8sg4Bpu13zZe9V4+UTNQlUeQA==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/spy": "2.1.3", - "@vitest/utils": "2.1.3", - "chai": "^5.1.1", + "@vitest/spy": "2.1.4", + "@vitest/utils": "2.1.4", + "chai": "^5.1.2", "tinyrainbow": "^1.2.0" }, "funding": { @@ -1243,22 +1271,21 @@ } }, "node_modules/@vitest/mocker": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-2.1.3.tgz", - "integrity": "sha512-eSpdY/eJDuOvuTA3ASzCjdithHa+GIF1L4PqtEELl6Qa3XafdMLBpBlZCIUCX2J+Q6sNmjmxtosAG62fK4BlqQ==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-2.1.4.tgz", + "integrity": "sha512-Ky/O1Lc0QBbutJdW0rqLeFNbuLEyS+mIPiNdlVlp2/yhJ0SbyYqObS5IHdhferJud8MbbwMnexg4jordE5cCoQ==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/spy": "2.1.3", + "@vitest/spy": "2.1.4", "estree-walker": "^3.0.3", - "magic-string": "^0.30.11" + "magic-string": "^0.30.12" }, "funding": { "url": "https://opencollective.com/vitest" }, "peerDependencies": { - "@vitest/spy": "2.1.3", - "msw": "^2.3.5", + "msw": "^2.4.9", "vite": "^5.0.0" }, "peerDependenciesMeta": { @@ -1271,9 +1298,9 @@ } }, "node_modules/@vitest/pretty-format": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-2.1.3.tgz", - "integrity": "sha512-XH1XdtoLZCpqV59KRbPrIhFCOO0hErxrQCMcvnQete3Vibb9UeIOX02uFPfVn3Z9ZXsq78etlfyhnkmIZSzIwQ==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-2.1.4.tgz", + "integrity": "sha512-L95zIAkEuTDbUX1IsjRl+vyBSLh3PwLLgKpghl37aCK9Jvw0iP+wKwIFhfjdUtA2myLgjrG6VU6JCFLv8q/3Ww==", "dev": true, "license": "MIT", "dependencies": { @@ -1284,13 +1311,13 @@ } }, "node_modules/@vitest/runner": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-2.1.3.tgz", - "integrity": "sha512-JGzpWqmFJ4fq5ZKHtVO3Xuy1iF2rHGV4d/pdzgkYHm1+gOzNZtqjvyiaDGJytRyMU54qkxpNzCx+PErzJ1/JqQ==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-2.1.4.tgz", + "integrity": "sha512-sKRautINI9XICAMl2bjxQM8VfCMTB0EbsBc/EDFA57V6UQevEKY/TOPOF5nzcvCALltiLfXWbq4MaAwWx/YxIA==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/utils": "2.1.3", + "@vitest/utils": "2.1.4", "pathe": "^1.1.2" }, "funding": { @@ -1298,14 +1325,14 @@ } }, "node_modules/@vitest/snapshot": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-2.1.3.tgz", - "integrity": "sha512-qWC2mWc7VAXmjAkEKxrScWHWFyCQx/cmiZtuGqMi+WwqQJ2iURsVY4ZfAK6dVo6K2smKRU6l3BPwqEBvhnpQGg==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-2.1.4.tgz", + "integrity": "sha512-3Kab14fn/5QZRog5BPj6Rs8dc4B+mim27XaKWFWHWA87R56AKjHTGcBFKpvZKDzC4u5Wd0w/qKsUIio3KzWW4Q==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/pretty-format": "2.1.3", - "magic-string": "^0.30.11", + "@vitest/pretty-format": "2.1.4", + "magic-string": "^0.30.12", "pathe": "^1.1.2" }, "funding": { @@ -1313,27 +1340,27 @@ } }, "node_modules/@vitest/spy": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-2.1.3.tgz", - "integrity": "sha512-Nb2UzbcUswzeSP7JksMDaqsI43Sj5+Kry6ry6jQJT4b5gAK+NS9NED6mDb8FlMRCX8m5guaHCDZmqYMMWRy5nQ==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-2.1.4.tgz", + "integrity": "sha512-4JOxa+UAizJgpZfaCPKK2smq9d8mmjZVPMt2kOsg/R8QkoRzydHH1qHxIYNvr1zlEaFj4SXiaaJWxq/LPLKaLg==", "dev": true, "license": "MIT", "dependencies": { - "tinyspy": "^3.0.0" + "tinyspy": "^3.0.2" }, "funding": { "url": "https://opencollective.com/vitest" } }, "node_modules/@vitest/utils": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-2.1.3.tgz", - "integrity": "sha512-xpiVfDSg1RrYT0tX6czgerkpcKFmFOF/gCr30+Mve5V2kewCy4Prn1/NDMSRwaSmT7PRaOF83wu+bEtsY1wrvA==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-2.1.4.tgz", + "integrity": "sha512-MXDnZn0Awl2S86PSNIim5PWXgIAx8CIkzu35mBdSApUip6RFOGXBCf3YFyeEu8n1IHk4bWD46DeYFu9mQlFIRg==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/pretty-format": "2.1.3", - "loupe": "^3.1.1", + "@vitest/pretty-format": "2.1.4", + "loupe": "^3.1.2", "tinyrainbow": "^1.2.0" }, "funding": { @@ -1687,6 +1714,16 @@ "@types/estree": "^1.0.0" } }, + "node_modules/expect-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.1.0.tgz", + "integrity": "sha512-bFi65yM+xZgk+u/KRIpekdSYkTB5W1pEf0Lt8Q8Msh7b+eQ7LXVtIB1Bkm4fvclDEL1b2CZkMhv2mOeF8tMdkA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.0.0" + } + }, "node_modules/foreground-child": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", @@ -1964,9 +2001,9 @@ "license": "MIT" }, "node_modules/msw": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/msw/-/msw-2.5.1.tgz", - "integrity": "sha512-V0BmHvFkbWGXqbyrc+XiuQ8DU3qzcb6lb8gB9Vzltp3cgHLHLCDF/KmmFo0xw58StNaRMTebw3/xpWVvU9xq9g==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/msw/-/msw-2.5.2.tgz", + "integrity": "sha512-eBsFgU30NYtrfC62XzS1rdAzFK+Br0zKU4ORqD9Qliq86362DWZyPiD6FLfMgy0Ktik83DPTXmqPMz2bqwmJdA==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -2182,9 +2219,9 @@ "license": "MIT" }, "node_modules/rollup": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.24.0.tgz", - "integrity": "sha512-DOmrlGSXNk1DM0ljiQA+i+o0rSLhtii1je5wgk60j49d1jHT5YYttBv1iWOnYSTG+fZZESUOSNiAl89SIet+Cg==", + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.24.2.tgz", + "integrity": "sha512-do/DFGq5g6rdDhdpPq5qb2ecoczeK6y+2UAjdJ5trjQJj5f1AiVdLRWRc9A9/fFukfvJRgM0UXzxBIYMovm5ww==", "dev": true, "license": "MIT", "dependencies": { @@ -2198,22 +2235,24 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.24.0", - "@rollup/rollup-android-arm64": "4.24.0", - "@rollup/rollup-darwin-arm64": "4.24.0", - "@rollup/rollup-darwin-x64": "4.24.0", - "@rollup/rollup-linux-arm-gnueabihf": "4.24.0", - "@rollup/rollup-linux-arm-musleabihf": "4.24.0", - "@rollup/rollup-linux-arm64-gnu": "4.24.0", - "@rollup/rollup-linux-arm64-musl": "4.24.0", - "@rollup/rollup-linux-powerpc64le-gnu": "4.24.0", - "@rollup/rollup-linux-riscv64-gnu": "4.24.0", - "@rollup/rollup-linux-s390x-gnu": "4.24.0", - "@rollup/rollup-linux-x64-gnu": "4.24.0", - "@rollup/rollup-linux-x64-musl": "4.24.0", - "@rollup/rollup-win32-arm64-msvc": "4.24.0", - "@rollup/rollup-win32-ia32-msvc": "4.24.0", - "@rollup/rollup-win32-x64-msvc": "4.24.0", + "@rollup/rollup-android-arm-eabi": "4.24.2", + "@rollup/rollup-android-arm64": "4.24.2", + "@rollup/rollup-darwin-arm64": "4.24.2", + "@rollup/rollup-darwin-x64": "4.24.2", + "@rollup/rollup-freebsd-arm64": "4.24.2", + "@rollup/rollup-freebsd-x64": "4.24.2", + "@rollup/rollup-linux-arm-gnueabihf": "4.24.2", + "@rollup/rollup-linux-arm-musleabihf": "4.24.2", + "@rollup/rollup-linux-arm64-gnu": "4.24.2", + "@rollup/rollup-linux-arm64-musl": "4.24.2", + "@rollup/rollup-linux-powerpc64le-gnu": "4.24.2", + "@rollup/rollup-linux-riscv64-gnu": "4.24.2", + "@rollup/rollup-linux-s390x-gnu": "4.24.2", + "@rollup/rollup-linux-x64-gnu": "4.24.2", + "@rollup/rollup-linux-x64-musl": "4.24.2", + "@rollup/rollup-win32-arm64-msvc": "4.24.2", + "@rollup/rollup-win32-ia32-msvc": "4.24.2", + "@rollup/rollup-win32-x64-msvc": "4.24.2", "fsevents": "~2.3.2" } }, @@ -2626,14 +2665,14 @@ } }, "node_modules/vite-node": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-2.1.3.tgz", - "integrity": "sha512-I1JadzO+xYX887S39Do+paRePCKoiDrWRRjp9kkG5he0t7RXNvPAJPCQSJqbGN4uCrFFeS3Kj3sLqY8NMYBEdA==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-2.1.4.tgz", + "integrity": "sha512-kqa9v+oi4HwkG6g8ufRnb5AeplcRw8jUF6/7/Qz1qRQOXHImG8YnLbB+LLszENwFnoBl9xIf9nVdCFzNd7GQEg==", "dev": true, "license": "MIT", "dependencies": { "cac": "^6.7.14", - "debug": "^4.3.6", + "debug": "^4.3.7", "pathe": "^1.1.2", "vite": "^5.0.0" }, @@ -2648,30 +2687,31 @@ } }, "node_modules/vitest": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/vitest/-/vitest-2.1.3.tgz", - "integrity": "sha512-Zrxbg/WiIvUP2uEzelDNTXmEMJXuzJ1kCpbDvaKByFA9MNeO95V+7r/3ti0qzJzrxdyuUw5VduN7k+D3VmVOSA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@vitest/expect": "2.1.3", - "@vitest/mocker": "2.1.3", - "@vitest/pretty-format": "^2.1.3", - "@vitest/runner": "2.1.3", - "@vitest/snapshot": "2.1.3", - "@vitest/spy": "2.1.3", - "@vitest/utils": "2.1.3", - "chai": "^5.1.1", - "debug": "^4.3.6", - "magic-string": "^0.30.11", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-2.1.4.tgz", + "integrity": "sha512-eDjxbVAJw1UJJCHr5xr/xM86Zx+YxIEXGAR+bmnEID7z9qWfoxpHw0zdobz+TQAFOLT+nEXz3+gx6nUJ7RgmlQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/expect": "2.1.4", + "@vitest/mocker": "2.1.4", + "@vitest/pretty-format": "^2.1.4", + "@vitest/runner": "2.1.4", + "@vitest/snapshot": "2.1.4", + "@vitest/spy": "2.1.4", + "@vitest/utils": "2.1.4", + "chai": "^5.1.2", + "debug": "^4.3.7", + "expect-type": "^1.1.0", + "magic-string": "^0.30.12", "pathe": "^1.1.2", "std-env": "^3.7.0", "tinybench": "^2.9.0", - "tinyexec": "^0.3.0", - "tinypool": "^1.0.0", + "tinyexec": "^0.3.1", + "tinypool": "^1.0.1", "tinyrainbow": "^1.2.0", "vite": "^5.0.0", - "vite-node": "2.1.3", + "vite-node": "2.1.4", "why-is-node-running": "^2.3.0" }, "bin": { @@ -2686,8 +2726,8 @@ "peerDependencies": { "@edge-runtime/vm": "*", "@types/node": "^18.0.0 || >=20.0.0", - "@vitest/browser": "2.1.3", - "@vitest/ui": "2.1.3", + "@vitest/browser": "2.1.4", + "@vitest/ui": "2.1.4", "happy-dom": "*", "jsdom": "*" }, diff --git a/package.json b/package.json index ae471c3..61d7402 100644 --- a/package.json +++ b/package.json @@ -30,10 +30,10 @@ "homepage": "https://github.com/seratch/slack-web-api-client#readme", "devDependencies": { "@biomejs/biome": "^1.9.4", - "@vitest/coverage-v8": "^2.1.3", - "msw": "^2.5.1", + "@vitest/coverage-v8": "^2.1.4", + "msw": "^2.5.2", "typescript": "^5.6.3", - "vitest": "^2.1.3" + "vitest": "^2.1.4" }, "overrides": { "msw": { diff --git a/src/client/generated-response/ChatPostMessageResponse.ts b/src/client/generated-response/ChatPostMessageResponse.ts index c07878c..67676e8 100644 --- a/src/client/generated-response/ChatPostMessageResponse.ts +++ b/src/client/generated-response/ChatPostMessageResponse.ts @@ -650,6 +650,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -689,9 +690,15 @@ export interface Private { export interface Transcription { locale?: string; + preview?: TranscriptionPreview; status?: string; } +export interface TranscriptionPreview { + content?: string; + has_more?: boolean; +} + export interface Attachment { actions?: Action[]; app_id?: string; @@ -743,7 +750,7 @@ export interface Attachment { msg_subtype?: string; original_url?: string; pretext?: string; - preview?: Preview; + preview?: AttachmentPreview; service_icon?: string; service_name?: string; service_url?: string; @@ -1263,7 +1270,7 @@ export interface AttachmentMetadata { thumb_tiny?: string; } -export interface Preview { +export interface AttachmentPreview { can_remove?: boolean; icon_url?: string; subtitle?: DescriptionElement; diff --git a/src/client/generated-response/ChatScheduleMessageResponse.ts b/src/client/generated-response/ChatScheduleMessageResponse.ts index cc29146..aa80736 100644 --- a/src/client/generated-response/ChatScheduleMessageResponse.ts +++ b/src/client/generated-response/ChatScheduleMessageResponse.ts @@ -641,6 +641,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -680,9 +681,15 @@ export interface Private { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } +export interface Preview { + content?: string; + has_more?: boolean; +} + export interface BotProfile { app_id?: string; deleted?: boolean; diff --git a/src/client/generated-response/ChatUpdateResponse.ts b/src/client/generated-response/ChatUpdateResponse.ts index 49db757..7c15ff6 100644 --- a/src/client/generated-response/ChatUpdateResponse.ts +++ b/src/client/generated-response/ChatUpdateResponse.ts @@ -646,6 +646,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -685,9 +686,15 @@ export interface Private { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } +export interface Preview { + content?: string; + has_more?: boolean; +} + export interface BotProfile { app_id?: string; deleted?: boolean; diff --git a/src/client/generated-response/ConversationsHistoryResponse.ts b/src/client/generated-response/ConversationsHistoryResponse.ts index e814caa..ed8d045 100644 --- a/src/client/generated-response/ConversationsHistoryResponse.ts +++ b/src/client/generated-response/ConversationsHistoryResponse.ts @@ -666,6 +666,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -705,9 +706,15 @@ export interface Private { export interface Transcription { locale?: string; + preview?: TranscriptionPreview; status?: string; } +export interface TranscriptionPreview { + content?: string; + has_more?: boolean; +} + export interface Attachment { actions?: Action[]; app_id?: string; @@ -759,7 +766,7 @@ export interface Attachment { msg_subtype?: string; original_url?: string; pretext?: string; - preview?: Preview; + preview?: AttachmentPreview; service_icon?: string; service_name?: string; service_url?: string; @@ -1276,7 +1283,7 @@ export interface AttachmentMetadata { thumb_tiny?: string; } -export interface Preview { +export interface AttachmentPreview { can_remove?: boolean; icon_url?: string; subtitle?: DescriptionElement; diff --git a/src/client/generated-response/ConversationsOpenResponse.ts b/src/client/generated-response/ConversationsOpenResponse.ts index d15fe71..1628147 100644 --- a/src/client/generated-response/ConversationsOpenResponse.ts +++ b/src/client/generated-response/ConversationsOpenResponse.ts @@ -657,6 +657,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -696,9 +697,15 @@ export interface Private { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } +export interface Preview { + content?: string; + has_more?: boolean; +} + export interface BotProfile { app_id?: string; deleted?: boolean; diff --git a/src/client/generated-response/ConversationsRepliesResponse.ts b/src/client/generated-response/ConversationsRepliesResponse.ts index 7e0e5e5..c3a1389 100644 --- a/src/client/generated-response/ConversationsRepliesResponse.ts +++ b/src/client/generated-response/ConversationsRepliesResponse.ts @@ -655,6 +655,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -694,9 +695,15 @@ export interface Private { export interface Transcription { locale?: string; + preview?: TranscriptionPreview; status?: string; } +export interface TranscriptionPreview { + content?: string; + has_more?: boolean; +} + export interface Attachment { actions?: Action[]; app_id?: string; @@ -748,7 +755,7 @@ export interface Attachment { msg_subtype?: string; original_url?: string; pretext?: string; - preview?: Preview; + preview?: AttachmentPreview; service_icon?: string; service_name?: string; service_url?: string; @@ -1265,7 +1272,7 @@ export interface AttachmentMetadata { thumb_tiny?: string; } -export interface Preview { +export interface AttachmentPreview { can_remove?: boolean; icon_url?: string; subtitle?: DescriptionElement; diff --git a/src/client/generated-response/FilesInfoResponse.ts b/src/client/generated-response/FilesInfoResponse.ts index 81bcd41..7c9077b 100644 --- a/src/client/generated-response/FilesInfoResponse.ts +++ b/src/client/generated-response/FilesInfoResponse.ts @@ -312,6 +312,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -543,9 +544,15 @@ export interface CustomizableInputParameter { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } +export interface Preview { + content?: string; + has_more?: boolean; +} + export interface Paging { count?: number; page?: number; diff --git a/src/client/generated-response/FilesListResponse.ts b/src/client/generated-response/FilesListResponse.ts index bfb30ff..09f537f 100644 --- a/src/client/generated-response/FilesListResponse.ts +++ b/src/client/generated-response/FilesListResponse.ts @@ -306,6 +306,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -537,9 +538,15 @@ export interface CustomizableInputParameter { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } +export interface Preview { + content?: string; + has_more?: boolean; +} + export interface Paging { count?: number; page?: number; diff --git a/src/client/generated-response/FilesRemoteAddResponse.ts b/src/client/generated-response/FilesRemoteAddResponse.ts index 5e77cc7..911849a 100644 --- a/src/client/generated-response/FilesRemoteAddResponse.ts +++ b/src/client/generated-response/FilesRemoteAddResponse.ts @@ -305,6 +305,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -536,5 +537,11 @@ export interface CustomizableInputParameter { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } + +export interface Preview { + content?: string; + has_more?: boolean; +} diff --git a/src/client/generated-response/FilesRemoteInfoResponse.ts b/src/client/generated-response/FilesRemoteInfoResponse.ts index 055b642..eb5857d 100644 --- a/src/client/generated-response/FilesRemoteInfoResponse.ts +++ b/src/client/generated-response/FilesRemoteInfoResponse.ts @@ -305,6 +305,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -536,5 +537,11 @@ export interface CustomizableInputParameter { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } + +export interface Preview { + content?: string; + has_more?: boolean; +} diff --git a/src/client/generated-response/FilesRemoteListResponse.ts b/src/client/generated-response/FilesRemoteListResponse.ts index 9a02de3..86d8b36 100644 --- a/src/client/generated-response/FilesRemoteListResponse.ts +++ b/src/client/generated-response/FilesRemoteListResponse.ts @@ -306,6 +306,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -537,9 +538,15 @@ export interface CustomizableInputParameter { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } +export interface Preview { + content?: string; + has_more?: boolean; +} + export interface ResponseMetadata { next_cursor?: string; } diff --git a/src/client/generated-response/FilesRemoteShareResponse.ts b/src/client/generated-response/FilesRemoteShareResponse.ts index fdfb491..0ec2e7c 100644 --- a/src/client/generated-response/FilesRemoteShareResponse.ts +++ b/src/client/generated-response/FilesRemoteShareResponse.ts @@ -305,6 +305,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -536,5 +537,11 @@ export interface CustomizableInputParameter { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } + +export interface Preview { + content?: string; + has_more?: boolean; +} diff --git a/src/client/generated-response/FilesRemoteUpdateResponse.ts b/src/client/generated-response/FilesRemoteUpdateResponse.ts index 575bceb..1988ee6 100644 --- a/src/client/generated-response/FilesRemoteUpdateResponse.ts +++ b/src/client/generated-response/FilesRemoteUpdateResponse.ts @@ -305,6 +305,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -536,5 +537,11 @@ export interface CustomizableInputParameter { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } + +export interface Preview { + content?: string; + has_more?: boolean; +} diff --git a/src/client/generated-response/FilesRevokePublicURLResponse.ts b/src/client/generated-response/FilesRevokePublicURLResponse.ts index 2a4ab2a..b92139a 100644 --- a/src/client/generated-response/FilesRevokePublicURLResponse.ts +++ b/src/client/generated-response/FilesRevokePublicURLResponse.ts @@ -305,6 +305,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -536,5 +537,11 @@ export interface CustomizableInputParameter { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } + +export interface Preview { + content?: string; + has_more?: boolean; +} diff --git a/src/client/generated-response/FilesSharedPublicURLResponse.ts b/src/client/generated-response/FilesSharedPublicURLResponse.ts index 04b8f04..01b8757 100644 --- a/src/client/generated-response/FilesSharedPublicURLResponse.ts +++ b/src/client/generated-response/FilesSharedPublicURLResponse.ts @@ -305,6 +305,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -536,5 +537,11 @@ export interface CustomizableInputParameter { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } + +export interface Preview { + content?: string; + has_more?: boolean; +} diff --git a/src/client/generated-response/FilesUploadResponse.ts b/src/client/generated-response/FilesUploadResponse.ts index c98cd68..9f1f592 100644 --- a/src/client/generated-response/FilesUploadResponse.ts +++ b/src/client/generated-response/FilesUploadResponse.ts @@ -305,6 +305,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -536,5 +537,11 @@ export interface CustomizableInputParameter { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } + +export interface Preview { + content?: string; + has_more?: boolean; +} diff --git a/src/client/generated-response/PinsListResponse.ts b/src/client/generated-response/PinsListResponse.ts index dfdebfb..fd156b8 100644 --- a/src/client/generated-response/PinsListResponse.ts +++ b/src/client/generated-response/PinsListResponse.ts @@ -313,6 +313,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -544,5 +545,11 @@ export interface CustomizableInputParameter { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } + +export interface Preview { + content?: string; + has_more?: boolean; +} diff --git a/src/client/generated-response/ReactionsGetResponse.ts b/src/client/generated-response/ReactionsGetResponse.ts index 960c3c5..4f86b9a 100644 --- a/src/client/generated-response/ReactionsGetResponse.ts +++ b/src/client/generated-response/ReactionsGetResponse.ts @@ -641,6 +641,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -680,9 +681,15 @@ export interface Private { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } +export interface Preview { + content?: string; + has_more?: boolean; +} + export interface BotProfile { app_id?: string; deleted?: boolean; diff --git a/src/client/generated-response/ReactionsListResponse.ts b/src/client/generated-response/ReactionsListResponse.ts index 9ba1fc4..afaffd0 100644 --- a/src/client/generated-response/ReactionsListResponse.ts +++ b/src/client/generated-response/ReactionsListResponse.ts @@ -667,6 +667,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -706,9 +707,15 @@ export interface Private { export interface Transcription { locale?: string; + preview?: TranscriptionPreview; status?: string; } +export interface TranscriptionPreview { + content?: string; + has_more?: boolean; +} + export interface Attachment { actions?: Action[]; app_id?: string; @@ -760,7 +767,7 @@ export interface Attachment { msg_subtype?: string; original_url?: string; pretext?: string; - preview?: Preview; + preview?: AttachmentPreview; service_icon?: string; service_name?: string; service_url?: string; @@ -1280,7 +1287,7 @@ export interface AttachmentMetadata { thumb_tiny?: string; } -export interface Preview { +export interface AttachmentPreview { can_remove?: boolean; icon_url?: string; subtitle?: DescriptionElement; diff --git a/src/client/generated-response/SearchAllResponse.ts b/src/client/generated-response/SearchAllResponse.ts index 45a2527..d2553c5 100644 --- a/src/client/generated-response/SearchAllResponse.ts +++ b/src/client/generated-response/SearchAllResponse.ts @@ -39,7 +39,7 @@ export interface FilesMatch { dm_mpdm_users_with_file_access?: DmMpdmUsersWithFileAccess[]; edit_link?: string; editable?: boolean; - editors?: LastEditor[]; + editors?: string[]; editors_count?: number; external_id?: string; external_type?: string; @@ -183,7 +183,7 @@ export interface Attachment { msg_subtype?: string; original_url?: string; pretext?: string; - preview?: Preview; + preview?: AttachmentPreview; service_icon?: string; service_name?: string; service_url?: string; @@ -770,6 +770,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -819,9 +820,15 @@ export enum Ts { export interface Transcription { locale?: string; + preview?: TranscriptionPreview; status?: string; } +export interface TranscriptionPreview { + content?: string; + has_more?: boolean; +} + export interface List { channels?: string[]; comments_count?: number; @@ -1287,7 +1294,7 @@ export interface AttachmentMetadata { thumb_tiny?: string; } -export interface Preview { +export interface AttachmentPreview { can_remove?: boolean; icon_url?: string; subtitle?: DescriptionElement; diff --git a/src/client/generated-response/SearchFilesResponse.ts b/src/client/generated-response/SearchFilesResponse.ts index 18c6919..de134b9 100644 --- a/src/client/generated-response/SearchFilesResponse.ts +++ b/src/client/generated-response/SearchFilesResponse.ts @@ -37,7 +37,7 @@ export interface Match { dm_mpdm_users_with_file_access?: DmMpdmUsersWithFileAccess[]; edit_link?: string; editable?: boolean; - editors?: LastEditor[]; + editors?: string[]; editors_count?: number; external_id?: string; external_type?: string; @@ -181,7 +181,7 @@ export interface Attachment { msg_subtype?: string; original_url?: string; pretext?: string; - preview?: Preview; + preview?: AttachmentPreview; service_icon?: string; service_name?: string; service_url?: string; @@ -749,6 +749,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -798,9 +799,15 @@ export enum Ts { export interface Transcription { locale?: string; + preview?: TranscriptionPreview; status?: string; } +export interface TranscriptionPreview { + content?: string; + has_more?: boolean; +} + export interface List { channels?: string[]; comments_count?: number; @@ -1266,7 +1273,7 @@ export interface AttachmentMetadata { thumb_tiny?: string; } -export interface Preview { +export interface AttachmentPreview { can_remove?: boolean; icon_url?: string; subtitle?: DescriptionElement; diff --git a/src/client/generated-response/SearchMessagesResponse.ts b/src/client/generated-response/SearchMessagesResponse.ts index 26749a8..230b087 100644 --- a/src/client/generated-response/SearchMessagesResponse.ts +++ b/src/client/generated-response/SearchMessagesResponse.ts @@ -93,7 +93,7 @@ export interface Attachment { msg_subtype?: string; original_url?: string; pretext?: string; - preview?: Preview; + preview?: AttachmentPreview; service_icon?: string; service_name?: string; service_url?: string; @@ -675,6 +675,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -714,9 +715,15 @@ export interface Private { export interface Transcription { locale?: string; + preview?: TranscriptionPreview; status?: string; } +export interface TranscriptionPreview { + content?: string; + has_more?: boolean; +} + export interface List { channels?: string[]; comments_count?: number; @@ -1182,7 +1189,7 @@ export interface AttachmentMetadata { thumb_tiny?: string; } -export interface Preview { +export interface AttachmentPreview { can_remove?: boolean; icon_url?: string; subtitle?: DescriptionElement; diff --git a/src_deno/client/generated-response/ChatPostMessageResponse.ts b/src_deno/client/generated-response/ChatPostMessageResponse.ts index 94e3968..504e5b2 100644 --- a/src_deno/client/generated-response/ChatPostMessageResponse.ts +++ b/src_deno/client/generated-response/ChatPostMessageResponse.ts @@ -650,6 +650,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -689,9 +690,15 @@ export interface Private { export interface Transcription { locale?: string; + preview?: TranscriptionPreview; status?: string; } +export interface TranscriptionPreview { + content?: string; + has_more?: boolean; +} + export interface Attachment { actions?: Action[]; app_id?: string; @@ -743,7 +750,7 @@ export interface Attachment { msg_subtype?: string; original_url?: string; pretext?: string; - preview?: Preview; + preview?: AttachmentPreview; service_icon?: string; service_name?: string; service_url?: string; @@ -1263,7 +1270,7 @@ export interface AttachmentMetadata { thumb_tiny?: string; } -export interface Preview { +export interface AttachmentPreview { can_remove?: boolean; icon_url?: string; subtitle?: DescriptionElement; diff --git a/src_deno/client/generated-response/ChatScheduleMessageResponse.ts b/src_deno/client/generated-response/ChatScheduleMessageResponse.ts index 0106dbd..bce413d 100644 --- a/src_deno/client/generated-response/ChatScheduleMessageResponse.ts +++ b/src_deno/client/generated-response/ChatScheduleMessageResponse.ts @@ -641,6 +641,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -680,9 +681,15 @@ export interface Private { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } +export interface Preview { + content?: string; + has_more?: boolean; +} + export interface BotProfile { app_id?: string; deleted?: boolean; diff --git a/src_deno/client/generated-response/ChatUpdateResponse.ts b/src_deno/client/generated-response/ChatUpdateResponse.ts index d98db53..46904a9 100644 --- a/src_deno/client/generated-response/ChatUpdateResponse.ts +++ b/src_deno/client/generated-response/ChatUpdateResponse.ts @@ -646,6 +646,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -685,9 +686,15 @@ export interface Private { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } +export interface Preview { + content?: string; + has_more?: boolean; +} + export interface BotProfile { app_id?: string; deleted?: boolean; diff --git a/src_deno/client/generated-response/ConversationsHistoryResponse.ts b/src_deno/client/generated-response/ConversationsHistoryResponse.ts index 28ca3d5..056bbbc 100644 --- a/src_deno/client/generated-response/ConversationsHistoryResponse.ts +++ b/src_deno/client/generated-response/ConversationsHistoryResponse.ts @@ -666,6 +666,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -705,9 +706,15 @@ export interface Private { export interface Transcription { locale?: string; + preview?: TranscriptionPreview; status?: string; } +export interface TranscriptionPreview { + content?: string; + has_more?: boolean; +} + export interface Attachment { actions?: Action[]; app_id?: string; @@ -759,7 +766,7 @@ export interface Attachment { msg_subtype?: string; original_url?: string; pretext?: string; - preview?: Preview; + preview?: AttachmentPreview; service_icon?: string; service_name?: string; service_url?: string; @@ -1276,7 +1283,7 @@ export interface AttachmentMetadata { thumb_tiny?: string; } -export interface Preview { +export interface AttachmentPreview { can_remove?: boolean; icon_url?: string; subtitle?: DescriptionElement; diff --git a/src_deno/client/generated-response/ConversationsOpenResponse.ts b/src_deno/client/generated-response/ConversationsOpenResponse.ts index ee6a2c1..d928acb 100644 --- a/src_deno/client/generated-response/ConversationsOpenResponse.ts +++ b/src_deno/client/generated-response/ConversationsOpenResponse.ts @@ -657,6 +657,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -696,9 +697,15 @@ export interface Private { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } +export interface Preview { + content?: string; + has_more?: boolean; +} + export interface BotProfile { app_id?: string; deleted?: boolean; diff --git a/src_deno/client/generated-response/ConversationsRepliesResponse.ts b/src_deno/client/generated-response/ConversationsRepliesResponse.ts index 145102c..e31cf86 100644 --- a/src_deno/client/generated-response/ConversationsRepliesResponse.ts +++ b/src_deno/client/generated-response/ConversationsRepliesResponse.ts @@ -655,6 +655,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -694,9 +695,15 @@ export interface Private { export interface Transcription { locale?: string; + preview?: TranscriptionPreview; status?: string; } +export interface TranscriptionPreview { + content?: string; + has_more?: boolean; +} + export interface Attachment { actions?: Action[]; app_id?: string; @@ -748,7 +755,7 @@ export interface Attachment { msg_subtype?: string; original_url?: string; pretext?: string; - preview?: Preview; + preview?: AttachmentPreview; service_icon?: string; service_name?: string; service_url?: string; @@ -1265,7 +1272,7 @@ export interface AttachmentMetadata { thumb_tiny?: string; } -export interface Preview { +export interface AttachmentPreview { can_remove?: boolean; icon_url?: string; subtitle?: DescriptionElement; diff --git a/src_deno/client/generated-response/FilesInfoResponse.ts b/src_deno/client/generated-response/FilesInfoResponse.ts index 10e9d51..cc2bb4b 100644 --- a/src_deno/client/generated-response/FilesInfoResponse.ts +++ b/src_deno/client/generated-response/FilesInfoResponse.ts @@ -312,6 +312,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -543,9 +544,15 @@ export interface CustomizableInputParameter { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } +export interface Preview { + content?: string; + has_more?: boolean; +} + export interface Paging { count?: number; page?: number; diff --git a/src_deno/client/generated-response/FilesListResponse.ts b/src_deno/client/generated-response/FilesListResponse.ts index 07bdc5f..a2cfc24 100644 --- a/src_deno/client/generated-response/FilesListResponse.ts +++ b/src_deno/client/generated-response/FilesListResponse.ts @@ -306,6 +306,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -537,9 +538,15 @@ export interface CustomizableInputParameter { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } +export interface Preview { + content?: string; + has_more?: boolean; +} + export interface Paging { count?: number; page?: number; diff --git a/src_deno/client/generated-response/FilesRemoteAddResponse.ts b/src_deno/client/generated-response/FilesRemoteAddResponse.ts index 1760783..58173ee 100644 --- a/src_deno/client/generated-response/FilesRemoteAddResponse.ts +++ b/src_deno/client/generated-response/FilesRemoteAddResponse.ts @@ -305,6 +305,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -536,5 +537,11 @@ export interface CustomizableInputParameter { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } + +export interface Preview { + content?: string; + has_more?: boolean; +} diff --git a/src_deno/client/generated-response/FilesRemoteInfoResponse.ts b/src_deno/client/generated-response/FilesRemoteInfoResponse.ts index 4ab5747..ff4891d 100644 --- a/src_deno/client/generated-response/FilesRemoteInfoResponse.ts +++ b/src_deno/client/generated-response/FilesRemoteInfoResponse.ts @@ -305,6 +305,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -536,5 +537,11 @@ export interface CustomizableInputParameter { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } + +export interface Preview { + content?: string; + has_more?: boolean; +} diff --git a/src_deno/client/generated-response/FilesRemoteListResponse.ts b/src_deno/client/generated-response/FilesRemoteListResponse.ts index 471fbe1..a0d438b 100644 --- a/src_deno/client/generated-response/FilesRemoteListResponse.ts +++ b/src_deno/client/generated-response/FilesRemoteListResponse.ts @@ -306,6 +306,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -537,9 +538,15 @@ export interface CustomizableInputParameter { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } +export interface Preview { + content?: string; + has_more?: boolean; +} + export interface ResponseMetadata { next_cursor?: string; } diff --git a/src_deno/client/generated-response/FilesRemoteShareResponse.ts b/src_deno/client/generated-response/FilesRemoteShareResponse.ts index 13b4745..cfd1b1e 100644 --- a/src_deno/client/generated-response/FilesRemoteShareResponse.ts +++ b/src_deno/client/generated-response/FilesRemoteShareResponse.ts @@ -305,6 +305,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -536,5 +537,11 @@ export interface CustomizableInputParameter { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } + +export interface Preview { + content?: string; + has_more?: boolean; +} diff --git a/src_deno/client/generated-response/FilesRemoteUpdateResponse.ts b/src_deno/client/generated-response/FilesRemoteUpdateResponse.ts index 43b89ef..87e0f77 100644 --- a/src_deno/client/generated-response/FilesRemoteUpdateResponse.ts +++ b/src_deno/client/generated-response/FilesRemoteUpdateResponse.ts @@ -305,6 +305,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -536,5 +537,11 @@ export interface CustomizableInputParameter { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } + +export interface Preview { + content?: string; + has_more?: boolean; +} diff --git a/src_deno/client/generated-response/FilesRevokePublicURLResponse.ts b/src_deno/client/generated-response/FilesRevokePublicURLResponse.ts index 9a45fcc..456b2ea 100644 --- a/src_deno/client/generated-response/FilesRevokePublicURLResponse.ts +++ b/src_deno/client/generated-response/FilesRevokePublicURLResponse.ts @@ -305,6 +305,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -536,5 +537,11 @@ export interface CustomizableInputParameter { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } + +export interface Preview { + content?: string; + has_more?: boolean; +} diff --git a/src_deno/client/generated-response/FilesSharedPublicURLResponse.ts b/src_deno/client/generated-response/FilesSharedPublicURLResponse.ts index b3d8f8c..fc69146 100644 --- a/src_deno/client/generated-response/FilesSharedPublicURLResponse.ts +++ b/src_deno/client/generated-response/FilesSharedPublicURLResponse.ts @@ -305,6 +305,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -536,5 +537,11 @@ export interface CustomizableInputParameter { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } + +export interface Preview { + content?: string; + has_more?: boolean; +} diff --git a/src_deno/client/generated-response/FilesUploadResponse.ts b/src_deno/client/generated-response/FilesUploadResponse.ts index d9d1d59..6607f07 100644 --- a/src_deno/client/generated-response/FilesUploadResponse.ts +++ b/src_deno/client/generated-response/FilesUploadResponse.ts @@ -305,6 +305,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -536,5 +537,11 @@ export interface CustomizableInputParameter { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } + +export interface Preview { + content?: string; + has_more?: boolean; +} diff --git a/src_deno/client/generated-response/PinsListResponse.ts b/src_deno/client/generated-response/PinsListResponse.ts index c421362..84d0840 100644 --- a/src_deno/client/generated-response/PinsListResponse.ts +++ b/src_deno/client/generated-response/PinsListResponse.ts @@ -313,6 +313,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -544,5 +545,11 @@ export interface CustomizableInputParameter { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } + +export interface Preview { + content?: string; + has_more?: boolean; +} diff --git a/src_deno/client/generated-response/ReactionsGetResponse.ts b/src_deno/client/generated-response/ReactionsGetResponse.ts index 783ecff..ce68cc4 100644 --- a/src_deno/client/generated-response/ReactionsGetResponse.ts +++ b/src_deno/client/generated-response/ReactionsGetResponse.ts @@ -641,6 +641,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -680,9 +681,15 @@ export interface Private { export interface Transcription { locale?: string; + preview?: Preview; status?: string; } +export interface Preview { + content?: string; + has_more?: boolean; +} + export interface BotProfile { app_id?: string; deleted?: boolean; diff --git a/src_deno/client/generated-response/ReactionsListResponse.ts b/src_deno/client/generated-response/ReactionsListResponse.ts index 6870a54..c1fe870 100644 --- a/src_deno/client/generated-response/ReactionsListResponse.ts +++ b/src_deno/client/generated-response/ReactionsListResponse.ts @@ -667,6 +667,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -706,9 +707,15 @@ export interface Private { export interface Transcription { locale?: string; + preview?: TranscriptionPreview; status?: string; } +export interface TranscriptionPreview { + content?: string; + has_more?: boolean; +} + export interface Attachment { actions?: Action[]; app_id?: string; @@ -760,7 +767,7 @@ export interface Attachment { msg_subtype?: string; original_url?: string; pretext?: string; - preview?: Preview; + preview?: AttachmentPreview; service_icon?: string; service_name?: string; service_url?: string; @@ -1280,7 +1287,7 @@ export interface AttachmentMetadata { thumb_tiny?: string; } -export interface Preview { +export interface AttachmentPreview { can_remove?: boolean; icon_url?: string; subtitle?: DescriptionElement; diff --git a/src_deno/client/generated-response/SearchAllResponse.ts b/src_deno/client/generated-response/SearchAllResponse.ts index 77b7675..455d0e1 100644 --- a/src_deno/client/generated-response/SearchAllResponse.ts +++ b/src_deno/client/generated-response/SearchAllResponse.ts @@ -39,7 +39,7 @@ export interface FilesMatch { dm_mpdm_users_with_file_access?: DmMpdmUsersWithFileAccess[]; edit_link?: string; editable?: boolean; - editors?: LastEditor[]; + editors?: string[]; editors_count?: number; external_id?: string; external_type?: string; @@ -183,7 +183,7 @@ export interface Attachment { msg_subtype?: string; original_url?: string; pretext?: string; - preview?: Preview; + preview?: AttachmentPreview; service_icon?: string; service_name?: string; service_url?: string; @@ -770,6 +770,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -819,9 +820,15 @@ export enum Ts { export interface Transcription { locale?: string; + preview?: TranscriptionPreview; status?: string; } +export interface TranscriptionPreview { + content?: string; + has_more?: boolean; +} + export interface List { channels?: string[]; comments_count?: number; @@ -1287,7 +1294,7 @@ export interface AttachmentMetadata { thumb_tiny?: string; } -export interface Preview { +export interface AttachmentPreview { can_remove?: boolean; icon_url?: string; subtitle?: DescriptionElement; diff --git a/src_deno/client/generated-response/SearchFilesResponse.ts b/src_deno/client/generated-response/SearchFilesResponse.ts index 5cc21e4..b0e9c2d 100644 --- a/src_deno/client/generated-response/SearchFilesResponse.ts +++ b/src_deno/client/generated-response/SearchFilesResponse.ts @@ -37,7 +37,7 @@ export interface Match { dm_mpdm_users_with_file_access?: DmMpdmUsersWithFileAccess[]; edit_link?: string; editable?: boolean; - editors?: LastEditor[]; + editors?: string[]; editors_count?: number; external_id?: string; external_type?: string; @@ -181,7 +181,7 @@ export interface Attachment { msg_subtype?: string; original_url?: string; pretext?: string; - preview?: Preview; + preview?: AttachmentPreview; service_icon?: string; service_name?: string; service_url?: string; @@ -749,6 +749,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -798,9 +799,15 @@ export enum Ts { export interface Transcription { locale?: string; + preview?: TranscriptionPreview; status?: string; } +export interface TranscriptionPreview { + content?: string; + has_more?: boolean; +} + export interface List { channels?: string[]; comments_count?: number; @@ -1266,7 +1273,7 @@ export interface AttachmentMetadata { thumb_tiny?: string; } -export interface Preview { +export interface AttachmentPreview { can_remove?: boolean; icon_url?: string; subtitle?: DescriptionElement; diff --git a/src_deno/client/generated-response/SearchMessagesResponse.ts b/src_deno/client/generated-response/SearchMessagesResponse.ts index b00386b..e352d8f 100644 --- a/src_deno/client/generated-response/SearchMessagesResponse.ts +++ b/src_deno/client/generated-response/SearchMessagesResponse.ts @@ -93,7 +93,7 @@ export interface Attachment { msg_subtype?: string; original_url?: string; pretext?: string; - preview?: Preview; + preview?: AttachmentPreview; service_icon?: string; service_name?: string; service_url?: string; @@ -675,6 +675,7 @@ export interface Column { export interface MediaProgress { duration_ms?: number; max_offset_ms?: number; + media_watched?: boolean; offset_ms?: number; } @@ -714,9 +715,15 @@ export interface Private { export interface Transcription { locale?: string; + preview?: TranscriptionPreview; status?: string; } +export interface TranscriptionPreview { + content?: string; + has_more?: boolean; +} + export interface List { channels?: string[]; comments_count?: number; @@ -1182,7 +1189,7 @@ export interface AttachmentMetadata { thumb_tiny?: string; } -export interface Preview { +export interface AttachmentPreview { can_remove?: boolean; icon_url?: string; subtitle?: DescriptionElement;