diff --git a/src/client/generated-response/AdminAppsApprovedListResponse.ts b/src/client/generated-response/AdminAppsApprovedListResponse.ts index 4f1af89..50e4dc8 100644 --- a/src/client/generated-response/AdminAppsApprovedListResponse.ts +++ b/src/client/generated-response/AdminAppsApprovedListResponse.ts @@ -30,6 +30,7 @@ export interface App { icons?: Icons; id?: string; is_app_directory_approved?: boolean; + is_granular_bot_app?: boolean; is_internal?: boolean; name?: string; privacy_policy_url?: string; diff --git a/src/client/generated-response/AdminAppsRequestsListResponse.ts b/src/client/generated-response/AdminAppsRequestsListResponse.ts index 5f29934..db60088 100644 --- a/src/client/generated-response/AdminAppsRequestsListResponse.ts +++ b/src/client/generated-response/AdminAppsRequestsListResponse.ts @@ -35,6 +35,7 @@ export interface App { icons?: Icons; id?: string; is_app_directory_approved?: boolean; + is_granular_bot_app?: boolean; is_internal?: boolean; name?: string; privacy_policy_url?: string; diff --git a/src/client/generated-response/AdminAppsRestrictedListResponse.ts b/src/client/generated-response/AdminAppsRestrictedListResponse.ts index 8a5ecd8..9f7e6a4 100644 --- a/src/client/generated-response/AdminAppsRestrictedListResponse.ts +++ b/src/client/generated-response/AdminAppsRestrictedListResponse.ts @@ -36,6 +36,7 @@ export interface App { icons?: Icons; id?: string; is_app_directory_approved?: boolean; + is_granular_bot_app?: boolean; is_internal?: boolean; name?: string; privacy_policy_url?: string; diff --git a/src/client/generated-response/ChatPostMessageResponse.ts b/src/client/generated-response/ChatPostMessageResponse.ts index cd86223..88328e6 100644 --- a/src/client/generated-response/ChatPostMessageResponse.ts +++ b/src/client/generated-response/ChatPostMessageResponse.ts @@ -265,7 +265,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -867,7 +867,7 @@ export interface Comment { preview_is_truncated?: boolean; public_url_shared?: boolean; size?: number; - timestamp?: string; + timestamp?: number; title?: string; url_private?: string; url_private_download?: boolean; diff --git a/src/client/generated-response/ChatScheduleMessageResponse.ts b/src/client/generated-response/ChatScheduleMessageResponse.ts index d8962e9..5747196 100644 --- a/src/client/generated-response/ChatScheduleMessageResponse.ts +++ b/src/client/generated-response/ChatScheduleMessageResponse.ts @@ -165,7 +165,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; diff --git a/src/client/generated-response/ChatUpdateResponse.ts b/src/client/generated-response/ChatUpdateResponse.ts index 8cb3180..ee7434d 100644 --- a/src/client/generated-response/ChatUpdateResponse.ts +++ b/src/client/generated-response/ChatUpdateResponse.ts @@ -170,7 +170,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; diff --git a/src/client/generated-response/ConversationsHistoryResponse.ts b/src/client/generated-response/ConversationsHistoryResponse.ts index dfd1e75..49e2153 100644 --- a/src/client/generated-response/ConversationsHistoryResponse.ts +++ b/src/client/generated-response/ConversationsHistoryResponse.ts @@ -281,7 +281,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -883,7 +883,7 @@ export interface Comment { preview_is_truncated?: boolean; public_url_shared?: boolean; size?: number; - timestamp?: string; + timestamp?: number; title?: string; url_private?: string; url_private_download?: boolean; diff --git a/src/client/generated-response/ConversationsOpenResponse.ts b/src/client/generated-response/ConversationsOpenResponse.ts index 0c13dc7..2ea19c8 100644 --- a/src/client/generated-response/ConversationsOpenResponse.ts +++ b/src/client/generated-response/ConversationsOpenResponse.ts @@ -181,7 +181,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; diff --git a/src/client/generated-response/ConversationsRepliesResponse.ts b/src/client/generated-response/ConversationsRepliesResponse.ts index 085f73f..247c340 100644 --- a/src/client/generated-response/ConversationsRepliesResponse.ts +++ b/src/client/generated-response/ConversationsRepliesResponse.ts @@ -270,7 +270,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -872,7 +872,7 @@ export interface Comment { preview_is_truncated?: boolean; public_url_shared?: boolean; size?: number; - timestamp?: string; + timestamp?: number; title?: string; url_private?: string; url_private_download?: boolean; diff --git a/src/client/generated-response/FilesInfoResponse.ts b/src/client/generated-response/FilesInfoResponse.ts index 80df3b1..81bcd41 100644 --- a/src/client/generated-response/FilesInfoResponse.ts +++ b/src/client/generated-response/FilesInfoResponse.ts @@ -471,7 +471,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src/client/generated-response/FilesListResponse.ts b/src/client/generated-response/FilesListResponse.ts index e33975e..bfb30ff 100644 --- a/src/client/generated-response/FilesListResponse.ts +++ b/src/client/generated-response/FilesListResponse.ts @@ -465,7 +465,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src/client/generated-response/FilesRemoteAddResponse.ts b/src/client/generated-response/FilesRemoteAddResponse.ts index 52249e1..5e77cc7 100644 --- a/src/client/generated-response/FilesRemoteAddResponse.ts +++ b/src/client/generated-response/FilesRemoteAddResponse.ts @@ -464,7 +464,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src/client/generated-response/FilesRemoteInfoResponse.ts b/src/client/generated-response/FilesRemoteInfoResponse.ts index 96511ff..055b642 100644 --- a/src/client/generated-response/FilesRemoteInfoResponse.ts +++ b/src/client/generated-response/FilesRemoteInfoResponse.ts @@ -464,7 +464,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src/client/generated-response/FilesRemoteListResponse.ts b/src/client/generated-response/FilesRemoteListResponse.ts index c85d77c..9a02de3 100644 --- a/src/client/generated-response/FilesRemoteListResponse.ts +++ b/src/client/generated-response/FilesRemoteListResponse.ts @@ -465,7 +465,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src/client/generated-response/FilesRemoteShareResponse.ts b/src/client/generated-response/FilesRemoteShareResponse.ts index 61e54c2..fdfb491 100644 --- a/src/client/generated-response/FilesRemoteShareResponse.ts +++ b/src/client/generated-response/FilesRemoteShareResponse.ts @@ -464,7 +464,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src/client/generated-response/FilesRemoteUpdateResponse.ts b/src/client/generated-response/FilesRemoteUpdateResponse.ts index beed86f..575bceb 100644 --- a/src/client/generated-response/FilesRemoteUpdateResponse.ts +++ b/src/client/generated-response/FilesRemoteUpdateResponse.ts @@ -464,7 +464,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src/client/generated-response/FilesRevokePublicURLResponse.ts b/src/client/generated-response/FilesRevokePublicURLResponse.ts index 247c424..2a4ab2a 100644 --- a/src/client/generated-response/FilesRevokePublicURLResponse.ts +++ b/src/client/generated-response/FilesRevokePublicURLResponse.ts @@ -464,7 +464,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src/client/generated-response/FilesSharedPublicURLResponse.ts b/src/client/generated-response/FilesSharedPublicURLResponse.ts index 979ca10..04b8f04 100644 --- a/src/client/generated-response/FilesSharedPublicURLResponse.ts +++ b/src/client/generated-response/FilesSharedPublicURLResponse.ts @@ -464,7 +464,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src/client/generated-response/FilesUploadResponse.ts b/src/client/generated-response/FilesUploadResponse.ts index b01c781..c98cd68 100644 --- a/src/client/generated-response/FilesUploadResponse.ts +++ b/src/client/generated-response/FilesUploadResponse.ts @@ -464,7 +464,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src/client/generated-response/PinsListResponse.ts b/src/client/generated-response/PinsListResponse.ts index 92e2c15..dfdebfb 100644 --- a/src/client/generated-response/PinsListResponse.ts +++ b/src/client/generated-response/PinsListResponse.ts @@ -472,7 +472,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src/client/generated-response/ReactionsGetResponse.ts b/src/client/generated-response/ReactionsGetResponse.ts index 42f0bdf..781c511 100644 --- a/src/client/generated-response/ReactionsGetResponse.ts +++ b/src/client/generated-response/ReactionsGetResponse.ts @@ -165,7 +165,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; diff --git a/src/client/generated-response/ReactionsListResponse.ts b/src/client/generated-response/ReactionsListResponse.ts index 447ada7..66118f6 100644 --- a/src/client/generated-response/ReactionsListResponse.ts +++ b/src/client/generated-response/ReactionsListResponse.ts @@ -282,7 +282,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -884,7 +884,7 @@ export interface Comment { preview_is_truncated?: boolean; public_url_shared?: boolean; size?: number; - timestamp?: string; + timestamp?: number; title?: string; url_private?: string; url_private_download?: boolean; diff --git a/src/client/generated-response/SearchAllResponse.ts b/src/client/generated-response/SearchAllResponse.ts index e8201fc..1044d34 100644 --- a/src/client/generated-response/SearchAllResponse.ts +++ b/src/client/generated-response/SearchAllResponse.ts @@ -383,7 +383,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -993,7 +993,7 @@ export interface Comment { preview_is_truncated?: boolean; public_url_shared?: boolean; size?: number; - timestamp?: string; + timestamp?: number; title?: string; url_private?: string; url_private_download?: boolean; diff --git a/src/client/generated-response/SearchFilesResponse.ts b/src/client/generated-response/SearchFilesResponse.ts index 9633f00..6385c04 100644 --- a/src/client/generated-response/SearchFilesResponse.ts +++ b/src/client/generated-response/SearchFilesResponse.ts @@ -355,7 +355,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -972,7 +972,7 @@ export interface Comment { preview_is_truncated?: boolean; public_url_shared?: boolean; size?: number; - timestamp?: string; + timestamp?: number; title?: string; url_private?: string; url_private_download?: boolean; diff --git a/src/client/generated-response/SearchMessagesResponse.ts b/src/client/generated-response/SearchMessagesResponse.ts index f5f0916..6ec4fcf 100644 --- a/src/client/generated-response/SearchMessagesResponse.ts +++ b/src/client/generated-response/SearchMessagesResponse.ts @@ -293,7 +293,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; diff --git a/src/client/generated-response/ViewsOpenResponse.ts b/src/client/generated-response/ViewsOpenResponse.ts index 89c8c75..25e0a36 100644 --- a/src/client/generated-response/ViewsOpenResponse.ts +++ b/src/client/generated-response/ViewsOpenResponse.ts @@ -199,7 +199,7 @@ export interface TentacledElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src/client/generated-response/ViewsPublishResponse.ts b/src/client/generated-response/ViewsPublishResponse.ts index 58d08c8..7671475 100644 --- a/src/client/generated-response/ViewsPublishResponse.ts +++ b/src/client/generated-response/ViewsPublishResponse.ts @@ -199,7 +199,7 @@ export interface TentacledElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src/client/generated-response/ViewsPushResponse.ts b/src/client/generated-response/ViewsPushResponse.ts index fbe4e73..fb7e671 100644 --- a/src/client/generated-response/ViewsPushResponse.ts +++ b/src/client/generated-response/ViewsPushResponse.ts @@ -199,7 +199,7 @@ export interface TentacledElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src/client/generated-response/ViewsUpdateResponse.ts b/src/client/generated-response/ViewsUpdateResponse.ts index d684bf9..1d61887 100644 --- a/src/client/generated-response/ViewsUpdateResponse.ts +++ b/src/client/generated-response/ViewsUpdateResponse.ts @@ -199,7 +199,7 @@ export interface TentacledElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src/client/request.ts b/src/client/request.ts index 22ee581..a11467a 100644 --- a/src/client/request.ts +++ b/src/client/request.ts @@ -1332,7 +1332,6 @@ export interface ViewsPushAutomationPlatformRequest extends SlackAPIRequest { view: ModalView; } - export interface ViewsPublishRequest extends SlackAPIRequest { user_id: string; view: HomeTabView; diff --git a/src_deno/client/generated-response/AdminAppsApprovedListResponse.ts b/src_deno/client/generated-response/AdminAppsApprovedListResponse.ts index a602951..3880b44 100644 --- a/src_deno/client/generated-response/AdminAppsApprovedListResponse.ts +++ b/src_deno/client/generated-response/AdminAppsApprovedListResponse.ts @@ -30,6 +30,7 @@ export interface App { icons?: Icons; id?: string; is_app_directory_approved?: boolean; + is_granular_bot_app?: boolean; is_internal?: boolean; name?: string; privacy_policy_url?: string; diff --git a/src_deno/client/generated-response/AdminAppsRequestsListResponse.ts b/src_deno/client/generated-response/AdminAppsRequestsListResponse.ts index 07b0c2c..e60e404 100644 --- a/src_deno/client/generated-response/AdminAppsRequestsListResponse.ts +++ b/src_deno/client/generated-response/AdminAppsRequestsListResponse.ts @@ -35,6 +35,7 @@ export interface App { icons?: Icons; id?: string; is_app_directory_approved?: boolean; + is_granular_bot_app?: boolean; is_internal?: boolean; name?: string; privacy_policy_url?: string; diff --git a/src_deno/client/generated-response/AdminAppsRestrictedListResponse.ts b/src_deno/client/generated-response/AdminAppsRestrictedListResponse.ts index d057a1f..08ef0b2 100644 --- a/src_deno/client/generated-response/AdminAppsRestrictedListResponse.ts +++ b/src_deno/client/generated-response/AdminAppsRestrictedListResponse.ts @@ -36,6 +36,7 @@ export interface App { icons?: Icons; id?: string; is_app_directory_approved?: boolean; + is_granular_bot_app?: boolean; is_internal?: boolean; name?: string; privacy_policy_url?: string; diff --git a/src_deno/client/generated-response/ChatPostMessageResponse.ts b/src_deno/client/generated-response/ChatPostMessageResponse.ts index ec9da30..6ef5492 100644 --- a/src_deno/client/generated-response/ChatPostMessageResponse.ts +++ b/src_deno/client/generated-response/ChatPostMessageResponse.ts @@ -265,7 +265,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -867,7 +867,7 @@ export interface Comment { preview_is_truncated?: boolean; public_url_shared?: boolean; size?: number; - timestamp?: string; + timestamp?: number; title?: string; url_private?: string; url_private_download?: boolean; diff --git a/src_deno/client/generated-response/ChatScheduleMessageResponse.ts b/src_deno/client/generated-response/ChatScheduleMessageResponse.ts index 835ca28..75ea1e3 100644 --- a/src_deno/client/generated-response/ChatScheduleMessageResponse.ts +++ b/src_deno/client/generated-response/ChatScheduleMessageResponse.ts @@ -165,7 +165,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; diff --git a/src_deno/client/generated-response/ChatUpdateResponse.ts b/src_deno/client/generated-response/ChatUpdateResponse.ts index 37dbca6..555b7dd 100644 --- a/src_deno/client/generated-response/ChatUpdateResponse.ts +++ b/src_deno/client/generated-response/ChatUpdateResponse.ts @@ -170,7 +170,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; diff --git a/src_deno/client/generated-response/ConversationsHistoryResponse.ts b/src_deno/client/generated-response/ConversationsHistoryResponse.ts index e44ee56..450ec0b 100644 --- a/src_deno/client/generated-response/ConversationsHistoryResponse.ts +++ b/src_deno/client/generated-response/ConversationsHistoryResponse.ts @@ -281,7 +281,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -883,7 +883,7 @@ export interface Comment { preview_is_truncated?: boolean; public_url_shared?: boolean; size?: number; - timestamp?: string; + timestamp?: number; title?: string; url_private?: string; url_private_download?: boolean; diff --git a/src_deno/client/generated-response/ConversationsOpenResponse.ts b/src_deno/client/generated-response/ConversationsOpenResponse.ts index 64a54c1..b2ccf13 100644 --- a/src_deno/client/generated-response/ConversationsOpenResponse.ts +++ b/src_deno/client/generated-response/ConversationsOpenResponse.ts @@ -181,7 +181,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; diff --git a/src_deno/client/generated-response/ConversationsRepliesResponse.ts b/src_deno/client/generated-response/ConversationsRepliesResponse.ts index a4aa9f2..1b1ee9f 100644 --- a/src_deno/client/generated-response/ConversationsRepliesResponse.ts +++ b/src_deno/client/generated-response/ConversationsRepliesResponse.ts @@ -270,7 +270,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -872,7 +872,7 @@ export interface Comment { preview_is_truncated?: boolean; public_url_shared?: boolean; size?: number; - timestamp?: string; + timestamp?: number; title?: string; url_private?: string; url_private_download?: boolean; diff --git a/src_deno/client/generated-response/FilesInfoResponse.ts b/src_deno/client/generated-response/FilesInfoResponse.ts index e4b866c..10e9d51 100644 --- a/src_deno/client/generated-response/FilesInfoResponse.ts +++ b/src_deno/client/generated-response/FilesInfoResponse.ts @@ -471,7 +471,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src_deno/client/generated-response/FilesListResponse.ts b/src_deno/client/generated-response/FilesListResponse.ts index 570ceb7..07bdc5f 100644 --- a/src_deno/client/generated-response/FilesListResponse.ts +++ b/src_deno/client/generated-response/FilesListResponse.ts @@ -465,7 +465,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src_deno/client/generated-response/FilesRemoteAddResponse.ts b/src_deno/client/generated-response/FilesRemoteAddResponse.ts index 6ed9997..1760783 100644 --- a/src_deno/client/generated-response/FilesRemoteAddResponse.ts +++ b/src_deno/client/generated-response/FilesRemoteAddResponse.ts @@ -464,7 +464,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src_deno/client/generated-response/FilesRemoteInfoResponse.ts b/src_deno/client/generated-response/FilesRemoteInfoResponse.ts index d50758e..4ab5747 100644 --- a/src_deno/client/generated-response/FilesRemoteInfoResponse.ts +++ b/src_deno/client/generated-response/FilesRemoteInfoResponse.ts @@ -464,7 +464,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src_deno/client/generated-response/FilesRemoteListResponse.ts b/src_deno/client/generated-response/FilesRemoteListResponse.ts index 774ce08..471fbe1 100644 --- a/src_deno/client/generated-response/FilesRemoteListResponse.ts +++ b/src_deno/client/generated-response/FilesRemoteListResponse.ts @@ -465,7 +465,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src_deno/client/generated-response/FilesRemoteShareResponse.ts b/src_deno/client/generated-response/FilesRemoteShareResponse.ts index 914388a..13b4745 100644 --- a/src_deno/client/generated-response/FilesRemoteShareResponse.ts +++ b/src_deno/client/generated-response/FilesRemoteShareResponse.ts @@ -464,7 +464,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src_deno/client/generated-response/FilesRemoteUpdateResponse.ts b/src_deno/client/generated-response/FilesRemoteUpdateResponse.ts index bf486ec..43b89ef 100644 --- a/src_deno/client/generated-response/FilesRemoteUpdateResponse.ts +++ b/src_deno/client/generated-response/FilesRemoteUpdateResponse.ts @@ -464,7 +464,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src_deno/client/generated-response/FilesRevokePublicURLResponse.ts b/src_deno/client/generated-response/FilesRevokePublicURLResponse.ts index 28658c9..9a45fcc 100644 --- a/src_deno/client/generated-response/FilesRevokePublicURLResponse.ts +++ b/src_deno/client/generated-response/FilesRevokePublicURLResponse.ts @@ -464,7 +464,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src_deno/client/generated-response/FilesSharedPublicURLResponse.ts b/src_deno/client/generated-response/FilesSharedPublicURLResponse.ts index 8d901f0..b3d8f8c 100644 --- a/src_deno/client/generated-response/FilesSharedPublicURLResponse.ts +++ b/src_deno/client/generated-response/FilesSharedPublicURLResponse.ts @@ -464,7 +464,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src_deno/client/generated-response/FilesUploadResponse.ts b/src_deno/client/generated-response/FilesUploadResponse.ts index fee5c45..d9d1d59 100644 --- a/src_deno/client/generated-response/FilesUploadResponse.ts +++ b/src_deno/client/generated-response/FilesUploadResponse.ts @@ -464,7 +464,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src_deno/client/generated-response/PinsListResponse.ts b/src_deno/client/generated-response/PinsListResponse.ts index a62ecac..c421362 100644 --- a/src_deno/client/generated-response/PinsListResponse.ts +++ b/src_deno/client/generated-response/PinsListResponse.ts @@ -472,7 +472,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src_deno/client/generated-response/ReactionsGetResponse.ts b/src_deno/client/generated-response/ReactionsGetResponse.ts index 0912805..a916e54 100644 --- a/src_deno/client/generated-response/ReactionsGetResponse.ts +++ b/src_deno/client/generated-response/ReactionsGetResponse.ts @@ -165,7 +165,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; diff --git a/src_deno/client/generated-response/ReactionsListResponse.ts b/src_deno/client/generated-response/ReactionsListResponse.ts index deaa5a8..326c316 100644 --- a/src_deno/client/generated-response/ReactionsListResponse.ts +++ b/src_deno/client/generated-response/ReactionsListResponse.ts @@ -282,7 +282,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -884,7 +884,7 @@ export interface Comment { preview_is_truncated?: boolean; public_url_shared?: boolean; size?: number; - timestamp?: string; + timestamp?: number; title?: string; url_private?: string; url_private_download?: boolean; diff --git a/src_deno/client/generated-response/SearchAllResponse.ts b/src_deno/client/generated-response/SearchAllResponse.ts index 73a28ef..1c2c2d8 100644 --- a/src_deno/client/generated-response/SearchAllResponse.ts +++ b/src_deno/client/generated-response/SearchAllResponse.ts @@ -383,7 +383,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -993,7 +993,7 @@ export interface Comment { preview_is_truncated?: boolean; public_url_shared?: boolean; size?: number; - timestamp?: string; + timestamp?: number; title?: string; url_private?: string; url_private_download?: boolean; diff --git a/src_deno/client/generated-response/SearchFilesResponse.ts b/src_deno/client/generated-response/SearchFilesResponse.ts index 2a09202..c0fc51d 100644 --- a/src_deno/client/generated-response/SearchFilesResponse.ts +++ b/src_deno/client/generated-response/SearchFilesResponse.ts @@ -355,7 +355,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; @@ -972,7 +972,7 @@ export interface Comment { preview_is_truncated?: boolean; public_url_shared?: boolean; size?: number; - timestamp?: string; + timestamp?: number; title?: string; url_private?: string; url_private_download?: boolean; diff --git a/src_deno/client/generated-response/SearchMessagesResponse.ts b/src_deno/client/generated-response/SearchMessagesResponse.ts index d9afbe4..2477dbc 100644 --- a/src_deno/client/generated-response/SearchMessagesResponse.ts +++ b/src_deno/client/generated-response/SearchMessagesResponse.ts @@ -293,7 +293,7 @@ export interface PurpleElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: PurpleType; unicode?: string; unsafe?: boolean; diff --git a/src_deno/client/generated-response/ViewsOpenResponse.ts b/src_deno/client/generated-response/ViewsOpenResponse.ts index 6eb8da7..476a530 100644 --- a/src_deno/client/generated-response/ViewsOpenResponse.ts +++ b/src_deno/client/generated-response/ViewsOpenResponse.ts @@ -199,7 +199,7 @@ export interface TentacledElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src_deno/client/generated-response/ViewsPublishResponse.ts b/src_deno/client/generated-response/ViewsPublishResponse.ts index acf64a1..ef1b574 100644 --- a/src_deno/client/generated-response/ViewsPublishResponse.ts +++ b/src_deno/client/generated-response/ViewsPublishResponse.ts @@ -199,7 +199,7 @@ export interface TentacledElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src_deno/client/generated-response/ViewsPushResponse.ts b/src_deno/client/generated-response/ViewsPushResponse.ts index 08c9072..b6b6ac0 100644 --- a/src_deno/client/generated-response/ViewsPushResponse.ts +++ b/src_deno/client/generated-response/ViewsPushResponse.ts @@ -199,7 +199,7 @@ export interface TentacledElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/src_deno/client/generated-response/ViewsUpdateResponse.ts b/src_deno/client/generated-response/ViewsUpdateResponse.ts index 73fba83..47dd734 100644 --- a/src_deno/client/generated-response/ViewsUpdateResponse.ts +++ b/src_deno/client/generated-response/ViewsUpdateResponse.ts @@ -199,7 +199,7 @@ export interface TentacledElement { style?: Style; team_id?: string; text?: string; - timestamp?: string; + timestamp?: number; type?: ElementType; unicode?: string; unsafe?: boolean; diff --git a/test/errors.test.ts b/test/errors.test.ts index 5ec0273..9396861 100644 --- a/test/errors.test.ts +++ b/test/errors.test.ts @@ -12,7 +12,7 @@ describe("Errors", () => { assert.equal(response.error, error.error); }); test("TokenRotationError", async () => { - const error = new TokenRotationError("error"); + const error = new TokenRotationError("error", new Error()); assert.equal("error", error.message); }); test("WebhookError", async () => {