From c0c80ffbcbc4583fc9fa41567118cf126497293e Mon Sep 17 00:00:00 2001 From: Kazuhiro Sera Date: Wed, 30 Oct 2024 15:51:30 +0900 Subject: [PATCH] Generate web api responses --- package-lock.json | 9 +++++---- package.json | 2 +- src/client/generated-response/ChatPostMessageResponse.ts | 2 ++ .../generated-response/ChatScheduleMessageResponse.ts | 1 + src/client/generated-response/ChatUpdateResponse.ts | 1 + .../generated-response/ConversationsHistoryResponse.ts | 2 ++ .../generated-response/ConversationsOpenResponse.ts | 1 + .../generated-response/ConversationsRepliesResponse.ts | 2 ++ src/client/generated-response/FilesInfoResponse.ts | 1 + src/client/generated-response/FilesListResponse.ts | 1 + src/client/generated-response/FilesRemoteAddResponse.ts | 1 + src/client/generated-response/FilesRemoteInfoResponse.ts | 1 + src/client/generated-response/FilesRemoteListResponse.ts | 1 + .../generated-response/FilesRemoteShareResponse.ts | 1 + .../generated-response/FilesRemoteUpdateResponse.ts | 1 + .../generated-response/FilesRevokePublicURLResponse.ts | 1 + .../generated-response/FilesSharedPublicURLResponse.ts | 1 + src/client/generated-response/FilesUploadResponse.ts | 1 + src/client/generated-response/PinsListResponse.ts | 1 + src/client/generated-response/ReactionsGetResponse.ts | 1 + src/client/generated-response/ReactionsListResponse.ts | 2 ++ src/client/generated-response/SearchAllResponse.ts | 2 ++ src/client/generated-response/SearchFilesResponse.ts | 2 ++ src/client/generated-response/SearchMessagesResponse.ts | 2 ++ .../client/generated-response/ChatPostMessageResponse.ts | 2 ++ .../generated-response/ChatScheduleMessageResponse.ts | 1 + src_deno/client/generated-response/ChatUpdateResponse.ts | 1 + .../generated-response/ConversationsHistoryResponse.ts | 2 ++ .../generated-response/ConversationsOpenResponse.ts | 1 + .../generated-response/ConversationsRepliesResponse.ts | 2 ++ src_deno/client/generated-response/FilesInfoResponse.ts | 1 + src_deno/client/generated-response/FilesListResponse.ts | 1 + .../client/generated-response/FilesRemoteAddResponse.ts | 1 + .../client/generated-response/FilesRemoteInfoResponse.ts | 1 + .../client/generated-response/FilesRemoteListResponse.ts | 1 + .../generated-response/FilesRemoteShareResponse.ts | 1 + .../generated-response/FilesRemoteUpdateResponse.ts | 1 + .../generated-response/FilesRevokePublicURLResponse.ts | 1 + .../generated-response/FilesSharedPublicURLResponse.ts | 1 + .../client/generated-response/FilesUploadResponse.ts | 1 + src_deno/client/generated-response/PinsListResponse.ts | 1 + .../client/generated-response/ReactionsGetResponse.ts | 1 + .../client/generated-response/ReactionsListResponse.ts | 2 ++ src_deno/client/generated-response/SearchAllResponse.ts | 2 ++ .../client/generated-response/SearchFilesResponse.ts | 2 ++ .../client/generated-response/SearchMessagesResponse.ts | 2 ++ 46 files changed, 64 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index c029b17..c5ba8c3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "devDependencies": { "@biomejs/biome": "^1.9.4", "@vitest/coverage-v8": "^2.1.4", - "msw": "^2.5.2", + "msw": "^2.6.0", "typescript": "^5.6.3", "vitest": "^2.1.4" } @@ -2001,9 +2001,9 @@ "license": "MIT" }, "node_modules/msw": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/msw/-/msw-2.5.2.tgz", - "integrity": "sha512-eBsFgU30NYtrfC62XzS1rdAzFK+Br0zKU4ORqD9Qliq86362DWZyPiD6FLfMgy0Ktik83DPTXmqPMz2bqwmJdA==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/msw/-/msw-2.6.0.tgz", + "integrity": "sha512-n3tx2w0MZ3H4pxY0ozrQ4sNPzK/dGtlr2cIIyuEsgq2Bhy4wvcW6ZH2w/gXM9+MEUY6HC1fWhqtcXDxVZr5Jxw==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -2013,6 +2013,7 @@ "@bundled-es-modules/tough-cookie": "^0.1.6", "@inquirer/confirm": "^5.0.0", "@mswjs/interceptors": "^0.36.5", + "@open-draft/deferred-promise": "^2.2.0", "@open-draft/until": "^2.1.0", "@types/cookie": "^0.6.0", "@types/statuses": "^2.0.4", diff --git a/package.json b/package.json index 61d7402..8aa5274 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "devDependencies": { "@biomejs/biome": "^1.9.4", "@vitest/coverage-v8": "^2.1.4", - "msw": "^2.5.2", + "msw": "^2.6.0", "typescript": "^5.6.3", "vitest": "^2.1.4" }, diff --git a/src/client/generated-response/ChatPostMessageResponse.ts b/src/client/generated-response/ChatPostMessageResponse.ts index 67676e8..5785f82 100644 --- a/src/client/generated-response/ChatPostMessageResponse.ts +++ b/src/client/generated-response/ChatPostMessageResponse.ts @@ -353,6 +353,7 @@ export interface FileElement { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -1041,6 +1042,7 @@ export interface MessageFile { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src/client/generated-response/ChatScheduleMessageResponse.ts b/src/client/generated-response/ChatScheduleMessageResponse.ts index aa80736..743c7cb 100644 --- a/src/client/generated-response/ChatScheduleMessageResponse.ts +++ b/src/client/generated-response/ChatScheduleMessageResponse.ts @@ -344,6 +344,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src/client/generated-response/ChatUpdateResponse.ts b/src/client/generated-response/ChatUpdateResponse.ts index 7c15ff6..45fc577 100644 --- a/src/client/generated-response/ChatUpdateResponse.ts +++ b/src/client/generated-response/ChatUpdateResponse.ts @@ -349,6 +349,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src/client/generated-response/ConversationsHistoryResponse.ts b/src/client/generated-response/ConversationsHistoryResponse.ts index ed8d045..5d8ba78 100644 --- a/src/client/generated-response/ConversationsHistoryResponse.ts +++ b/src/client/generated-response/ConversationsHistoryResponse.ts @@ -369,6 +369,7 @@ export interface FileElement { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -1057,6 +1058,7 @@ export interface PurpleFile { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src/client/generated-response/ConversationsOpenResponse.ts b/src/client/generated-response/ConversationsOpenResponse.ts index 1628147..7735041 100644 --- a/src/client/generated-response/ConversationsOpenResponse.ts +++ b/src/client/generated-response/ConversationsOpenResponse.ts @@ -360,6 +360,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src/client/generated-response/ConversationsRepliesResponse.ts b/src/client/generated-response/ConversationsRepliesResponse.ts index c3a1389..053f73b 100644 --- a/src/client/generated-response/ConversationsRepliesResponse.ts +++ b/src/client/generated-response/ConversationsRepliesResponse.ts @@ -358,6 +358,7 @@ export interface FileElement { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -1046,6 +1047,7 @@ export interface PurpleFile { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src/client/generated-response/FilesInfoResponse.ts b/src/client/generated-response/FilesInfoResponse.ts index 7c9077b..73621a8 100644 --- a/src/client/generated-response/FilesInfoResponse.ts +++ b/src/client/generated-response/FilesInfoResponse.ts @@ -75,6 +75,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src/client/generated-response/FilesListResponse.ts b/src/client/generated-response/FilesListResponse.ts index 09f537f..0a9479a 100644 --- a/src/client/generated-response/FilesListResponse.ts +++ b/src/client/generated-response/FilesListResponse.ts @@ -59,6 +59,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src/client/generated-response/FilesRemoteAddResponse.ts b/src/client/generated-response/FilesRemoteAddResponse.ts index 911849a..41a874b 100644 --- a/src/client/generated-response/FilesRemoteAddResponse.ts +++ b/src/client/generated-response/FilesRemoteAddResponse.ts @@ -58,6 +58,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src/client/generated-response/FilesRemoteInfoResponse.ts b/src/client/generated-response/FilesRemoteInfoResponse.ts index eb5857d..95c485b 100644 --- a/src/client/generated-response/FilesRemoteInfoResponse.ts +++ b/src/client/generated-response/FilesRemoteInfoResponse.ts @@ -58,6 +58,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src/client/generated-response/FilesRemoteListResponse.ts b/src/client/generated-response/FilesRemoteListResponse.ts index 86d8b36..dda1597 100644 --- a/src/client/generated-response/FilesRemoteListResponse.ts +++ b/src/client/generated-response/FilesRemoteListResponse.ts @@ -59,6 +59,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src/client/generated-response/FilesRemoteShareResponse.ts b/src/client/generated-response/FilesRemoteShareResponse.ts index 0ec2e7c..d0c4260 100644 --- a/src/client/generated-response/FilesRemoteShareResponse.ts +++ b/src/client/generated-response/FilesRemoteShareResponse.ts @@ -58,6 +58,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src/client/generated-response/FilesRemoteUpdateResponse.ts b/src/client/generated-response/FilesRemoteUpdateResponse.ts index 1988ee6..2b66a4c 100644 --- a/src/client/generated-response/FilesRemoteUpdateResponse.ts +++ b/src/client/generated-response/FilesRemoteUpdateResponse.ts @@ -58,6 +58,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src/client/generated-response/FilesRevokePublicURLResponse.ts b/src/client/generated-response/FilesRevokePublicURLResponse.ts index b92139a..152e8b9 100644 --- a/src/client/generated-response/FilesRevokePublicURLResponse.ts +++ b/src/client/generated-response/FilesRevokePublicURLResponse.ts @@ -58,6 +58,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src/client/generated-response/FilesSharedPublicURLResponse.ts b/src/client/generated-response/FilesSharedPublicURLResponse.ts index 01b8757..dd1e590 100644 --- a/src/client/generated-response/FilesSharedPublicURLResponse.ts +++ b/src/client/generated-response/FilesSharedPublicURLResponse.ts @@ -58,6 +58,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src/client/generated-response/FilesUploadResponse.ts b/src/client/generated-response/FilesUploadResponse.ts index 9f1f592..972e5ff 100644 --- a/src/client/generated-response/FilesUploadResponse.ts +++ b/src/client/generated-response/FilesUploadResponse.ts @@ -58,6 +58,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src/client/generated-response/PinsListResponse.ts b/src/client/generated-response/PinsListResponse.ts index fd156b8..f7420c8 100644 --- a/src/client/generated-response/PinsListResponse.ts +++ b/src/client/generated-response/PinsListResponse.ts @@ -66,6 +66,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src/client/generated-response/ReactionsGetResponse.ts b/src/client/generated-response/ReactionsGetResponse.ts index 4f86b9a..3f1ee78 100644 --- a/src/client/generated-response/ReactionsGetResponse.ts +++ b/src/client/generated-response/ReactionsGetResponse.ts @@ -344,6 +344,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src/client/generated-response/ReactionsListResponse.ts b/src/client/generated-response/ReactionsListResponse.ts index afaffd0..f5e6456 100644 --- a/src/client/generated-response/ReactionsListResponse.ts +++ b/src/client/generated-response/ReactionsListResponse.ts @@ -370,6 +370,7 @@ export interface FileElement { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -1058,6 +1059,7 @@ export interface PurpleFile { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src/client/generated-response/SearchAllResponse.ts b/src/client/generated-response/SearchAllResponse.ts index d2553c5..fbc031e 100644 --- a/src/client/generated-response/SearchAllResponse.ts +++ b/src/client/generated-response/SearchAllResponse.ts @@ -518,6 +518,7 @@ export interface FileElement { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -1068,6 +1069,7 @@ export interface MessageFile { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src/client/generated-response/SearchFilesResponse.ts b/src/client/generated-response/SearchFilesResponse.ts index de134b9..e80ec69 100644 --- a/src/client/generated-response/SearchFilesResponse.ts +++ b/src/client/generated-response/SearchFilesResponse.ts @@ -497,6 +497,7 @@ export interface FileElement { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -1047,6 +1048,7 @@ export interface MessageFile { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src/client/generated-response/SearchMessagesResponse.ts b/src/client/generated-response/SearchMessagesResponse.ts index 230b087..855b1ec 100644 --- a/src/client/generated-response/SearchMessagesResponse.ts +++ b/src/client/generated-response/SearchMessagesResponse.ts @@ -428,6 +428,7 @@ export interface FileElement { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -963,6 +964,7 @@ export interface MessageFile { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src_deno/client/generated-response/ChatPostMessageResponse.ts b/src_deno/client/generated-response/ChatPostMessageResponse.ts index 504e5b2..912d843 100644 --- a/src_deno/client/generated-response/ChatPostMessageResponse.ts +++ b/src_deno/client/generated-response/ChatPostMessageResponse.ts @@ -353,6 +353,7 @@ export interface FileElement { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -1041,6 +1042,7 @@ export interface MessageFile { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src_deno/client/generated-response/ChatScheduleMessageResponse.ts b/src_deno/client/generated-response/ChatScheduleMessageResponse.ts index bce413d..cbb42d4 100644 --- a/src_deno/client/generated-response/ChatScheduleMessageResponse.ts +++ b/src_deno/client/generated-response/ChatScheduleMessageResponse.ts @@ -344,6 +344,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src_deno/client/generated-response/ChatUpdateResponse.ts b/src_deno/client/generated-response/ChatUpdateResponse.ts index 46904a9..5f6c430 100644 --- a/src_deno/client/generated-response/ChatUpdateResponse.ts +++ b/src_deno/client/generated-response/ChatUpdateResponse.ts @@ -349,6 +349,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src_deno/client/generated-response/ConversationsHistoryResponse.ts b/src_deno/client/generated-response/ConversationsHistoryResponse.ts index 056bbbc..d9fb1f3 100644 --- a/src_deno/client/generated-response/ConversationsHistoryResponse.ts +++ b/src_deno/client/generated-response/ConversationsHistoryResponse.ts @@ -369,6 +369,7 @@ export interface FileElement { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -1057,6 +1058,7 @@ export interface PurpleFile { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src_deno/client/generated-response/ConversationsOpenResponse.ts b/src_deno/client/generated-response/ConversationsOpenResponse.ts index d928acb..4f2e434 100644 --- a/src_deno/client/generated-response/ConversationsOpenResponse.ts +++ b/src_deno/client/generated-response/ConversationsOpenResponse.ts @@ -360,6 +360,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src_deno/client/generated-response/ConversationsRepliesResponse.ts b/src_deno/client/generated-response/ConversationsRepliesResponse.ts index e31cf86..eb93e8d 100644 --- a/src_deno/client/generated-response/ConversationsRepliesResponse.ts +++ b/src_deno/client/generated-response/ConversationsRepliesResponse.ts @@ -358,6 +358,7 @@ export interface FileElement { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -1046,6 +1047,7 @@ export interface PurpleFile { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src_deno/client/generated-response/FilesInfoResponse.ts b/src_deno/client/generated-response/FilesInfoResponse.ts index cc2bb4b..d04af93 100644 --- a/src_deno/client/generated-response/FilesInfoResponse.ts +++ b/src_deno/client/generated-response/FilesInfoResponse.ts @@ -75,6 +75,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src_deno/client/generated-response/FilesListResponse.ts b/src_deno/client/generated-response/FilesListResponse.ts index a2cfc24..d915008 100644 --- a/src_deno/client/generated-response/FilesListResponse.ts +++ b/src_deno/client/generated-response/FilesListResponse.ts @@ -59,6 +59,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src_deno/client/generated-response/FilesRemoteAddResponse.ts b/src_deno/client/generated-response/FilesRemoteAddResponse.ts index 58173ee..7178ca9 100644 --- a/src_deno/client/generated-response/FilesRemoteAddResponse.ts +++ b/src_deno/client/generated-response/FilesRemoteAddResponse.ts @@ -58,6 +58,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src_deno/client/generated-response/FilesRemoteInfoResponse.ts b/src_deno/client/generated-response/FilesRemoteInfoResponse.ts index ff4891d..72e2bc1 100644 --- a/src_deno/client/generated-response/FilesRemoteInfoResponse.ts +++ b/src_deno/client/generated-response/FilesRemoteInfoResponse.ts @@ -58,6 +58,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src_deno/client/generated-response/FilesRemoteListResponse.ts b/src_deno/client/generated-response/FilesRemoteListResponse.ts index a0d438b..8b36c74 100644 --- a/src_deno/client/generated-response/FilesRemoteListResponse.ts +++ b/src_deno/client/generated-response/FilesRemoteListResponse.ts @@ -59,6 +59,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src_deno/client/generated-response/FilesRemoteShareResponse.ts b/src_deno/client/generated-response/FilesRemoteShareResponse.ts index cfd1b1e..a294bd1 100644 --- a/src_deno/client/generated-response/FilesRemoteShareResponse.ts +++ b/src_deno/client/generated-response/FilesRemoteShareResponse.ts @@ -58,6 +58,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src_deno/client/generated-response/FilesRemoteUpdateResponse.ts b/src_deno/client/generated-response/FilesRemoteUpdateResponse.ts index 87e0f77..ce767b6 100644 --- a/src_deno/client/generated-response/FilesRemoteUpdateResponse.ts +++ b/src_deno/client/generated-response/FilesRemoteUpdateResponse.ts @@ -58,6 +58,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src_deno/client/generated-response/FilesRevokePublicURLResponse.ts b/src_deno/client/generated-response/FilesRevokePublicURLResponse.ts index 456b2ea..5efa378 100644 --- a/src_deno/client/generated-response/FilesRevokePublicURLResponse.ts +++ b/src_deno/client/generated-response/FilesRevokePublicURLResponse.ts @@ -58,6 +58,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src_deno/client/generated-response/FilesSharedPublicURLResponse.ts b/src_deno/client/generated-response/FilesSharedPublicURLResponse.ts index fc69146..12e0107 100644 --- a/src_deno/client/generated-response/FilesSharedPublicURLResponse.ts +++ b/src_deno/client/generated-response/FilesSharedPublicURLResponse.ts @@ -58,6 +58,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src_deno/client/generated-response/FilesUploadResponse.ts b/src_deno/client/generated-response/FilesUploadResponse.ts index 6607f07..64ec0ab 100644 --- a/src_deno/client/generated-response/FilesUploadResponse.ts +++ b/src_deno/client/generated-response/FilesUploadResponse.ts @@ -58,6 +58,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src_deno/client/generated-response/PinsListResponse.ts b/src_deno/client/generated-response/PinsListResponse.ts index 84d0840..91562c4 100644 --- a/src_deno/client/generated-response/PinsListResponse.ts +++ b/src_deno/client/generated-response/PinsListResponse.ts @@ -66,6 +66,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src_deno/client/generated-response/ReactionsGetResponse.ts b/src_deno/client/generated-response/ReactionsGetResponse.ts index ce68cc4..40e8e62 100644 --- a/src_deno/client/generated-response/ReactionsGetResponse.ts +++ b/src_deno/client/generated-response/ReactionsGetResponse.ts @@ -344,6 +344,7 @@ export interface File { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src_deno/client/generated-response/ReactionsListResponse.ts b/src_deno/client/generated-response/ReactionsListResponse.ts index c1fe870..13ae740 100644 --- a/src_deno/client/generated-response/ReactionsListResponse.ts +++ b/src_deno/client/generated-response/ReactionsListResponse.ts @@ -370,6 +370,7 @@ export interface FileElement { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -1058,6 +1059,7 @@ export interface PurpleFile { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src_deno/client/generated-response/SearchAllResponse.ts b/src_deno/client/generated-response/SearchAllResponse.ts index 455d0e1..dd9617a 100644 --- a/src_deno/client/generated-response/SearchAllResponse.ts +++ b/src_deno/client/generated-response/SearchAllResponse.ts @@ -518,6 +518,7 @@ export interface FileElement { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -1068,6 +1069,7 @@ export interface MessageFile { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src_deno/client/generated-response/SearchFilesResponse.ts b/src_deno/client/generated-response/SearchFilesResponse.ts index b0e9c2d..18ea0c7 100644 --- a/src_deno/client/generated-response/SearchFilesResponse.ts +++ b/src_deno/client/generated-response/SearchFilesResponse.ts @@ -497,6 +497,7 @@ export interface FileElement { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -1047,6 +1048,7 @@ export interface MessageFile { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; diff --git a/src_deno/client/generated-response/SearchMessagesResponse.ts b/src_deno/client/generated-response/SearchMessagesResponse.ts index e352d8f..ec8534b 100644 --- a/src_deno/client/generated-response/SearchMessagesResponse.ts +++ b/src_deno/client/generated-response/SearchMessagesResponse.ts @@ -428,6 +428,7 @@ export interface FileElement { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number; @@ -963,6 +964,7 @@ export interface MessageFile { is_channel_space?: boolean; is_external?: boolean; is_public?: boolean; + is_restricted_sharing_enabled?: boolean; is_starred?: boolean; last_editor?: string; last_read?: number;