@bubblelab/bubble-core 0.1.11 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bubble-bundle.d.ts +183 -117
- package/dist/bubble-factory.d.ts +2 -3
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +28 -96
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.d.ts +14 -14
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +3 -6
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify.d.ts +5 -5
- package/dist/bubbles/service-bubble/apify/apify.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify.js +20 -8
- package/dist/bubbles/service-bubble/apify/apify.js.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +542 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.integration.flow.d.ts +37 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.integration.flow.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.integration.flow.js +203 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.integration.flow.js.map +1 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.js +593 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.js.map +1 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +518 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js +311 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/browserbase/index.d.ts +3 -0
- package/dist/bubbles/service-bubble/browserbase/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/browserbase/index.js +3 -0
- package/dist/bubbles/service-bubble/browserbase/index.js.map +1 -0
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +1358 -0
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/crustdata/crustdata.js +219 -0
- package/dist/bubbles/service-bubble/crustdata/crustdata.js.map +1 -0
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +1604 -0
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.js +194 -0
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/crustdata/index.d.ts +3 -0
- package/dist/bubbles/service-bubble/crustdata/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/crustdata/index.js +3 -0
- package/dist/bubbles/service-bubble/crustdata/index.js.map +1 -0
- package/dist/bubbles/service-bubble/firecrawl.d.ts +4 -4
- package/dist/bubbles/service-bubble/firecrawl.js +1 -1
- package/dist/bubbles/service-bubble/firecrawl.js.map +1 -1
- package/dist/bubbles/service-bubble/github.d.ts +0 -6
- package/dist/bubbles/service-bubble/github.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/github.js +1 -7
- package/dist/bubbles/service-bubble/github.js.map +1 -1
- package/dist/bubbles/service-bubble/gmail.d.ts +84 -84
- package/dist/bubbles/service-bubble/google-drive.d.ts +32 -32
- package/dist/bubbles/service-bubble/http.d.ts +13 -1
- package/dist/bubbles/service-bubble/http.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/http.integration.flow.d.ts +49 -0
- package/dist/bubbles/service-bubble/http.integration.flow.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/http.integration.flow.js +425 -0
- package/dist/bubbles/service-bubble/http.integration.flow.js.map +1 -0
- package/dist/bubbles/service-bubble/http.js +40 -4
- package/dist/bubbles/service-bubble/http.js.map +1 -1
- package/dist/bubbles/service-bubble/resend.d.ts +4 -4
- package/dist/bubbles/service-bubble/slack.d.ts +978 -35
- package/dist/bubbles/service-bubble/slack.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/slack.js +320 -26
- package/dist/bubbles/service-bubble/slack.js.map +1 -1
- package/dist/bubbles/service-bubble/storage.d.ts +1 -1
- package/dist/bubbles/service-bubble/storage.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/storage.js +2 -2
- package/dist/bubbles/service-bubble/storage.js.map +1 -1
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +494 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.integration.flow.d.ts +31 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.integration.flow.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.integration.flow.js +100 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.integration.flow.js.map +1 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.js +1301 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +473 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.js +230 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/index.d.ts +3 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/index.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/index.js +3 -0
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/index.js.map +1 -0
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +740 -0
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/company-enrichment-tool.js +350 -0
- package/dist/bubbles/tool-bubble/company-enrichment-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +146 -0
- package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/get-trigger-detail-tool.js +128 -0
- package/dist/bubbles/tool-bubble/get-trigger-detail-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/google-maps-tool.js +1 -0
- package/dist/bubbles/tool-bubble/google-maps-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/instagram-tool.js +2 -0
- package/dist/bubbles/tool-bubble/instagram-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +6 -6
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/linkedin-tool.js +6 -4
- package/dist/bubbles/tool-bubble/linkedin-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/research-agent-tool.js +6 -1
- package/dist/bubbles/tool-bubble/research-agent-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/twitter-tool.js +3 -0
- package/dist/bubbles/tool-bubble/twitter-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +6 -6
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/web-scrape-tool.js +4 -1
- package/dist/bubbles/tool-bubble/web-scrape-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/youtube-tool.js +3 -0
- package/dist/bubbles/tool-bubble/youtube-tool.js.map +1 -1
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +8 -8
- package/dist/bubbles.json +64 -15
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/logging/BubbleLogger.d.ts +10 -0
- package/dist/logging/BubbleLogger.d.ts.map +1 -1
- package/dist/logging/BubbleLogger.js +14 -0
- package/dist/logging/BubbleLogger.js.map +1 -1
- package/dist/logging/StreamingBubbleLogger.d.ts +8 -0
- package/dist/logging/StreamingBubbleLogger.d.ts.map +1 -1
- package/dist/logging/StreamingBubbleLogger.js +29 -0
- package/dist/logging/StreamingBubbleLogger.js.map +1 -1
- package/dist/types/available-tools.d.ts +1 -1
- package/dist/types/available-tools.d.ts.map +1 -1
- package/dist/types/available-tools.js +7 -0
- package/dist/types/available-tools.js.map +1 -1
- package/dist/types/base-bubble-class.d.ts.map +1 -1
- package/dist/types/base-bubble-class.js +0 -8
- package/dist/types/base-bubble-class.js.map +1 -1
- package/dist/types/tool-bubble-class.d.ts.map +1 -1
- package/dist/types/tool-bubble-class.js +58 -8
- package/dist/types/tool-bubble-class.js.map +1 -1
- package/package.json +3 -2
|
@@ -851,6 +851,18 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
851
851
|
channel: string;
|
|
852
852
|
timestamp: string;
|
|
853
853
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
854
|
+
}>, z.ZodObject<{
|
|
855
|
+
operation: z.ZodLiteral<"join_channel">;
|
|
856
|
+
channel: z.ZodString;
|
|
857
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
858
|
+
}, "strip", z.ZodTypeAny, {
|
|
859
|
+
operation: "join_channel";
|
|
860
|
+
channel: string;
|
|
861
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
862
|
+
}, {
|
|
863
|
+
operation: "join_channel";
|
|
864
|
+
channel: string;
|
|
865
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
854
866
|
}>, z.ZodObject<{
|
|
855
867
|
operation: z.ZodLiteral<"upload_file">;
|
|
856
868
|
channel: z.ZodString;
|
|
@@ -878,6 +890,236 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
878
890
|
thread_ts?: string | undefined;
|
|
879
891
|
filename?: string | undefined;
|
|
880
892
|
initial_comment?: string | undefined;
|
|
893
|
+
}>, z.ZodObject<{
|
|
894
|
+
operation: z.ZodLiteral<"schedule_message">;
|
|
895
|
+
channel: z.ZodString;
|
|
896
|
+
text: z.ZodString;
|
|
897
|
+
post_at: z.ZodNumber;
|
|
898
|
+
thread_ts: z.ZodOptional<z.ZodString>;
|
|
899
|
+
blocks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
900
|
+
type: z.ZodString;
|
|
901
|
+
text: z.ZodOptional<z.ZodObject<{
|
|
902
|
+
type: z.ZodEnum<["plain_text", "mrkdwn"]>;
|
|
903
|
+
text: z.ZodString;
|
|
904
|
+
emoji: z.ZodOptional<z.ZodBoolean>;
|
|
905
|
+
verbatim: z.ZodOptional<z.ZodBoolean>;
|
|
906
|
+
}, "strip", z.ZodTypeAny, {
|
|
907
|
+
type: "plain_text" | "mrkdwn";
|
|
908
|
+
text: string;
|
|
909
|
+
emoji?: boolean | undefined;
|
|
910
|
+
verbatim?: boolean | undefined;
|
|
911
|
+
}, {
|
|
912
|
+
type: "plain_text" | "mrkdwn";
|
|
913
|
+
text: string;
|
|
914
|
+
emoji?: boolean | undefined;
|
|
915
|
+
verbatim?: boolean | undefined;
|
|
916
|
+
}>>;
|
|
917
|
+
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
918
|
+
type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
|
|
919
|
+
text: z.ZodOptional<z.ZodString>;
|
|
920
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
921
|
+
alt_text: z.ZodOptional<z.ZodString>;
|
|
922
|
+
emoji: z.ZodOptional<z.ZodBoolean>;
|
|
923
|
+
verbatim: z.ZodOptional<z.ZodBoolean>;
|
|
924
|
+
}, "strip", z.ZodTypeAny, {
|
|
925
|
+
type: "image" | "plain_text" | "mrkdwn";
|
|
926
|
+
emoji?: boolean | undefined;
|
|
927
|
+
text?: string | undefined;
|
|
928
|
+
image_url?: string | undefined;
|
|
929
|
+
verbatim?: boolean | undefined;
|
|
930
|
+
alt_text?: string | undefined;
|
|
931
|
+
}, {
|
|
932
|
+
type: "image" | "plain_text" | "mrkdwn";
|
|
933
|
+
emoji?: boolean | undefined;
|
|
934
|
+
text?: string | undefined;
|
|
935
|
+
image_url?: string | undefined;
|
|
936
|
+
verbatim?: boolean | undefined;
|
|
937
|
+
alt_text?: string | undefined;
|
|
938
|
+
}>, "many">>;
|
|
939
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
940
|
+
type: z.ZodString;
|
|
941
|
+
text: z.ZodOptional<z.ZodObject<{
|
|
942
|
+
type: z.ZodEnum<["plain_text", "mrkdwn"]>;
|
|
943
|
+
text: z.ZodString;
|
|
944
|
+
emoji: z.ZodOptional<z.ZodBoolean>;
|
|
945
|
+
verbatim: z.ZodOptional<z.ZodBoolean>;
|
|
946
|
+
}, "strip", z.ZodTypeAny, {
|
|
947
|
+
type: "plain_text" | "mrkdwn";
|
|
948
|
+
text: string;
|
|
949
|
+
emoji?: boolean | undefined;
|
|
950
|
+
verbatim?: boolean | undefined;
|
|
951
|
+
}, {
|
|
952
|
+
type: "plain_text" | "mrkdwn";
|
|
953
|
+
text: string;
|
|
954
|
+
emoji?: boolean | undefined;
|
|
955
|
+
verbatim?: boolean | undefined;
|
|
956
|
+
}>>;
|
|
957
|
+
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
958
|
+
type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
|
|
959
|
+
text: z.ZodOptional<z.ZodString>;
|
|
960
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
961
|
+
alt_text: z.ZodOptional<z.ZodString>;
|
|
962
|
+
emoji: z.ZodOptional<z.ZodBoolean>;
|
|
963
|
+
verbatim: z.ZodOptional<z.ZodBoolean>;
|
|
964
|
+
}, "strip", z.ZodTypeAny, {
|
|
965
|
+
type: "image" | "plain_text" | "mrkdwn";
|
|
966
|
+
emoji?: boolean | undefined;
|
|
967
|
+
text?: string | undefined;
|
|
968
|
+
image_url?: string | undefined;
|
|
969
|
+
verbatim?: boolean | undefined;
|
|
970
|
+
alt_text?: string | undefined;
|
|
971
|
+
}, {
|
|
972
|
+
type: "image" | "plain_text" | "mrkdwn";
|
|
973
|
+
emoji?: boolean | undefined;
|
|
974
|
+
text?: string | undefined;
|
|
975
|
+
image_url?: string | undefined;
|
|
976
|
+
verbatim?: boolean | undefined;
|
|
977
|
+
alt_text?: string | undefined;
|
|
978
|
+
}>, "many">>;
|
|
979
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
980
|
+
type: z.ZodString;
|
|
981
|
+
text: z.ZodOptional<z.ZodObject<{
|
|
982
|
+
type: z.ZodEnum<["plain_text", "mrkdwn"]>;
|
|
983
|
+
text: z.ZodString;
|
|
984
|
+
emoji: z.ZodOptional<z.ZodBoolean>;
|
|
985
|
+
verbatim: z.ZodOptional<z.ZodBoolean>;
|
|
986
|
+
}, "strip", z.ZodTypeAny, {
|
|
987
|
+
type: "plain_text" | "mrkdwn";
|
|
988
|
+
text: string;
|
|
989
|
+
emoji?: boolean | undefined;
|
|
990
|
+
verbatim?: boolean | undefined;
|
|
991
|
+
}, {
|
|
992
|
+
type: "plain_text" | "mrkdwn";
|
|
993
|
+
text: string;
|
|
994
|
+
emoji?: boolean | undefined;
|
|
995
|
+
verbatim?: boolean | undefined;
|
|
996
|
+
}>>;
|
|
997
|
+
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
998
|
+
type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
|
|
999
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1000
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
1001
|
+
alt_text: z.ZodOptional<z.ZodString>;
|
|
1002
|
+
emoji: z.ZodOptional<z.ZodBoolean>;
|
|
1003
|
+
verbatim: z.ZodOptional<z.ZodBoolean>;
|
|
1004
|
+
}, "strip", z.ZodTypeAny, {
|
|
1005
|
+
type: "image" | "plain_text" | "mrkdwn";
|
|
1006
|
+
emoji?: boolean | undefined;
|
|
1007
|
+
text?: string | undefined;
|
|
1008
|
+
image_url?: string | undefined;
|
|
1009
|
+
verbatim?: boolean | undefined;
|
|
1010
|
+
alt_text?: string | undefined;
|
|
1011
|
+
}, {
|
|
1012
|
+
type: "image" | "plain_text" | "mrkdwn";
|
|
1013
|
+
emoji?: boolean | undefined;
|
|
1014
|
+
text?: string | undefined;
|
|
1015
|
+
image_url?: string | undefined;
|
|
1016
|
+
verbatim?: boolean | undefined;
|
|
1017
|
+
alt_text?: string | undefined;
|
|
1018
|
+
}>, "many">>;
|
|
1019
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
1020
|
+
unfurl_links: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1021
|
+
unfurl_media: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1022
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1023
|
+
}, "strip", z.ZodTypeAny, {
|
|
1024
|
+
text: string;
|
|
1025
|
+
operation: "schedule_message";
|
|
1026
|
+
channel: string;
|
|
1027
|
+
unfurl_links: boolean;
|
|
1028
|
+
unfurl_media: boolean;
|
|
1029
|
+
post_at: number;
|
|
1030
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1031
|
+
blocks?: z.objectOutputType<{
|
|
1032
|
+
type: z.ZodString;
|
|
1033
|
+
text: z.ZodOptional<z.ZodObject<{
|
|
1034
|
+
type: z.ZodEnum<["plain_text", "mrkdwn"]>;
|
|
1035
|
+
text: z.ZodString;
|
|
1036
|
+
emoji: z.ZodOptional<z.ZodBoolean>;
|
|
1037
|
+
verbatim: z.ZodOptional<z.ZodBoolean>;
|
|
1038
|
+
}, "strip", z.ZodTypeAny, {
|
|
1039
|
+
type: "plain_text" | "mrkdwn";
|
|
1040
|
+
text: string;
|
|
1041
|
+
emoji?: boolean | undefined;
|
|
1042
|
+
verbatim?: boolean | undefined;
|
|
1043
|
+
}, {
|
|
1044
|
+
type: "plain_text" | "mrkdwn";
|
|
1045
|
+
text: string;
|
|
1046
|
+
emoji?: boolean | undefined;
|
|
1047
|
+
verbatim?: boolean | undefined;
|
|
1048
|
+
}>>;
|
|
1049
|
+
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1050
|
+
type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
|
|
1051
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1052
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
1053
|
+
alt_text: z.ZodOptional<z.ZodString>;
|
|
1054
|
+
emoji: z.ZodOptional<z.ZodBoolean>;
|
|
1055
|
+
verbatim: z.ZodOptional<z.ZodBoolean>;
|
|
1056
|
+
}, "strip", z.ZodTypeAny, {
|
|
1057
|
+
type: "image" | "plain_text" | "mrkdwn";
|
|
1058
|
+
emoji?: boolean | undefined;
|
|
1059
|
+
text?: string | undefined;
|
|
1060
|
+
image_url?: string | undefined;
|
|
1061
|
+
verbatim?: boolean | undefined;
|
|
1062
|
+
alt_text?: string | undefined;
|
|
1063
|
+
}, {
|
|
1064
|
+
type: "image" | "plain_text" | "mrkdwn";
|
|
1065
|
+
emoji?: boolean | undefined;
|
|
1066
|
+
text?: string | undefined;
|
|
1067
|
+
image_url?: string | undefined;
|
|
1068
|
+
verbatim?: boolean | undefined;
|
|
1069
|
+
alt_text?: string | undefined;
|
|
1070
|
+
}>, "many">>;
|
|
1071
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1072
|
+
thread_ts?: string | undefined;
|
|
1073
|
+
}, {
|
|
1074
|
+
text: string;
|
|
1075
|
+
operation: "schedule_message";
|
|
1076
|
+
channel: string;
|
|
1077
|
+
post_at: number;
|
|
1078
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1079
|
+
blocks?: z.objectInputType<{
|
|
1080
|
+
type: z.ZodString;
|
|
1081
|
+
text: z.ZodOptional<z.ZodObject<{
|
|
1082
|
+
type: z.ZodEnum<["plain_text", "mrkdwn"]>;
|
|
1083
|
+
text: z.ZodString;
|
|
1084
|
+
emoji: z.ZodOptional<z.ZodBoolean>;
|
|
1085
|
+
verbatim: z.ZodOptional<z.ZodBoolean>;
|
|
1086
|
+
}, "strip", z.ZodTypeAny, {
|
|
1087
|
+
type: "plain_text" | "mrkdwn";
|
|
1088
|
+
text: string;
|
|
1089
|
+
emoji?: boolean | undefined;
|
|
1090
|
+
verbatim?: boolean | undefined;
|
|
1091
|
+
}, {
|
|
1092
|
+
type: "plain_text" | "mrkdwn";
|
|
1093
|
+
text: string;
|
|
1094
|
+
emoji?: boolean | undefined;
|
|
1095
|
+
verbatim?: boolean | undefined;
|
|
1096
|
+
}>>;
|
|
1097
|
+
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1098
|
+
type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
|
|
1099
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1100
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
1101
|
+
alt_text: z.ZodOptional<z.ZodString>;
|
|
1102
|
+
emoji: z.ZodOptional<z.ZodBoolean>;
|
|
1103
|
+
verbatim: z.ZodOptional<z.ZodBoolean>;
|
|
1104
|
+
}, "strip", z.ZodTypeAny, {
|
|
1105
|
+
type: "image" | "plain_text" | "mrkdwn";
|
|
1106
|
+
emoji?: boolean | undefined;
|
|
1107
|
+
text?: string | undefined;
|
|
1108
|
+
image_url?: string | undefined;
|
|
1109
|
+
verbatim?: boolean | undefined;
|
|
1110
|
+
alt_text?: string | undefined;
|
|
1111
|
+
}, {
|
|
1112
|
+
type: "image" | "plain_text" | "mrkdwn";
|
|
1113
|
+
emoji?: boolean | undefined;
|
|
1114
|
+
text?: string | undefined;
|
|
1115
|
+
image_url?: string | undefined;
|
|
1116
|
+
verbatim?: boolean | undefined;
|
|
1117
|
+
alt_text?: string | undefined;
|
|
1118
|
+
}>, "many">>;
|
|
1119
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1120
|
+
thread_ts?: string | undefined;
|
|
1121
|
+
unfurl_links?: boolean | undefined;
|
|
1122
|
+
unfurl_media?: boolean | undefined;
|
|
881
1123
|
}>]>;
|
|
882
1124
|
declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
883
1125
|
operation: z.ZodLiteral<"send_message">;
|
|
@@ -924,8 +1166,8 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
924
1166
|
}, "strip", z.ZodTypeAny, {
|
|
925
1167
|
type: string;
|
|
926
1168
|
ts: string;
|
|
927
|
-
text?: string | undefined;
|
|
928
1169
|
user?: string | undefined;
|
|
1170
|
+
text?: string | undefined;
|
|
929
1171
|
username?: string | undefined;
|
|
930
1172
|
attachments?: unknown[] | undefined;
|
|
931
1173
|
blocks?: unknown[] | undefined;
|
|
@@ -949,8 +1191,8 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
949
1191
|
}, {
|
|
950
1192
|
type: string;
|
|
951
1193
|
ts: string;
|
|
952
|
-
text?: string | undefined;
|
|
953
1194
|
user?: string | undefined;
|
|
1195
|
+
text?: string | undefined;
|
|
954
1196
|
username?: string | undefined;
|
|
955
1197
|
attachments?: unknown[] | undefined;
|
|
956
1198
|
blocks?: unknown[] | undefined;
|
|
@@ -982,8 +1224,8 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
982
1224
|
message?: {
|
|
983
1225
|
type: string;
|
|
984
1226
|
ts: string;
|
|
985
|
-
text?: string | undefined;
|
|
986
1227
|
user?: string | undefined;
|
|
1228
|
+
text?: string | undefined;
|
|
987
1229
|
username?: string | undefined;
|
|
988
1230
|
attachments?: unknown[] | undefined;
|
|
989
1231
|
blocks?: unknown[] | undefined;
|
|
@@ -1015,8 +1257,8 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1015
1257
|
message?: {
|
|
1016
1258
|
type: string;
|
|
1017
1259
|
ts: string;
|
|
1018
|
-
text?: string | undefined;
|
|
1019
1260
|
user?: string | undefined;
|
|
1261
|
+
text?: string | undefined;
|
|
1020
1262
|
username?: string | undefined;
|
|
1021
1263
|
attachments?: unknown[] | undefined;
|
|
1022
1264
|
blocks?: unknown[] | undefined;
|
|
@@ -2093,8 +2335,8 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
2093
2335
|
}, "strip", z.ZodTypeAny, {
|
|
2094
2336
|
type: string;
|
|
2095
2337
|
ts: string;
|
|
2096
|
-
text?: string | undefined;
|
|
2097
2338
|
user?: string | undefined;
|
|
2339
|
+
text?: string | undefined;
|
|
2098
2340
|
username?: string | undefined;
|
|
2099
2341
|
attachments?: unknown[] | undefined;
|
|
2100
2342
|
blocks?: unknown[] | undefined;
|
|
@@ -2118,8 +2360,8 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
2118
2360
|
}, {
|
|
2119
2361
|
type: string;
|
|
2120
2362
|
ts: string;
|
|
2121
|
-
text?: string | undefined;
|
|
2122
2363
|
user?: string | undefined;
|
|
2364
|
+
text?: string | undefined;
|
|
2123
2365
|
username?: string | undefined;
|
|
2124
2366
|
attachments?: unknown[] | undefined;
|
|
2125
2367
|
blocks?: unknown[] | undefined;
|
|
@@ -2162,8 +2404,8 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
2162
2404
|
messages?: {
|
|
2163
2405
|
type: string;
|
|
2164
2406
|
ts: string;
|
|
2165
|
-
text?: string | undefined;
|
|
2166
2407
|
user?: string | undefined;
|
|
2408
|
+
text?: string | undefined;
|
|
2167
2409
|
username?: string | undefined;
|
|
2168
2410
|
attachments?: unknown[] | undefined;
|
|
2169
2411
|
blocks?: unknown[] | undefined;
|
|
@@ -2197,8 +2439,8 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
2197
2439
|
messages?: {
|
|
2198
2440
|
type: string;
|
|
2199
2441
|
ts: string;
|
|
2200
|
-
text?: string | undefined;
|
|
2201
2442
|
user?: string | undefined;
|
|
2443
|
+
text?: string | undefined;
|
|
2202
2444
|
username?: string | undefined;
|
|
2203
2445
|
attachments?: unknown[] | undefined;
|
|
2204
2446
|
blocks?: unknown[] | undefined;
|
|
@@ -2264,8 +2506,8 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
2264
2506
|
}, "strip", z.ZodTypeAny, {
|
|
2265
2507
|
type: string;
|
|
2266
2508
|
ts: string;
|
|
2267
|
-
text?: string | undefined;
|
|
2268
2509
|
user?: string | undefined;
|
|
2510
|
+
text?: string | undefined;
|
|
2269
2511
|
username?: string | undefined;
|
|
2270
2512
|
attachments?: unknown[] | undefined;
|
|
2271
2513
|
blocks?: unknown[] | undefined;
|
|
@@ -2289,8 +2531,8 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
2289
2531
|
}, {
|
|
2290
2532
|
type: string;
|
|
2291
2533
|
ts: string;
|
|
2292
|
-
text?: string | undefined;
|
|
2293
2534
|
user?: string | undefined;
|
|
2535
|
+
text?: string | undefined;
|
|
2294
2536
|
username?: string | undefined;
|
|
2295
2537
|
attachments?: unknown[] | undefined;
|
|
2296
2538
|
blocks?: unknown[] | undefined;
|
|
@@ -2333,8 +2575,8 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
2333
2575
|
messages?: {
|
|
2334
2576
|
type: string;
|
|
2335
2577
|
ts: string;
|
|
2336
|
-
text?: string | undefined;
|
|
2337
2578
|
user?: string | undefined;
|
|
2579
|
+
text?: string | undefined;
|
|
2338
2580
|
username?: string | undefined;
|
|
2339
2581
|
attachments?: unknown[] | undefined;
|
|
2340
2582
|
blocks?: unknown[] | undefined;
|
|
@@ -2368,8 +2610,8 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
2368
2610
|
messages?: {
|
|
2369
2611
|
type: string;
|
|
2370
2612
|
ts: string;
|
|
2371
|
-
text?: string | undefined;
|
|
2372
2613
|
user?: string | undefined;
|
|
2614
|
+
text?: string | undefined;
|
|
2373
2615
|
username?: string | undefined;
|
|
2374
2616
|
attachments?: unknown[] | undefined;
|
|
2375
2617
|
blocks?: unknown[] | undefined;
|
|
@@ -2438,8 +2680,8 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
2438
2680
|
}, "strip", z.ZodTypeAny, {
|
|
2439
2681
|
type: string;
|
|
2440
2682
|
ts: string;
|
|
2441
|
-
text?: string | undefined;
|
|
2442
2683
|
user?: string | undefined;
|
|
2684
|
+
text?: string | undefined;
|
|
2443
2685
|
username?: string | undefined;
|
|
2444
2686
|
attachments?: unknown[] | undefined;
|
|
2445
2687
|
blocks?: unknown[] | undefined;
|
|
@@ -2463,8 +2705,8 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
2463
2705
|
}, {
|
|
2464
2706
|
type: string;
|
|
2465
2707
|
ts: string;
|
|
2466
|
-
text?: string | undefined;
|
|
2467
2708
|
user?: string | undefined;
|
|
2709
|
+
text?: string | undefined;
|
|
2468
2710
|
username?: string | undefined;
|
|
2469
2711
|
attachments?: unknown[] | undefined;
|
|
2470
2712
|
blocks?: unknown[] | undefined;
|
|
@@ -2496,8 +2738,8 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
2496
2738
|
message?: {
|
|
2497
2739
|
type: string;
|
|
2498
2740
|
ts: string;
|
|
2499
|
-
text?: string | undefined;
|
|
2500
2741
|
user?: string | undefined;
|
|
2742
|
+
text?: string | undefined;
|
|
2501
2743
|
username?: string | undefined;
|
|
2502
2744
|
attachments?: unknown[] | undefined;
|
|
2503
2745
|
blocks?: unknown[] | undefined;
|
|
@@ -2530,8 +2772,8 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
2530
2772
|
message?: {
|
|
2531
2773
|
type: string;
|
|
2532
2774
|
ts: string;
|
|
2533
|
-
text?: string | undefined;
|
|
2534
2775
|
user?: string | undefined;
|
|
2776
|
+
text?: string | undefined;
|
|
2535
2777
|
username?: string | undefined;
|
|
2536
2778
|
attachments?: unknown[] | undefined;
|
|
2537
2779
|
blocks?: unknown[] | undefined;
|
|
@@ -2607,6 +2849,208 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
2607
2849
|
success: boolean;
|
|
2608
2850
|
operation: "remove_reaction";
|
|
2609
2851
|
ok: boolean;
|
|
2852
|
+
}>, z.ZodObject<{
|
|
2853
|
+
operation: z.ZodLiteral<"join_channel">;
|
|
2854
|
+
ok: z.ZodBoolean;
|
|
2855
|
+
channel: z.ZodOptional<z.ZodObject<{
|
|
2856
|
+
id: z.ZodString;
|
|
2857
|
+
name: z.ZodString;
|
|
2858
|
+
is_channel: z.ZodOptional<z.ZodBoolean>;
|
|
2859
|
+
is_group: z.ZodOptional<z.ZodBoolean>;
|
|
2860
|
+
is_im: z.ZodOptional<z.ZodBoolean>;
|
|
2861
|
+
is_mpim: z.ZodOptional<z.ZodBoolean>;
|
|
2862
|
+
is_private: z.ZodOptional<z.ZodBoolean>;
|
|
2863
|
+
created: z.ZodNumber;
|
|
2864
|
+
is_archived: z.ZodBoolean;
|
|
2865
|
+
is_general: z.ZodOptional<z.ZodBoolean>;
|
|
2866
|
+
unlinked: z.ZodOptional<z.ZodNumber>;
|
|
2867
|
+
name_normalized: z.ZodOptional<z.ZodString>;
|
|
2868
|
+
is_shared: z.ZodOptional<z.ZodBoolean>;
|
|
2869
|
+
is_ext_shared: z.ZodOptional<z.ZodBoolean>;
|
|
2870
|
+
is_org_shared: z.ZodOptional<z.ZodBoolean>;
|
|
2871
|
+
shared_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2872
|
+
pending_shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2873
|
+
pending_connected_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2874
|
+
is_pending_ext_shared: z.ZodOptional<z.ZodBoolean>;
|
|
2875
|
+
is_member: z.ZodOptional<z.ZodBoolean>;
|
|
2876
|
+
is_open: z.ZodOptional<z.ZodBoolean>;
|
|
2877
|
+
topic: z.ZodOptional<z.ZodObject<{
|
|
2878
|
+
value: z.ZodString;
|
|
2879
|
+
creator: z.ZodString;
|
|
2880
|
+
last_set: z.ZodNumber;
|
|
2881
|
+
}, "strip", z.ZodTypeAny, {
|
|
2882
|
+
value: string;
|
|
2883
|
+
creator: string;
|
|
2884
|
+
last_set: number;
|
|
2885
|
+
}, {
|
|
2886
|
+
value: string;
|
|
2887
|
+
creator: string;
|
|
2888
|
+
last_set: number;
|
|
2889
|
+
}>>;
|
|
2890
|
+
purpose: z.ZodOptional<z.ZodObject<{
|
|
2891
|
+
value: z.ZodString;
|
|
2892
|
+
creator: z.ZodString;
|
|
2893
|
+
last_set: z.ZodNumber;
|
|
2894
|
+
}, "strip", z.ZodTypeAny, {
|
|
2895
|
+
value: string;
|
|
2896
|
+
creator: string;
|
|
2897
|
+
last_set: number;
|
|
2898
|
+
}, {
|
|
2899
|
+
value: string;
|
|
2900
|
+
creator: string;
|
|
2901
|
+
last_set: number;
|
|
2902
|
+
}>>;
|
|
2903
|
+
num_members: z.ZodOptional<z.ZodNumber>;
|
|
2904
|
+
}, "strip", z.ZodTypeAny, {
|
|
2905
|
+
name: string;
|
|
2906
|
+
id: string;
|
|
2907
|
+
created: number;
|
|
2908
|
+
is_archived: boolean;
|
|
2909
|
+
is_channel?: boolean | undefined;
|
|
2910
|
+
is_group?: boolean | undefined;
|
|
2911
|
+
is_im?: boolean | undefined;
|
|
2912
|
+
is_mpim?: boolean | undefined;
|
|
2913
|
+
is_private?: boolean | undefined;
|
|
2914
|
+
is_general?: boolean | undefined;
|
|
2915
|
+
unlinked?: number | undefined;
|
|
2916
|
+
name_normalized?: string | undefined;
|
|
2917
|
+
is_shared?: boolean | undefined;
|
|
2918
|
+
is_ext_shared?: boolean | undefined;
|
|
2919
|
+
is_org_shared?: boolean | undefined;
|
|
2920
|
+
shared_team_ids?: string[] | undefined;
|
|
2921
|
+
pending_shared?: string[] | undefined;
|
|
2922
|
+
pending_connected_team_ids?: string[] | undefined;
|
|
2923
|
+
is_pending_ext_shared?: boolean | undefined;
|
|
2924
|
+
is_member?: boolean | undefined;
|
|
2925
|
+
is_open?: boolean | undefined;
|
|
2926
|
+
topic?: {
|
|
2927
|
+
value: string;
|
|
2928
|
+
creator: string;
|
|
2929
|
+
last_set: number;
|
|
2930
|
+
} | undefined;
|
|
2931
|
+
purpose?: {
|
|
2932
|
+
value: string;
|
|
2933
|
+
creator: string;
|
|
2934
|
+
last_set: number;
|
|
2935
|
+
} | undefined;
|
|
2936
|
+
num_members?: number | undefined;
|
|
2937
|
+
}, {
|
|
2938
|
+
name: string;
|
|
2939
|
+
id: string;
|
|
2940
|
+
created: number;
|
|
2941
|
+
is_archived: boolean;
|
|
2942
|
+
is_channel?: boolean | undefined;
|
|
2943
|
+
is_group?: boolean | undefined;
|
|
2944
|
+
is_im?: boolean | undefined;
|
|
2945
|
+
is_mpim?: boolean | undefined;
|
|
2946
|
+
is_private?: boolean | undefined;
|
|
2947
|
+
is_general?: boolean | undefined;
|
|
2948
|
+
unlinked?: number | undefined;
|
|
2949
|
+
name_normalized?: string | undefined;
|
|
2950
|
+
is_shared?: boolean | undefined;
|
|
2951
|
+
is_ext_shared?: boolean | undefined;
|
|
2952
|
+
is_org_shared?: boolean | undefined;
|
|
2953
|
+
shared_team_ids?: string[] | undefined;
|
|
2954
|
+
pending_shared?: string[] | undefined;
|
|
2955
|
+
pending_connected_team_ids?: string[] | undefined;
|
|
2956
|
+
is_pending_ext_shared?: boolean | undefined;
|
|
2957
|
+
is_member?: boolean | undefined;
|
|
2958
|
+
is_open?: boolean | undefined;
|
|
2959
|
+
topic?: {
|
|
2960
|
+
value: string;
|
|
2961
|
+
creator: string;
|
|
2962
|
+
last_set: number;
|
|
2963
|
+
} | undefined;
|
|
2964
|
+
purpose?: {
|
|
2965
|
+
value: string;
|
|
2966
|
+
creator: string;
|
|
2967
|
+
last_set: number;
|
|
2968
|
+
} | undefined;
|
|
2969
|
+
num_members?: number | undefined;
|
|
2970
|
+
}>>;
|
|
2971
|
+
already_in_channel: z.ZodOptional<z.ZodBoolean>;
|
|
2972
|
+
error: z.ZodString;
|
|
2973
|
+
success: z.ZodBoolean;
|
|
2974
|
+
}, "strip", z.ZodTypeAny, {
|
|
2975
|
+
error: string;
|
|
2976
|
+
success: boolean;
|
|
2977
|
+
operation: "join_channel";
|
|
2978
|
+
ok: boolean;
|
|
2979
|
+
channel?: {
|
|
2980
|
+
name: string;
|
|
2981
|
+
id: string;
|
|
2982
|
+
created: number;
|
|
2983
|
+
is_archived: boolean;
|
|
2984
|
+
is_channel?: boolean | undefined;
|
|
2985
|
+
is_group?: boolean | undefined;
|
|
2986
|
+
is_im?: boolean | undefined;
|
|
2987
|
+
is_mpim?: boolean | undefined;
|
|
2988
|
+
is_private?: boolean | undefined;
|
|
2989
|
+
is_general?: boolean | undefined;
|
|
2990
|
+
unlinked?: number | undefined;
|
|
2991
|
+
name_normalized?: string | undefined;
|
|
2992
|
+
is_shared?: boolean | undefined;
|
|
2993
|
+
is_ext_shared?: boolean | undefined;
|
|
2994
|
+
is_org_shared?: boolean | undefined;
|
|
2995
|
+
shared_team_ids?: string[] | undefined;
|
|
2996
|
+
pending_shared?: string[] | undefined;
|
|
2997
|
+
pending_connected_team_ids?: string[] | undefined;
|
|
2998
|
+
is_pending_ext_shared?: boolean | undefined;
|
|
2999
|
+
is_member?: boolean | undefined;
|
|
3000
|
+
is_open?: boolean | undefined;
|
|
3001
|
+
topic?: {
|
|
3002
|
+
value: string;
|
|
3003
|
+
creator: string;
|
|
3004
|
+
last_set: number;
|
|
3005
|
+
} | undefined;
|
|
3006
|
+
purpose?: {
|
|
3007
|
+
value: string;
|
|
3008
|
+
creator: string;
|
|
3009
|
+
last_set: number;
|
|
3010
|
+
} | undefined;
|
|
3011
|
+
num_members?: number | undefined;
|
|
3012
|
+
} | undefined;
|
|
3013
|
+
already_in_channel?: boolean | undefined;
|
|
3014
|
+
}, {
|
|
3015
|
+
error: string;
|
|
3016
|
+
success: boolean;
|
|
3017
|
+
operation: "join_channel";
|
|
3018
|
+
ok: boolean;
|
|
3019
|
+
channel?: {
|
|
3020
|
+
name: string;
|
|
3021
|
+
id: string;
|
|
3022
|
+
created: number;
|
|
3023
|
+
is_archived: boolean;
|
|
3024
|
+
is_channel?: boolean | undefined;
|
|
3025
|
+
is_group?: boolean | undefined;
|
|
3026
|
+
is_im?: boolean | undefined;
|
|
3027
|
+
is_mpim?: boolean | undefined;
|
|
3028
|
+
is_private?: boolean | undefined;
|
|
3029
|
+
is_general?: boolean | undefined;
|
|
3030
|
+
unlinked?: number | undefined;
|
|
3031
|
+
name_normalized?: string | undefined;
|
|
3032
|
+
is_shared?: boolean | undefined;
|
|
3033
|
+
is_ext_shared?: boolean | undefined;
|
|
3034
|
+
is_org_shared?: boolean | undefined;
|
|
3035
|
+
shared_team_ids?: string[] | undefined;
|
|
3036
|
+
pending_shared?: string[] | undefined;
|
|
3037
|
+
pending_connected_team_ids?: string[] | undefined;
|
|
3038
|
+
is_pending_ext_shared?: boolean | undefined;
|
|
3039
|
+
is_member?: boolean | undefined;
|
|
3040
|
+
is_open?: boolean | undefined;
|
|
3041
|
+
topic?: {
|
|
3042
|
+
value: string;
|
|
3043
|
+
creator: string;
|
|
3044
|
+
last_set: number;
|
|
3045
|
+
} | undefined;
|
|
3046
|
+
purpose?: {
|
|
3047
|
+
value: string;
|
|
3048
|
+
creator: string;
|
|
3049
|
+
last_set: number;
|
|
3050
|
+
} | undefined;
|
|
3051
|
+
num_members?: number | undefined;
|
|
3052
|
+
} | undefined;
|
|
3053
|
+
already_in_channel?: boolean | undefined;
|
|
2610
3054
|
}>, z.ZodObject<{
|
|
2611
3055
|
operation: z.ZodLiteral<"upload_file">;
|
|
2612
3056
|
ok: z.ZodBoolean;
|
|
@@ -2912,6 +3356,30 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
2912
3356
|
ims?: string[] | undefined;
|
|
2913
3357
|
has_rich_preview?: boolean | undefined;
|
|
2914
3358
|
} | undefined;
|
|
3359
|
+
}>, z.ZodObject<{
|
|
3360
|
+
operation: z.ZodLiteral<"schedule_message">;
|
|
3361
|
+
ok: z.ZodBoolean;
|
|
3362
|
+
channel: z.ZodOptional<z.ZodString>;
|
|
3363
|
+
scheduled_message_id: z.ZodOptional<z.ZodString>;
|
|
3364
|
+
post_at: z.ZodOptional<z.ZodNumber>;
|
|
3365
|
+
error: z.ZodString;
|
|
3366
|
+
success: z.ZodBoolean;
|
|
3367
|
+
}, "strip", z.ZodTypeAny, {
|
|
3368
|
+
error: string;
|
|
3369
|
+
success: boolean;
|
|
3370
|
+
operation: "schedule_message";
|
|
3371
|
+
ok: boolean;
|
|
3372
|
+
channel?: string | undefined;
|
|
3373
|
+
post_at?: number | undefined;
|
|
3374
|
+
scheduled_message_id?: string | undefined;
|
|
3375
|
+
}, {
|
|
3376
|
+
error: string;
|
|
3377
|
+
success: boolean;
|
|
3378
|
+
operation: "schedule_message";
|
|
3379
|
+
ok: boolean;
|
|
3380
|
+
channel?: string | undefined;
|
|
3381
|
+
post_at?: number | undefined;
|
|
3382
|
+
scheduled_message_id?: string | undefined;
|
|
2915
3383
|
}>]>;
|
|
2916
3384
|
type SlackResult = z.output<typeof SlackResultSchema>;
|
|
2917
3385
|
type SlackParams = z.input<typeof SlackParamsSchema>;
|
|
@@ -3775,6 +4243,18 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
|
|
|
3775
4243
|
channel: string;
|
|
3776
4244
|
timestamp: string;
|
|
3777
4245
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
4246
|
+
}>, z.ZodObject<{
|
|
4247
|
+
operation: z.ZodLiteral<"join_channel">;
|
|
4248
|
+
channel: z.ZodString;
|
|
4249
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
4250
|
+
}, "strip", z.ZodTypeAny, {
|
|
4251
|
+
operation: "join_channel";
|
|
4252
|
+
channel: string;
|
|
4253
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
4254
|
+
}, {
|
|
4255
|
+
operation: "join_channel";
|
|
4256
|
+
channel: string;
|
|
4257
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
3778
4258
|
}>, z.ZodObject<{
|
|
3779
4259
|
operation: z.ZodLiteral<"upload_file">;
|
|
3780
4260
|
channel: z.ZodString;
|
|
@@ -3800,8 +4280,238 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
|
|
|
3800
4280
|
title?: string | undefined;
|
|
3801
4281
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
3802
4282
|
thread_ts?: string | undefined;
|
|
3803
|
-
filename?: string | undefined;
|
|
3804
|
-
initial_comment?: string | undefined;
|
|
4283
|
+
filename?: string | undefined;
|
|
4284
|
+
initial_comment?: string | undefined;
|
|
4285
|
+
}>, z.ZodObject<{
|
|
4286
|
+
operation: z.ZodLiteral<"schedule_message">;
|
|
4287
|
+
channel: z.ZodString;
|
|
4288
|
+
text: z.ZodString;
|
|
4289
|
+
post_at: z.ZodNumber;
|
|
4290
|
+
thread_ts: z.ZodOptional<z.ZodString>;
|
|
4291
|
+
blocks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4292
|
+
type: z.ZodString;
|
|
4293
|
+
text: z.ZodOptional<z.ZodObject<{
|
|
4294
|
+
type: z.ZodEnum<["plain_text", "mrkdwn"]>;
|
|
4295
|
+
text: z.ZodString;
|
|
4296
|
+
emoji: z.ZodOptional<z.ZodBoolean>;
|
|
4297
|
+
verbatim: z.ZodOptional<z.ZodBoolean>;
|
|
4298
|
+
}, "strip", z.ZodTypeAny, {
|
|
4299
|
+
type: "plain_text" | "mrkdwn";
|
|
4300
|
+
text: string;
|
|
4301
|
+
emoji?: boolean | undefined;
|
|
4302
|
+
verbatim?: boolean | undefined;
|
|
4303
|
+
}, {
|
|
4304
|
+
type: "plain_text" | "mrkdwn";
|
|
4305
|
+
text: string;
|
|
4306
|
+
emoji?: boolean | undefined;
|
|
4307
|
+
verbatim?: boolean | undefined;
|
|
4308
|
+
}>>;
|
|
4309
|
+
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4310
|
+
type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
|
|
4311
|
+
text: z.ZodOptional<z.ZodString>;
|
|
4312
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
4313
|
+
alt_text: z.ZodOptional<z.ZodString>;
|
|
4314
|
+
emoji: z.ZodOptional<z.ZodBoolean>;
|
|
4315
|
+
verbatim: z.ZodOptional<z.ZodBoolean>;
|
|
4316
|
+
}, "strip", z.ZodTypeAny, {
|
|
4317
|
+
type: "image" | "plain_text" | "mrkdwn";
|
|
4318
|
+
emoji?: boolean | undefined;
|
|
4319
|
+
text?: string | undefined;
|
|
4320
|
+
image_url?: string | undefined;
|
|
4321
|
+
verbatim?: boolean | undefined;
|
|
4322
|
+
alt_text?: string | undefined;
|
|
4323
|
+
}, {
|
|
4324
|
+
type: "image" | "plain_text" | "mrkdwn";
|
|
4325
|
+
emoji?: boolean | undefined;
|
|
4326
|
+
text?: string | undefined;
|
|
4327
|
+
image_url?: string | undefined;
|
|
4328
|
+
verbatim?: boolean | undefined;
|
|
4329
|
+
alt_text?: string | undefined;
|
|
4330
|
+
}>, "many">>;
|
|
4331
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4332
|
+
type: z.ZodString;
|
|
4333
|
+
text: z.ZodOptional<z.ZodObject<{
|
|
4334
|
+
type: z.ZodEnum<["plain_text", "mrkdwn"]>;
|
|
4335
|
+
text: z.ZodString;
|
|
4336
|
+
emoji: z.ZodOptional<z.ZodBoolean>;
|
|
4337
|
+
verbatim: z.ZodOptional<z.ZodBoolean>;
|
|
4338
|
+
}, "strip", z.ZodTypeAny, {
|
|
4339
|
+
type: "plain_text" | "mrkdwn";
|
|
4340
|
+
text: string;
|
|
4341
|
+
emoji?: boolean | undefined;
|
|
4342
|
+
verbatim?: boolean | undefined;
|
|
4343
|
+
}, {
|
|
4344
|
+
type: "plain_text" | "mrkdwn";
|
|
4345
|
+
text: string;
|
|
4346
|
+
emoji?: boolean | undefined;
|
|
4347
|
+
verbatim?: boolean | undefined;
|
|
4348
|
+
}>>;
|
|
4349
|
+
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4350
|
+
type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
|
|
4351
|
+
text: z.ZodOptional<z.ZodString>;
|
|
4352
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
4353
|
+
alt_text: z.ZodOptional<z.ZodString>;
|
|
4354
|
+
emoji: z.ZodOptional<z.ZodBoolean>;
|
|
4355
|
+
verbatim: z.ZodOptional<z.ZodBoolean>;
|
|
4356
|
+
}, "strip", z.ZodTypeAny, {
|
|
4357
|
+
type: "image" | "plain_text" | "mrkdwn";
|
|
4358
|
+
emoji?: boolean | undefined;
|
|
4359
|
+
text?: string | undefined;
|
|
4360
|
+
image_url?: string | undefined;
|
|
4361
|
+
verbatim?: boolean | undefined;
|
|
4362
|
+
alt_text?: string | undefined;
|
|
4363
|
+
}, {
|
|
4364
|
+
type: "image" | "plain_text" | "mrkdwn";
|
|
4365
|
+
emoji?: boolean | undefined;
|
|
4366
|
+
text?: string | undefined;
|
|
4367
|
+
image_url?: string | undefined;
|
|
4368
|
+
verbatim?: boolean | undefined;
|
|
4369
|
+
alt_text?: string | undefined;
|
|
4370
|
+
}>, "many">>;
|
|
4371
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4372
|
+
type: z.ZodString;
|
|
4373
|
+
text: z.ZodOptional<z.ZodObject<{
|
|
4374
|
+
type: z.ZodEnum<["plain_text", "mrkdwn"]>;
|
|
4375
|
+
text: z.ZodString;
|
|
4376
|
+
emoji: z.ZodOptional<z.ZodBoolean>;
|
|
4377
|
+
verbatim: z.ZodOptional<z.ZodBoolean>;
|
|
4378
|
+
}, "strip", z.ZodTypeAny, {
|
|
4379
|
+
type: "plain_text" | "mrkdwn";
|
|
4380
|
+
text: string;
|
|
4381
|
+
emoji?: boolean | undefined;
|
|
4382
|
+
verbatim?: boolean | undefined;
|
|
4383
|
+
}, {
|
|
4384
|
+
type: "plain_text" | "mrkdwn";
|
|
4385
|
+
text: string;
|
|
4386
|
+
emoji?: boolean | undefined;
|
|
4387
|
+
verbatim?: boolean | undefined;
|
|
4388
|
+
}>>;
|
|
4389
|
+
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4390
|
+
type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
|
|
4391
|
+
text: z.ZodOptional<z.ZodString>;
|
|
4392
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
4393
|
+
alt_text: z.ZodOptional<z.ZodString>;
|
|
4394
|
+
emoji: z.ZodOptional<z.ZodBoolean>;
|
|
4395
|
+
verbatim: z.ZodOptional<z.ZodBoolean>;
|
|
4396
|
+
}, "strip", z.ZodTypeAny, {
|
|
4397
|
+
type: "image" | "plain_text" | "mrkdwn";
|
|
4398
|
+
emoji?: boolean | undefined;
|
|
4399
|
+
text?: string | undefined;
|
|
4400
|
+
image_url?: string | undefined;
|
|
4401
|
+
verbatim?: boolean | undefined;
|
|
4402
|
+
alt_text?: string | undefined;
|
|
4403
|
+
}, {
|
|
4404
|
+
type: "image" | "plain_text" | "mrkdwn";
|
|
4405
|
+
emoji?: boolean | undefined;
|
|
4406
|
+
text?: string | undefined;
|
|
4407
|
+
image_url?: string | undefined;
|
|
4408
|
+
verbatim?: boolean | undefined;
|
|
4409
|
+
alt_text?: string | undefined;
|
|
4410
|
+
}>, "many">>;
|
|
4411
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
4412
|
+
unfurl_links: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4413
|
+
unfurl_media: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4414
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
4415
|
+
}, "strip", z.ZodTypeAny, {
|
|
4416
|
+
text: string;
|
|
4417
|
+
operation: "schedule_message";
|
|
4418
|
+
channel: string;
|
|
4419
|
+
unfurl_links: boolean;
|
|
4420
|
+
unfurl_media: boolean;
|
|
4421
|
+
post_at: number;
|
|
4422
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
4423
|
+
blocks?: z.objectOutputType<{
|
|
4424
|
+
type: z.ZodString;
|
|
4425
|
+
text: z.ZodOptional<z.ZodObject<{
|
|
4426
|
+
type: z.ZodEnum<["plain_text", "mrkdwn"]>;
|
|
4427
|
+
text: z.ZodString;
|
|
4428
|
+
emoji: z.ZodOptional<z.ZodBoolean>;
|
|
4429
|
+
verbatim: z.ZodOptional<z.ZodBoolean>;
|
|
4430
|
+
}, "strip", z.ZodTypeAny, {
|
|
4431
|
+
type: "plain_text" | "mrkdwn";
|
|
4432
|
+
text: string;
|
|
4433
|
+
emoji?: boolean | undefined;
|
|
4434
|
+
verbatim?: boolean | undefined;
|
|
4435
|
+
}, {
|
|
4436
|
+
type: "plain_text" | "mrkdwn";
|
|
4437
|
+
text: string;
|
|
4438
|
+
emoji?: boolean | undefined;
|
|
4439
|
+
verbatim?: boolean | undefined;
|
|
4440
|
+
}>>;
|
|
4441
|
+
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4442
|
+
type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
|
|
4443
|
+
text: z.ZodOptional<z.ZodString>;
|
|
4444
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
4445
|
+
alt_text: z.ZodOptional<z.ZodString>;
|
|
4446
|
+
emoji: z.ZodOptional<z.ZodBoolean>;
|
|
4447
|
+
verbatim: z.ZodOptional<z.ZodBoolean>;
|
|
4448
|
+
}, "strip", z.ZodTypeAny, {
|
|
4449
|
+
type: "image" | "plain_text" | "mrkdwn";
|
|
4450
|
+
emoji?: boolean | undefined;
|
|
4451
|
+
text?: string | undefined;
|
|
4452
|
+
image_url?: string | undefined;
|
|
4453
|
+
verbatim?: boolean | undefined;
|
|
4454
|
+
alt_text?: string | undefined;
|
|
4455
|
+
}, {
|
|
4456
|
+
type: "image" | "plain_text" | "mrkdwn";
|
|
4457
|
+
emoji?: boolean | undefined;
|
|
4458
|
+
text?: string | undefined;
|
|
4459
|
+
image_url?: string | undefined;
|
|
4460
|
+
verbatim?: boolean | undefined;
|
|
4461
|
+
alt_text?: string | undefined;
|
|
4462
|
+
}>, "many">>;
|
|
4463
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
4464
|
+
thread_ts?: string | undefined;
|
|
4465
|
+
}, {
|
|
4466
|
+
text: string;
|
|
4467
|
+
operation: "schedule_message";
|
|
4468
|
+
channel: string;
|
|
4469
|
+
post_at: number;
|
|
4470
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
4471
|
+
blocks?: z.objectInputType<{
|
|
4472
|
+
type: z.ZodString;
|
|
4473
|
+
text: z.ZodOptional<z.ZodObject<{
|
|
4474
|
+
type: z.ZodEnum<["plain_text", "mrkdwn"]>;
|
|
4475
|
+
text: z.ZodString;
|
|
4476
|
+
emoji: z.ZodOptional<z.ZodBoolean>;
|
|
4477
|
+
verbatim: z.ZodOptional<z.ZodBoolean>;
|
|
4478
|
+
}, "strip", z.ZodTypeAny, {
|
|
4479
|
+
type: "plain_text" | "mrkdwn";
|
|
4480
|
+
text: string;
|
|
4481
|
+
emoji?: boolean | undefined;
|
|
4482
|
+
verbatim?: boolean | undefined;
|
|
4483
|
+
}, {
|
|
4484
|
+
type: "plain_text" | "mrkdwn";
|
|
4485
|
+
text: string;
|
|
4486
|
+
emoji?: boolean | undefined;
|
|
4487
|
+
verbatim?: boolean | undefined;
|
|
4488
|
+
}>>;
|
|
4489
|
+
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4490
|
+
type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
|
|
4491
|
+
text: z.ZodOptional<z.ZodString>;
|
|
4492
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
4493
|
+
alt_text: z.ZodOptional<z.ZodString>;
|
|
4494
|
+
emoji: z.ZodOptional<z.ZodBoolean>;
|
|
4495
|
+
verbatim: z.ZodOptional<z.ZodBoolean>;
|
|
4496
|
+
}, "strip", z.ZodTypeAny, {
|
|
4497
|
+
type: "image" | "plain_text" | "mrkdwn";
|
|
4498
|
+
emoji?: boolean | undefined;
|
|
4499
|
+
text?: string | undefined;
|
|
4500
|
+
image_url?: string | undefined;
|
|
4501
|
+
verbatim?: boolean | undefined;
|
|
4502
|
+
alt_text?: string | undefined;
|
|
4503
|
+
}, {
|
|
4504
|
+
type: "image" | "plain_text" | "mrkdwn";
|
|
4505
|
+
emoji?: boolean | undefined;
|
|
4506
|
+
text?: string | undefined;
|
|
4507
|
+
image_url?: string | undefined;
|
|
4508
|
+
verbatim?: boolean | undefined;
|
|
4509
|
+
alt_text?: string | undefined;
|
|
4510
|
+
}>, "many">>;
|
|
4511
|
+
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
4512
|
+
thread_ts?: string | undefined;
|
|
4513
|
+
unfurl_links?: boolean | undefined;
|
|
4514
|
+
unfurl_media?: boolean | undefined;
|
|
3805
4515
|
}>]>;
|
|
3806
4516
|
static readonly resultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
3807
4517
|
operation: z.ZodLiteral<"send_message">;
|
|
@@ -3848,8 +4558,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
|
|
|
3848
4558
|
}, "strip", z.ZodTypeAny, {
|
|
3849
4559
|
type: string;
|
|
3850
4560
|
ts: string;
|
|
3851
|
-
text?: string | undefined;
|
|
3852
4561
|
user?: string | undefined;
|
|
4562
|
+
text?: string | undefined;
|
|
3853
4563
|
username?: string | undefined;
|
|
3854
4564
|
attachments?: unknown[] | undefined;
|
|
3855
4565
|
blocks?: unknown[] | undefined;
|
|
@@ -3873,8 +4583,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
|
|
|
3873
4583
|
}, {
|
|
3874
4584
|
type: string;
|
|
3875
4585
|
ts: string;
|
|
3876
|
-
text?: string | undefined;
|
|
3877
4586
|
user?: string | undefined;
|
|
4587
|
+
text?: string | undefined;
|
|
3878
4588
|
username?: string | undefined;
|
|
3879
4589
|
attachments?: unknown[] | undefined;
|
|
3880
4590
|
blocks?: unknown[] | undefined;
|
|
@@ -3906,8 +4616,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
|
|
|
3906
4616
|
message?: {
|
|
3907
4617
|
type: string;
|
|
3908
4618
|
ts: string;
|
|
3909
|
-
text?: string | undefined;
|
|
3910
4619
|
user?: string | undefined;
|
|
4620
|
+
text?: string | undefined;
|
|
3911
4621
|
username?: string | undefined;
|
|
3912
4622
|
attachments?: unknown[] | undefined;
|
|
3913
4623
|
blocks?: unknown[] | undefined;
|
|
@@ -3939,8 +4649,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
|
|
|
3939
4649
|
message?: {
|
|
3940
4650
|
type: string;
|
|
3941
4651
|
ts: string;
|
|
3942
|
-
text?: string | undefined;
|
|
3943
4652
|
user?: string | undefined;
|
|
4653
|
+
text?: string | undefined;
|
|
3944
4654
|
username?: string | undefined;
|
|
3945
4655
|
attachments?: unknown[] | undefined;
|
|
3946
4656
|
blocks?: unknown[] | undefined;
|
|
@@ -5017,8 +5727,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
|
|
|
5017
5727
|
}, "strip", z.ZodTypeAny, {
|
|
5018
5728
|
type: string;
|
|
5019
5729
|
ts: string;
|
|
5020
|
-
text?: string | undefined;
|
|
5021
5730
|
user?: string | undefined;
|
|
5731
|
+
text?: string | undefined;
|
|
5022
5732
|
username?: string | undefined;
|
|
5023
5733
|
attachments?: unknown[] | undefined;
|
|
5024
5734
|
blocks?: unknown[] | undefined;
|
|
@@ -5042,8 +5752,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
|
|
|
5042
5752
|
}, {
|
|
5043
5753
|
type: string;
|
|
5044
5754
|
ts: string;
|
|
5045
|
-
text?: string | undefined;
|
|
5046
5755
|
user?: string | undefined;
|
|
5756
|
+
text?: string | undefined;
|
|
5047
5757
|
username?: string | undefined;
|
|
5048
5758
|
attachments?: unknown[] | undefined;
|
|
5049
5759
|
blocks?: unknown[] | undefined;
|
|
@@ -5086,8 +5796,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
|
|
|
5086
5796
|
messages?: {
|
|
5087
5797
|
type: string;
|
|
5088
5798
|
ts: string;
|
|
5089
|
-
text?: string | undefined;
|
|
5090
5799
|
user?: string | undefined;
|
|
5800
|
+
text?: string | undefined;
|
|
5091
5801
|
username?: string | undefined;
|
|
5092
5802
|
attachments?: unknown[] | undefined;
|
|
5093
5803
|
blocks?: unknown[] | undefined;
|
|
@@ -5121,8 +5831,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
|
|
|
5121
5831
|
messages?: {
|
|
5122
5832
|
type: string;
|
|
5123
5833
|
ts: string;
|
|
5124
|
-
text?: string | undefined;
|
|
5125
5834
|
user?: string | undefined;
|
|
5835
|
+
text?: string | undefined;
|
|
5126
5836
|
username?: string | undefined;
|
|
5127
5837
|
attachments?: unknown[] | undefined;
|
|
5128
5838
|
blocks?: unknown[] | undefined;
|
|
@@ -5188,8 +5898,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
|
|
|
5188
5898
|
}, "strip", z.ZodTypeAny, {
|
|
5189
5899
|
type: string;
|
|
5190
5900
|
ts: string;
|
|
5191
|
-
text?: string | undefined;
|
|
5192
5901
|
user?: string | undefined;
|
|
5902
|
+
text?: string | undefined;
|
|
5193
5903
|
username?: string | undefined;
|
|
5194
5904
|
attachments?: unknown[] | undefined;
|
|
5195
5905
|
blocks?: unknown[] | undefined;
|
|
@@ -5213,8 +5923,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
|
|
|
5213
5923
|
}, {
|
|
5214
5924
|
type: string;
|
|
5215
5925
|
ts: string;
|
|
5216
|
-
text?: string | undefined;
|
|
5217
5926
|
user?: string | undefined;
|
|
5927
|
+
text?: string | undefined;
|
|
5218
5928
|
username?: string | undefined;
|
|
5219
5929
|
attachments?: unknown[] | undefined;
|
|
5220
5930
|
blocks?: unknown[] | undefined;
|
|
@@ -5257,8 +5967,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
|
|
|
5257
5967
|
messages?: {
|
|
5258
5968
|
type: string;
|
|
5259
5969
|
ts: string;
|
|
5260
|
-
text?: string | undefined;
|
|
5261
5970
|
user?: string | undefined;
|
|
5971
|
+
text?: string | undefined;
|
|
5262
5972
|
username?: string | undefined;
|
|
5263
5973
|
attachments?: unknown[] | undefined;
|
|
5264
5974
|
blocks?: unknown[] | undefined;
|
|
@@ -5292,8 +6002,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
|
|
|
5292
6002
|
messages?: {
|
|
5293
6003
|
type: string;
|
|
5294
6004
|
ts: string;
|
|
5295
|
-
text?: string | undefined;
|
|
5296
6005
|
user?: string | undefined;
|
|
6006
|
+
text?: string | undefined;
|
|
5297
6007
|
username?: string | undefined;
|
|
5298
6008
|
attachments?: unknown[] | undefined;
|
|
5299
6009
|
blocks?: unknown[] | undefined;
|
|
@@ -5362,8 +6072,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
|
|
|
5362
6072
|
}, "strip", z.ZodTypeAny, {
|
|
5363
6073
|
type: string;
|
|
5364
6074
|
ts: string;
|
|
5365
|
-
text?: string | undefined;
|
|
5366
6075
|
user?: string | undefined;
|
|
6076
|
+
text?: string | undefined;
|
|
5367
6077
|
username?: string | undefined;
|
|
5368
6078
|
attachments?: unknown[] | undefined;
|
|
5369
6079
|
blocks?: unknown[] | undefined;
|
|
@@ -5387,8 +6097,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
|
|
|
5387
6097
|
}, {
|
|
5388
6098
|
type: string;
|
|
5389
6099
|
ts: string;
|
|
5390
|
-
text?: string | undefined;
|
|
5391
6100
|
user?: string | undefined;
|
|
6101
|
+
text?: string | undefined;
|
|
5392
6102
|
username?: string | undefined;
|
|
5393
6103
|
attachments?: unknown[] | undefined;
|
|
5394
6104
|
blocks?: unknown[] | undefined;
|
|
@@ -5420,8 +6130,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
|
|
|
5420
6130
|
message?: {
|
|
5421
6131
|
type: string;
|
|
5422
6132
|
ts: string;
|
|
5423
|
-
text?: string | undefined;
|
|
5424
6133
|
user?: string | undefined;
|
|
6134
|
+
text?: string | undefined;
|
|
5425
6135
|
username?: string | undefined;
|
|
5426
6136
|
attachments?: unknown[] | undefined;
|
|
5427
6137
|
blocks?: unknown[] | undefined;
|
|
@@ -5454,8 +6164,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
|
|
|
5454
6164
|
message?: {
|
|
5455
6165
|
type: string;
|
|
5456
6166
|
ts: string;
|
|
5457
|
-
text?: string | undefined;
|
|
5458
6167
|
user?: string | undefined;
|
|
6168
|
+
text?: string | undefined;
|
|
5459
6169
|
username?: string | undefined;
|
|
5460
6170
|
attachments?: unknown[] | undefined;
|
|
5461
6171
|
blocks?: unknown[] | undefined;
|
|
@@ -5531,6 +6241,208 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
|
|
|
5531
6241
|
success: boolean;
|
|
5532
6242
|
operation: "remove_reaction";
|
|
5533
6243
|
ok: boolean;
|
|
6244
|
+
}>, z.ZodObject<{
|
|
6245
|
+
operation: z.ZodLiteral<"join_channel">;
|
|
6246
|
+
ok: z.ZodBoolean;
|
|
6247
|
+
channel: z.ZodOptional<z.ZodObject<{
|
|
6248
|
+
id: z.ZodString;
|
|
6249
|
+
name: z.ZodString;
|
|
6250
|
+
is_channel: z.ZodOptional<z.ZodBoolean>;
|
|
6251
|
+
is_group: z.ZodOptional<z.ZodBoolean>;
|
|
6252
|
+
is_im: z.ZodOptional<z.ZodBoolean>;
|
|
6253
|
+
is_mpim: z.ZodOptional<z.ZodBoolean>;
|
|
6254
|
+
is_private: z.ZodOptional<z.ZodBoolean>;
|
|
6255
|
+
created: z.ZodNumber;
|
|
6256
|
+
is_archived: z.ZodBoolean;
|
|
6257
|
+
is_general: z.ZodOptional<z.ZodBoolean>;
|
|
6258
|
+
unlinked: z.ZodOptional<z.ZodNumber>;
|
|
6259
|
+
name_normalized: z.ZodOptional<z.ZodString>;
|
|
6260
|
+
is_shared: z.ZodOptional<z.ZodBoolean>;
|
|
6261
|
+
is_ext_shared: z.ZodOptional<z.ZodBoolean>;
|
|
6262
|
+
is_org_shared: z.ZodOptional<z.ZodBoolean>;
|
|
6263
|
+
shared_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6264
|
+
pending_shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6265
|
+
pending_connected_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6266
|
+
is_pending_ext_shared: z.ZodOptional<z.ZodBoolean>;
|
|
6267
|
+
is_member: z.ZodOptional<z.ZodBoolean>;
|
|
6268
|
+
is_open: z.ZodOptional<z.ZodBoolean>;
|
|
6269
|
+
topic: z.ZodOptional<z.ZodObject<{
|
|
6270
|
+
value: z.ZodString;
|
|
6271
|
+
creator: z.ZodString;
|
|
6272
|
+
last_set: z.ZodNumber;
|
|
6273
|
+
}, "strip", z.ZodTypeAny, {
|
|
6274
|
+
value: string;
|
|
6275
|
+
creator: string;
|
|
6276
|
+
last_set: number;
|
|
6277
|
+
}, {
|
|
6278
|
+
value: string;
|
|
6279
|
+
creator: string;
|
|
6280
|
+
last_set: number;
|
|
6281
|
+
}>>;
|
|
6282
|
+
purpose: z.ZodOptional<z.ZodObject<{
|
|
6283
|
+
value: z.ZodString;
|
|
6284
|
+
creator: z.ZodString;
|
|
6285
|
+
last_set: z.ZodNumber;
|
|
6286
|
+
}, "strip", z.ZodTypeAny, {
|
|
6287
|
+
value: string;
|
|
6288
|
+
creator: string;
|
|
6289
|
+
last_set: number;
|
|
6290
|
+
}, {
|
|
6291
|
+
value: string;
|
|
6292
|
+
creator: string;
|
|
6293
|
+
last_set: number;
|
|
6294
|
+
}>>;
|
|
6295
|
+
num_members: z.ZodOptional<z.ZodNumber>;
|
|
6296
|
+
}, "strip", z.ZodTypeAny, {
|
|
6297
|
+
name: string;
|
|
6298
|
+
id: string;
|
|
6299
|
+
created: number;
|
|
6300
|
+
is_archived: boolean;
|
|
6301
|
+
is_channel?: boolean | undefined;
|
|
6302
|
+
is_group?: boolean | undefined;
|
|
6303
|
+
is_im?: boolean | undefined;
|
|
6304
|
+
is_mpim?: boolean | undefined;
|
|
6305
|
+
is_private?: boolean | undefined;
|
|
6306
|
+
is_general?: boolean | undefined;
|
|
6307
|
+
unlinked?: number | undefined;
|
|
6308
|
+
name_normalized?: string | undefined;
|
|
6309
|
+
is_shared?: boolean | undefined;
|
|
6310
|
+
is_ext_shared?: boolean | undefined;
|
|
6311
|
+
is_org_shared?: boolean | undefined;
|
|
6312
|
+
shared_team_ids?: string[] | undefined;
|
|
6313
|
+
pending_shared?: string[] | undefined;
|
|
6314
|
+
pending_connected_team_ids?: string[] | undefined;
|
|
6315
|
+
is_pending_ext_shared?: boolean | undefined;
|
|
6316
|
+
is_member?: boolean | undefined;
|
|
6317
|
+
is_open?: boolean | undefined;
|
|
6318
|
+
topic?: {
|
|
6319
|
+
value: string;
|
|
6320
|
+
creator: string;
|
|
6321
|
+
last_set: number;
|
|
6322
|
+
} | undefined;
|
|
6323
|
+
purpose?: {
|
|
6324
|
+
value: string;
|
|
6325
|
+
creator: string;
|
|
6326
|
+
last_set: number;
|
|
6327
|
+
} | undefined;
|
|
6328
|
+
num_members?: number | undefined;
|
|
6329
|
+
}, {
|
|
6330
|
+
name: string;
|
|
6331
|
+
id: string;
|
|
6332
|
+
created: number;
|
|
6333
|
+
is_archived: boolean;
|
|
6334
|
+
is_channel?: boolean | undefined;
|
|
6335
|
+
is_group?: boolean | undefined;
|
|
6336
|
+
is_im?: boolean | undefined;
|
|
6337
|
+
is_mpim?: boolean | undefined;
|
|
6338
|
+
is_private?: boolean | undefined;
|
|
6339
|
+
is_general?: boolean | undefined;
|
|
6340
|
+
unlinked?: number | undefined;
|
|
6341
|
+
name_normalized?: string | undefined;
|
|
6342
|
+
is_shared?: boolean | undefined;
|
|
6343
|
+
is_ext_shared?: boolean | undefined;
|
|
6344
|
+
is_org_shared?: boolean | undefined;
|
|
6345
|
+
shared_team_ids?: string[] | undefined;
|
|
6346
|
+
pending_shared?: string[] | undefined;
|
|
6347
|
+
pending_connected_team_ids?: string[] | undefined;
|
|
6348
|
+
is_pending_ext_shared?: boolean | undefined;
|
|
6349
|
+
is_member?: boolean | undefined;
|
|
6350
|
+
is_open?: boolean | undefined;
|
|
6351
|
+
topic?: {
|
|
6352
|
+
value: string;
|
|
6353
|
+
creator: string;
|
|
6354
|
+
last_set: number;
|
|
6355
|
+
} | undefined;
|
|
6356
|
+
purpose?: {
|
|
6357
|
+
value: string;
|
|
6358
|
+
creator: string;
|
|
6359
|
+
last_set: number;
|
|
6360
|
+
} | undefined;
|
|
6361
|
+
num_members?: number | undefined;
|
|
6362
|
+
}>>;
|
|
6363
|
+
already_in_channel: z.ZodOptional<z.ZodBoolean>;
|
|
6364
|
+
error: z.ZodString;
|
|
6365
|
+
success: z.ZodBoolean;
|
|
6366
|
+
}, "strip", z.ZodTypeAny, {
|
|
6367
|
+
error: string;
|
|
6368
|
+
success: boolean;
|
|
6369
|
+
operation: "join_channel";
|
|
6370
|
+
ok: boolean;
|
|
6371
|
+
channel?: {
|
|
6372
|
+
name: string;
|
|
6373
|
+
id: string;
|
|
6374
|
+
created: number;
|
|
6375
|
+
is_archived: boolean;
|
|
6376
|
+
is_channel?: boolean | undefined;
|
|
6377
|
+
is_group?: boolean | undefined;
|
|
6378
|
+
is_im?: boolean | undefined;
|
|
6379
|
+
is_mpim?: boolean | undefined;
|
|
6380
|
+
is_private?: boolean | undefined;
|
|
6381
|
+
is_general?: boolean | undefined;
|
|
6382
|
+
unlinked?: number | undefined;
|
|
6383
|
+
name_normalized?: string | undefined;
|
|
6384
|
+
is_shared?: boolean | undefined;
|
|
6385
|
+
is_ext_shared?: boolean | undefined;
|
|
6386
|
+
is_org_shared?: boolean | undefined;
|
|
6387
|
+
shared_team_ids?: string[] | undefined;
|
|
6388
|
+
pending_shared?: string[] | undefined;
|
|
6389
|
+
pending_connected_team_ids?: string[] | undefined;
|
|
6390
|
+
is_pending_ext_shared?: boolean | undefined;
|
|
6391
|
+
is_member?: boolean | undefined;
|
|
6392
|
+
is_open?: boolean | undefined;
|
|
6393
|
+
topic?: {
|
|
6394
|
+
value: string;
|
|
6395
|
+
creator: string;
|
|
6396
|
+
last_set: number;
|
|
6397
|
+
} | undefined;
|
|
6398
|
+
purpose?: {
|
|
6399
|
+
value: string;
|
|
6400
|
+
creator: string;
|
|
6401
|
+
last_set: number;
|
|
6402
|
+
} | undefined;
|
|
6403
|
+
num_members?: number | undefined;
|
|
6404
|
+
} | undefined;
|
|
6405
|
+
already_in_channel?: boolean | undefined;
|
|
6406
|
+
}, {
|
|
6407
|
+
error: string;
|
|
6408
|
+
success: boolean;
|
|
6409
|
+
operation: "join_channel";
|
|
6410
|
+
ok: boolean;
|
|
6411
|
+
channel?: {
|
|
6412
|
+
name: string;
|
|
6413
|
+
id: string;
|
|
6414
|
+
created: number;
|
|
6415
|
+
is_archived: boolean;
|
|
6416
|
+
is_channel?: boolean | undefined;
|
|
6417
|
+
is_group?: boolean | undefined;
|
|
6418
|
+
is_im?: boolean | undefined;
|
|
6419
|
+
is_mpim?: boolean | undefined;
|
|
6420
|
+
is_private?: boolean | undefined;
|
|
6421
|
+
is_general?: boolean | undefined;
|
|
6422
|
+
unlinked?: number | undefined;
|
|
6423
|
+
name_normalized?: string | undefined;
|
|
6424
|
+
is_shared?: boolean | undefined;
|
|
6425
|
+
is_ext_shared?: boolean | undefined;
|
|
6426
|
+
is_org_shared?: boolean | undefined;
|
|
6427
|
+
shared_team_ids?: string[] | undefined;
|
|
6428
|
+
pending_shared?: string[] | undefined;
|
|
6429
|
+
pending_connected_team_ids?: string[] | undefined;
|
|
6430
|
+
is_pending_ext_shared?: boolean | undefined;
|
|
6431
|
+
is_member?: boolean | undefined;
|
|
6432
|
+
is_open?: boolean | undefined;
|
|
6433
|
+
topic?: {
|
|
6434
|
+
value: string;
|
|
6435
|
+
creator: string;
|
|
6436
|
+
last_set: number;
|
|
6437
|
+
} | undefined;
|
|
6438
|
+
purpose?: {
|
|
6439
|
+
value: string;
|
|
6440
|
+
creator: string;
|
|
6441
|
+
last_set: number;
|
|
6442
|
+
} | undefined;
|
|
6443
|
+
num_members?: number | undefined;
|
|
6444
|
+
} | undefined;
|
|
6445
|
+
already_in_channel?: boolean | undefined;
|
|
5534
6446
|
}>, z.ZodObject<{
|
|
5535
6447
|
operation: z.ZodLiteral<"upload_file">;
|
|
5536
6448
|
ok: z.ZodBoolean;
|
|
@@ -5836,9 +6748,33 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
|
|
|
5836
6748
|
ims?: string[] | undefined;
|
|
5837
6749
|
has_rich_preview?: boolean | undefined;
|
|
5838
6750
|
} | undefined;
|
|
6751
|
+
}>, z.ZodObject<{
|
|
6752
|
+
operation: z.ZodLiteral<"schedule_message">;
|
|
6753
|
+
ok: z.ZodBoolean;
|
|
6754
|
+
channel: z.ZodOptional<z.ZodString>;
|
|
6755
|
+
scheduled_message_id: z.ZodOptional<z.ZodString>;
|
|
6756
|
+
post_at: z.ZodOptional<z.ZodNumber>;
|
|
6757
|
+
error: z.ZodString;
|
|
6758
|
+
success: z.ZodBoolean;
|
|
6759
|
+
}, "strip", z.ZodTypeAny, {
|
|
6760
|
+
error: string;
|
|
6761
|
+
success: boolean;
|
|
6762
|
+
operation: "schedule_message";
|
|
6763
|
+
ok: boolean;
|
|
6764
|
+
channel?: string | undefined;
|
|
6765
|
+
post_at?: number | undefined;
|
|
6766
|
+
scheduled_message_id?: string | undefined;
|
|
6767
|
+
}, {
|
|
6768
|
+
error: string;
|
|
6769
|
+
success: boolean;
|
|
6770
|
+
operation: "schedule_message";
|
|
6771
|
+
ok: boolean;
|
|
6772
|
+
channel?: string | undefined;
|
|
6773
|
+
post_at?: number | undefined;
|
|
6774
|
+
scheduled_message_id?: string | undefined;
|
|
5839
6775
|
}>]>;
|
|
5840
6776
|
static readonly shortDescription = "Slack integration for messaging and workspace management";
|
|
5841
|
-
static readonly longDescription = "\
|
|
6777
|
+
static readonly longDescription = "\nComprehensive Slack integration for messaging and workspace management.\nSupports both Bot tokens (xoxb-) and User tokens (xoxp-).\n\n## Token Types: Bot vs User\n\n| Aspect | Bot Token (xoxb-) | User Token (xoxp-) |\n|--------|-------------------|-------------------|\n| Identity | Acts as the bot | Acts as the authorizing user |\n| Channel access | Only channels bot is added to | All channels user can access |\n| Message deletion | Can only delete bot's own messages | Can delete any message user has permission for |\n| Message posting | Messages appear from the bot | Messages appear from the user |\n| Scope location | \"Bot Token Scopes\" section | \"User Token Scopes\" section |\n\nChoose **Bot token** for: Automations, notifications, bots that act independently\nChoose **User token** for: Acting on behalf of a user, accessing user's private channels\n\n## Required OAuth Scopes by Operation\n\nConfigure in your Slack App: OAuth & Permissions page\nOfficial docs: https://docs.slack.dev/reference/scopes/\n\n### Messaging Operations\n| Operation | Bot Token Scope | User Token Scope |\n|------------------|-----------------|------------------|\n| send_message | chat:write (+ chat:write.public for any public channel) | chat:write |\n| send_message (to user DM) | chat:write + im:write | chat:write + im:write |\n| schedule_message | chat:write | chat:write |\n| update_message | chat:write | chat:write |\n| delete_message | chat:write (own messages only) | chat:write (any deletable) |\n\n**Note on DMs**: When you pass a user ID (e.g., U12345678) as the channel, SlackBubble automatically opens a DM conversation with that user. This requires the `im:write` scope in addition to `chat:write`.\n\n### Channel & Conversation Operations\n| Operation | Bot Token Scope | User Token Scope |\n|--------------------------|-----------------|------------------|\n| list_channels | channels:read, groups:read | channels:read, groups:read |\n| get_channel_info | channels:read OR groups:read | channels:read OR groups:read |\n| join_channel | channels:join | channels:write |\n| get_conversation_history | channels:history, groups:history | channels:history, groups:history |\n| get_thread_replies | channels:history, groups:history | channels:history, groups:history |\n\n### User Operations\n| Operation | Bot Token Scope | User Token Scope |\n|---------------|-----------------|------------------|\n| list_users | users:read | users:read |\n| get_user_info | users:read | users:read |\n| (email field) | + users:read.email | + users:read.email |\n\n### Reaction & File Operations\n| Operation | Bot Token Scope | User Token Scope |\n|-----------------|-----------------|------------------|\n| add_reaction | reactions:write | reactions:write |\n| remove_reaction | reactions:write | reactions:write |\n| upload_file | files:write | files:write |\n\n### Direct Message (DM) Scopes\nFor operations on DMs and group DMs, add these additional scopes:\n| Scope | Purpose |\n|-------|---------|\n| im:read | Access direct message channel info |\n| im:write | Start direct message conversations |\n| im:history | Read direct message history |\n| mpim:read | Access group DM channel info |\n| mpim:write | Start group DM conversations |\n| mpim:history | Read group DM history |\n\n## Quick Setup Guide\n\n### For Bot Tokens (xoxb-)\n1. Go to https://api.slack.com/apps \u2192 select your app\n2. Navigate to \"OAuth & Permissions\"\n3. Scroll to \"Bot Token Scopes\" section \u2192 add required scopes\n4. Click \"Install to Workspace\" (or \"Reinstall\" if updating)\n5. Copy \"Bot User OAuth Token\" (starts with xoxb-)\n\n### For User Tokens (xoxp-)\n1. Go to https://api.slack.com/apps \u2192 select your app\n2. Navigate to \"OAuth & Permissions\"\n3. Scroll to \"User Token Scopes\" section \u2192 add required scopes\n4. Click \"Install to Workspace\" (or \"Reinstall\" if updating)\n5. Copy \"User OAuth Token\" (starts with xoxp-)\n\n## Minimum Recommended Scopes\nFor Bot Token: chat:write, channels:read, groups:read, users:read, channels:history\nFor User Token: chat:write, channels:read, groups:read, users:read, channels:history, channels:write\n\n## Setting Up Slack Triggers (Event Subscriptions)\n\nTo trigger BubbleFlow workflows from Slack events (like @mentions), you need to configure Event Subscriptions.\nOfficial docs: https://docs.slack.dev/apis/events-api/\n\n### Supported Trigger Events\n| Trigger Type | Slack Event | Required Scope |\n|--------------|-------------|----------------|\n| slack/bot_mentioned | app_mention | app_mentions:read |\n\n### Step-by-Step Event Subscriptions Setup\n\n**Step 1: Get your webhook URL from Bubble Lab**\n- In Bubble Lab, create a flow with a Slack trigger (e.g., slack/bot_mentioned)\n- Copy the webhook URL provided (format: https://api.bubblelab.ai/webhook/{userId}/{path})\n\n**Step 2: Enable Event Subscriptions in Slack**\n1. Go to https://api.slack.com/apps \u2192 select your app\n2. Click \"Event Subscriptions\" in the left sidebar\n3. Toggle \"Enable Events\" to ON\n\n**Step 3: Configure Request URL**\n1. Paste your Bubble Lab webhook URL in the \"Request URL\" field\n2. Slack will send a verification challenge to your URL\n3. Wait for the green \"Verified\" checkmark (Bubble Lab handles verification automatically)\n4. If verification fails, click \"Retry\" (your server may need a moment to respond)\n\n**Step 4: Subscribe to Bot Events**\n1. Scroll down to \"Subscribe to bot events\"\n2. Click \"Add Bot User Event\"\n3. Add the events you need:\n - For @mentions: add \"app_mention\"\n4. Click \"Save Changes\"\n\n**Step 5: Add Required OAuth Scopes**\n1. Go to \"OAuth & Permissions\" in the sidebar\n2. Under \"Bot Token Scopes\", add:\n - app_mentions:read (for app_mention events)\n3. Click \"Save\"\n\n**Step 6: Reinstall Your App**\n1. Go to \"Install App\" in the sidebar\n2. Click \"Reinstall to Workspace\"\n3. Authorize the new permissions\n\n### Troubleshooting Event Subscriptions\n- **Verification failed**: Ensure your webhook URL is correct and accessible\n- **Not receiving events**: Check that you added the correct scopes AND reinstalled the app\n- **Bot not responding**: Make sure the bot is invited to the channel where it's mentioned\n ";
|
|
5842
6778
|
static readonly alias = "slack";
|
|
5843
6779
|
constructor(params?: T, context?: BubbleContext, instanceId?: string);
|
|
5844
6780
|
protected performAction(context?: BubbleContext): Promise<Extract<SlackResult, {
|
|
@@ -5862,6 +6798,13 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
|
|
|
5862
6798
|
private addReaction;
|
|
5863
6799
|
private removeReaction;
|
|
5864
6800
|
private uploadFile;
|
|
6801
|
+
private joinChannel;
|
|
6802
|
+
private scheduleMessage;
|
|
6803
|
+
/**
|
|
6804
|
+
* Opens a DM conversation with a user and returns the DM channel ID.
|
|
6805
|
+
* Required scope: im:write (for bot tokens) or im:write (for user tokens)
|
|
6806
|
+
*/
|
|
6807
|
+
private openDmConversation;
|
|
5865
6808
|
protected chooseCredential(): string | undefined;
|
|
5866
6809
|
private makeSlackApiCall;
|
|
5867
6810
|
}
|