@keystrokehq/sendbird 0.1.0 → 0.1.2
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-members-group-channel.cjs +1 -1
- package/dist/actions/add-members-group-channel.cjs.map +1 -1
- package/dist/actions/add-members-group-channel.d.cts +28 -3
- package/dist/actions/add-members-group-channel.d.cts.map +1 -1
- package/dist/actions/add-members-group-channel.d.mts +28 -3
- package/dist/actions/add-members-group-channel.d.mts.map +1 -1
- package/dist/actions/add-members-group-channel.mjs +1 -1
- package/dist/actions/add-members-group-channel.mjs.map +1 -1
- package/dist/actions/ban-user-from-group-channel.cjs +1 -1
- package/dist/actions/ban-user-from-group-channel.cjs.map +1 -1
- package/dist/actions/ban-user-from-group-channel.d.cts +25 -3
- package/dist/actions/ban-user-from-group-channel.d.cts.map +1 -1
- package/dist/actions/ban-user-from-group-channel.d.mts +25 -3
- package/dist/actions/ban-user-from-group-channel.d.mts.map +1 -1
- package/dist/actions/ban-user-from-group-channel.mjs +1 -1
- package/dist/actions/ban-user-from-group-channel.mjs.map +1 -1
- package/dist/actions/create-channel.cjs +17 -17
- package/dist/actions/create-channel.cjs.map +1 -1
- package/dist/actions/create-channel.d.cts +90 -3
- package/dist/actions/create-channel.d.cts.map +1 -1
- package/dist/actions/create-channel.d.mts +90 -3
- package/dist/actions/create-channel.d.mts.map +1 -1
- package/dist/actions/create-channel.mjs +17 -17
- package/dist/actions/create-channel.mjs.map +1 -1
- package/dist/actions/create-user.cjs +2 -2
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +40 -3
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +40 -3
- package/dist/actions/create-user.d.mts.map +1 -1
- package/dist/actions/create-user.mjs +2 -2
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/delete-channel.cjs +1 -1
- package/dist/actions/delete-channel.cjs.map +1 -1
- package/dist/actions/delete-channel.d.cts +9 -3
- package/dist/actions/delete-channel.d.cts.map +1 -1
- package/dist/actions/delete-channel.d.mts +9 -3
- package/dist/actions/delete-channel.d.mts.map +1 -1
- package/dist/actions/delete-channel.mjs +1 -1
- package/dist/actions/delete-channel.mjs.map +1 -1
- package/dist/actions/delete-message.cjs +1 -1
- package/dist/actions/delete-message.cjs.map +1 -1
- package/dist/actions/delete-message.d.cts +11 -3
- package/dist/actions/delete-message.d.cts.map +1 -1
- package/dist/actions/delete-message.d.mts +11 -3
- package/dist/actions/delete-message.d.mts.map +1 -1
- package/dist/actions/delete-message.mjs +1 -1
- package/dist/actions/delete-message.mjs.map +1 -1
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +9 -3
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +9 -3
- package/dist/actions/delete-user.d.mts.map +1 -1
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/get-count-preference-of-channel.cjs +2 -2
- package/dist/actions/get-count-preference-of-channel.cjs.map +1 -1
- package/dist/actions/get-count-preference-of-channel.d.cts +16 -3
- package/dist/actions/get-count-preference-of-channel.d.cts.map +1 -1
- package/dist/actions/get-count-preference-of-channel.d.mts +16 -3
- package/dist/actions/get-count-preference-of-channel.d.mts.map +1 -1
- package/dist/actions/get-count-preference-of-channel.mjs +2 -2
- package/dist/actions/get-count-preference-of-channel.mjs.map +1 -1
- package/dist/actions/get-number-of-channels-by-join-status.cjs +1 -1
- package/dist/actions/get-number-of-channels-by-join-status.cjs.map +1 -1
- package/dist/actions/get-number-of-channels-by-join-status.d.cts +33 -3
- package/dist/actions/get-number-of-channels-by-join-status.d.cts.map +1 -1
- package/dist/actions/get-number-of-channels-by-join-status.d.mts +33 -3
- package/dist/actions/get-number-of-channels-by-join-status.d.mts.map +1 -1
- package/dist/actions/get-number-of-channels-by-join-status.mjs +1 -1
- package/dist/actions/get-number-of-channels-by-join-status.mjs.map +1 -1
- package/dist/actions/get-number-of-unread-items.cjs.map +1 -1
- package/dist/actions/get-number-of-unread-items.d.cts +21 -3
- package/dist/actions/get-number-of-unread-items.d.cts.map +1 -1
- package/dist/actions/get-number-of-unread-items.d.mts +21 -3
- package/dist/actions/get-number-of-unread-items.d.mts.map +1 -1
- package/dist/actions/get-number-of-unread-items.mjs.map +1 -1
- package/dist/actions/issue-session-token.cjs +2 -2
- package/dist/actions/issue-session-token.cjs.map +1 -1
- package/dist/actions/issue-session-token.d.cts +13 -3
- package/dist/actions/issue-session-token.d.cts.map +1 -1
- package/dist/actions/issue-session-token.d.mts +13 -3
- package/dist/actions/issue-session-token.d.mts.map +1 -1
- package/dist/actions/issue-session-token.mjs +2 -2
- package/dist/actions/issue-session-token.mjs.map +1 -1
- package/dist/actions/leave-group-channels.cjs.map +1 -1
- package/dist/actions/leave-group-channels.d.cts +15 -3
- package/dist/actions/leave-group-channels.d.cts.map +1 -1
- package/dist/actions/leave-group-channels.d.mts +15 -3
- package/dist/actions/leave-group-channels.d.mts.map +1 -1
- package/dist/actions/leave-group-channels.mjs.map +1 -1
- package/dist/actions/list-banned-members.cjs +3 -3
- package/dist/actions/list-banned-members.cjs.map +1 -1
- package/dist/actions/list-banned-members.d.cts +21 -3
- package/dist/actions/list-banned-members.d.cts.map +1 -1
- package/dist/actions/list-banned-members.d.mts +21 -3
- package/dist/actions/list-banned-members.d.mts.map +1 -1
- package/dist/actions/list-banned-members.mjs +3 -3
- package/dist/actions/list-banned-members.mjs.map +1 -1
- package/dist/actions/list-group-channel-messages.cjs +7 -7
- package/dist/actions/list-group-channel-messages.cjs.map +1 -1
- package/dist/actions/list-group-channel-messages.d.cts +99 -3
- package/dist/actions/list-group-channel-messages.d.cts.map +1 -1
- package/dist/actions/list-group-channel-messages.d.mts +99 -3
- package/dist/actions/list-group-channel-messages.d.mts.map +1 -1
- package/dist/actions/list-group-channel-messages.mjs +7 -7
- package/dist/actions/list-group-channel-messages.mjs.map +1 -1
- package/dist/actions/list-group-channels.cjs +6 -6
- package/dist/actions/list-group-channels.cjs.map +1 -1
- package/dist/actions/list-group-channels.d.cts +117 -3
- package/dist/actions/list-group-channels.d.cts.map +1 -1
- package/dist/actions/list-group-channels.d.mts +117 -3
- package/dist/actions/list-group-channels.d.mts.map +1 -1
- package/dist/actions/list-group-channels.mjs +6 -6
- package/dist/actions/list-group-channels.mjs.map +1 -1
- package/dist/actions/list-members-group-channel.cjs +6 -6
- package/dist/actions/list-members-group-channel.cjs.map +1 -1
- package/dist/actions/list-members-group-channel.d.cts +52 -3
- package/dist/actions/list-members-group-channel.d.cts.map +1 -1
- package/dist/actions/list-members-group-channel.d.mts +52 -3
- package/dist/actions/list-members-group-channel.d.mts.map +1 -1
- package/dist/actions/list-members-group-channel.mjs +6 -6
- package/dist/actions/list-members-group-channel.mjs.map +1 -1
- package/dist/actions/list-operators-custom-channel-type.cjs +1 -1
- package/dist/actions/list-operators-custom-channel-type.cjs.map +1 -1
- package/dist/actions/list-operators-custom-channel-type.d.cts +19 -3
- package/dist/actions/list-operators-custom-channel-type.d.cts.map +1 -1
- package/dist/actions/list-operators-custom-channel-type.d.mts +19 -3
- package/dist/actions/list-operators-custom-channel-type.d.mts.map +1 -1
- package/dist/actions/list-operators-custom-channel-type.mjs +1 -1
- package/dist/actions/list-operators-custom-channel-type.mjs.map +1 -1
- package/dist/actions/list-operators-group-channel.cjs +1 -1
- package/dist/actions/list-operators-group-channel.cjs.map +1 -1
- package/dist/actions/list-operators-group-channel.d.cts +18 -3
- package/dist/actions/list-operators-group-channel.d.cts.map +1 -1
- package/dist/actions/list-operators-group-channel.d.mts +18 -3
- package/dist/actions/list-operators-group-channel.d.mts.map +1 -1
- package/dist/actions/list-operators-group-channel.mjs +1 -1
- package/dist/actions/list-operators-group-channel.mjs.map +1 -1
- package/dist/actions/list-operators-open-channel.cjs +1 -1
- package/dist/actions/list-operators-open-channel.cjs.map +1 -1
- package/dist/actions/list-operators-open-channel.d.cts +19 -3
- package/dist/actions/list-operators-open-channel.d.cts.map +1 -1
- package/dist/actions/list-operators-open-channel.d.mts +19 -3
- package/dist/actions/list-operators-open-channel.d.mts.map +1 -1
- package/dist/actions/list-operators-open-channel.mjs +1 -1
- package/dist/actions/list-operators-open-channel.mjs.map +1 -1
- package/dist/actions/list-users.cjs +1 -1
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +48 -3
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +48 -3
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +1 -1
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/mark-all-user-messages-as-read.cjs +1 -1
- package/dist/actions/mark-all-user-messages-as-read.cjs.map +1 -1
- package/dist/actions/mark-all-user-messages-as-read.d.cts +9 -3
- package/dist/actions/mark-all-user-messages-as-read.d.cts.map +1 -1
- package/dist/actions/mark-all-user-messages-as-read.d.mts +9 -3
- package/dist/actions/mark-all-user-messages-as-read.d.mts.map +1 -1
- package/dist/actions/mark-all-user-messages-as-read.mjs +1 -1
- package/dist/actions/mark-all-user-messages-as-read.mjs.map +1 -1
- package/dist/actions/mute-user.cjs.map +1 -1
- package/dist/actions/mute-user.d.cts +13 -3
- package/dist/actions/mute-user.d.cts.map +1 -1
- package/dist/actions/mute-user.d.mts +13 -3
- package/dist/actions/mute-user.d.mts.map +1 -1
- package/dist/actions/mute-user.mjs.map +1 -1
- package/dist/actions/register-operators-custom-channel-type.cjs +1 -1
- package/dist/actions/register-operators-custom-channel-type.cjs.map +1 -1
- package/dist/actions/register-operators-custom-channel-type.d.cts +16 -3
- package/dist/actions/register-operators-custom-channel-type.d.cts.map +1 -1
- package/dist/actions/register-operators-custom-channel-type.d.mts +16 -3
- package/dist/actions/register-operators-custom-channel-type.d.mts.map +1 -1
- package/dist/actions/register-operators-custom-channel-type.mjs +1 -1
- package/dist/actions/register-operators-custom-channel-type.mjs.map +1 -1
- package/dist/actions/register-operators-group-channel.cjs +2 -2
- package/dist/actions/register-operators-group-channel.cjs.map +1 -1
- package/dist/actions/register-operators-group-channel.d.cts +17 -3
- package/dist/actions/register-operators-group-channel.d.cts.map +1 -1
- package/dist/actions/register-operators-group-channel.d.mts +17 -3
- package/dist/actions/register-operators-group-channel.d.mts.map +1 -1
- package/dist/actions/register-operators-group-channel.mjs +2 -2
- package/dist/actions/register-operators-group-channel.mjs.map +1 -1
- package/dist/actions/register-operators-open-channel.cjs +1 -1
- package/dist/actions/register-operators-open-channel.cjs.map +1 -1
- package/dist/actions/register-operators-open-channel.d.cts +16 -3
- package/dist/actions/register-operators-open-channel.d.cts.map +1 -1
- package/dist/actions/register-operators-open-channel.d.mts +16 -3
- package/dist/actions/register-operators-open-channel.d.mts.map +1 -1
- package/dist/actions/register-operators-open-channel.mjs +1 -1
- package/dist/actions/register-operators-open-channel.mjs.map +1 -1
- package/dist/actions/revoke-all-session-tokens.cjs.map +1 -1
- package/dist/actions/revoke-all-session-tokens.d.cts +10 -3
- package/dist/actions/revoke-all-session-tokens.d.cts.map +1 -1
- package/dist/actions/revoke-all-session-tokens.d.mts +10 -3
- package/dist/actions/revoke-all-session-tokens.d.mts.map +1 -1
- package/dist/actions/revoke-all-session-tokens.mjs.map +1 -1
- package/dist/actions/send-message.cjs +9 -9
- package/dist/actions/send-message.cjs.map +1 -1
- package/dist/actions/send-message.d.cts +89 -3
- package/dist/actions/send-message.d.cts.map +1 -1
- package/dist/actions/send-message.d.mts +89 -3
- package/dist/actions/send-message.d.mts.map +1 -1
- package/dist/actions/send-message.mjs +9 -9
- package/dist/actions/send-message.mjs.map +1 -1
- package/dist/actions/unban-user.cjs.map +1 -1
- package/dist/actions/unban-user.d.cts +9 -3
- package/dist/actions/unban-user.d.cts.map +1 -1
- package/dist/actions/unban-user.d.mts +9 -3
- package/dist/actions/unban-user.d.mts.map +1 -1
- package/dist/actions/unban-user.mjs.map +1 -1
- package/dist/actions/unmute-user.cjs.map +1 -1
- package/dist/actions/unmute-user.d.cts +16 -3
- package/dist/actions/unmute-user.d.cts.map +1 -1
- package/dist/actions/unmute-user.d.mts +16 -3
- package/dist/actions/unmute-user.d.mts.map +1 -1
- package/dist/actions/unmute-user.mjs.map +1 -1
- package/dist/actions/unregister-operators-custom-channel-type.cjs +1 -1
- package/dist/actions/unregister-operators-custom-channel-type.cjs.map +1 -1
- package/dist/actions/unregister-operators-custom-channel-type.d.cts +14 -3
- package/dist/actions/unregister-operators-custom-channel-type.d.cts.map +1 -1
- package/dist/actions/unregister-operators-custom-channel-type.d.mts +14 -3
- package/dist/actions/unregister-operators-custom-channel-type.d.mts.map +1 -1
- package/dist/actions/unregister-operators-custom-channel-type.mjs +1 -1
- package/dist/actions/unregister-operators-custom-channel-type.mjs.map +1 -1
- package/dist/actions/update-count-preference-of-channel.cjs +2 -2
- package/dist/actions/update-count-preference-of-channel.cjs.map +1 -1
- package/dist/actions/update-count-preference-of-channel.d.cts +19 -3
- package/dist/actions/update-count-preference-of-channel.d.cts.map +1 -1
- package/dist/actions/update-count-preference-of-channel.d.mts +19 -3
- package/dist/actions/update-count-preference-of-channel.d.mts.map +1 -1
- package/dist/actions/update-count-preference-of-channel.mjs +2 -2
- package/dist/actions/update-count-preference-of-channel.mjs.map +1 -1
- package/dist/actions/update-group-channel.cjs +5 -5
- package/dist/actions/update-group-channel.cjs.map +1 -1
- package/dist/actions/update-group-channel.d.cts +45 -3
- package/dist/actions/update-group-channel.d.cts.map +1 -1
- package/dist/actions/update-group-channel.d.mts +45 -3
- package/dist/actions/update-group-channel.d.mts.map +1 -1
- package/dist/actions/update-group-channel.mjs +5 -5
- package/dist/actions/update-group-channel.mjs.map +1 -1
- package/dist/actions/update-message.cjs +6 -6
- package/dist/actions/update-message.cjs.map +1 -1
- package/dist/actions/update-message.d.cts +56 -3
- package/dist/actions/update-message.d.cts.map +1 -1
- package/dist/actions/update-message.d.mts +56 -3
- package/dist/actions/update-message.d.mts.map +1 -1
- package/dist/actions/update-message.mjs +6 -6
- package/dist/actions/update-message.mjs.map +1 -1
- package/dist/actions/update-user.cjs +1 -1
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +34 -3
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +34 -3
- package/dist/actions/update-user.d.mts.map +1 -1
- package/dist/actions/update-user.mjs +1 -1
- package/dist/actions/update-user.mjs.map +1 -1
- package/dist/actions/view-group-channel.cjs +6 -6
- package/dist/actions/view-group-channel.cjs.map +1 -1
- package/dist/actions/view-group-channel.d.cts +52 -3
- package/dist/actions/view-group-channel.d.cts.map +1 -1
- package/dist/actions/view-group-channel.d.mts +52 -3
- package/dist/actions/view-group-channel.d.mts.map +1 -1
- package/dist/actions/view-group-channel.mjs +6 -6
- package/dist/actions/view-group-channel.mjs.map +1 -1
- package/dist/actions/view-message.cjs +15 -15
- package/dist/actions/view-message.cjs.map +1 -1
- package/dist/actions/view-message.d.cts +60 -3
- package/dist/actions/view-message.d.cts.map +1 -1
- package/dist/actions/view-message.d.mts +60 -3
- package/dist/actions/view-message.d.mts.map +1 -1
- package/dist/actions/view-message.mjs +15 -15
- package/dist/actions/view-message.mjs.map +1 -1
- package/dist/actions/view-user.cjs +1 -1
- package/dist/actions/view-user.cjs.map +1 -1
- package/dist/actions/view-user.d.cts +22 -3
- package/dist/actions/view-user.d.cts.map +1 -1
- package/dist/actions/view-user.d.mts +22 -3
- package/dist/actions/view-user.d.mts.map +1 -1
- package/dist/actions/view-user.mjs +1 -1
- package/dist/actions/view-user.mjs.map +1 -1
- package/dist/catalog.cjs +13 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +12 -0
- package/dist/catalog.d.mts +12 -0
- package/dist/catalog.mjs +13 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-message.d.mts","names":[],"sources":["../../src/actions/delete-message.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"delete-message.d.mts","names":[],"sources":["../../src/actions/delete-message.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -8,7 +8,7 @@ const sendbirdDeleteMessage = action("SENDBIRD_DELETE_MESSAGE", {
|
|
|
8
8
|
message_id: z.number().int().describe("Unique numeric ID of the message to delete. Must be a positive integer obtained from message listing or message sending responses."),
|
|
9
9
|
channel_url: z.string().describe("URL-encoded identifier of the group channel containing the message to delete. Can be obtained from channel creation responses or channel listing endpoints.")
|
|
10
10
|
}).describe("Request schema for deleting a Sendbird group channel message."),
|
|
11
|
-
output: z.object({ success: z.boolean().describe("Indicates whether the message was successfully deleted. Always True on successful deletion; errors raise ExecutionFailed.") }).describe("Response schema for successful deletion of a Sendbird message.")
|
|
11
|
+
output: z.object({ success: z.boolean().describe("Indicates whether the message was successfully deleted. Always True on successful deletion; errors raise ExecutionFailed.").nullable() }).describe("Response schema for successful deletion of a Sendbird message.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { sendbirdDeleteMessage };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-message.mjs","names":[],"sources":["../../src/actions/delete-message.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdDeleteMessageInput
|
|
1
|
+
{"version":3,"file":"delete-message.mjs","names":[],"sources":["../../src/actions/delete-message.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdDeleteMessageInput = z.object({\n message_id: z.number().int().describe(\"Unique numeric ID of the message to delete. Must be a positive integer obtained from message listing or message sending responses.\"),\n channel_url: z.string().describe(\"URL-encoded identifier of the group channel containing the message to delete. Can be obtained from channel creation responses or channel listing endpoints.\"),\n}).describe(\"Request schema for deleting a Sendbird group channel message.\");\nexport const SendbirdDeleteMessageOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the message was successfully deleted. Always True on successful deletion; errors raise ExecutionFailed.\").nullable(),\n}).describe(\"Response schema for successful deletion of a Sendbird message.\");\n\nexport const sendbirdDeleteMessage = action(\"SENDBIRD_DELETE_MESSAGE\", {\n slug: \"sendbird-delete-message\",\n name: \"Delete Message\",\n description: \"Permanently deletes a specific message from a Sendbird group channel. This action cannot be undone. Use this when you need to remove a message that was sent by mistake or contains inappropriate content. Requires both channel_url and message_id, which can be obtained from channel/message listing endpoints.\",\n input: SendbirdDeleteMessageInput,\n output: SendbirdDeleteMessageOutput,\n});\n"],"mappings":";;AAYA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZwC,EAAE,OAAO;EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oIAAoI;EAC1K,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J;CAChM,CAAC,CAAC,CAAC,SAAS,+DASH;CACP,QATyC,EAAE,OAAO,EAClD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS,EACtK,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdDeleteUserInput
|
|
1
|
+
{"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdDeleteUserInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user to delete.\"),\n hard_delete: z.boolean().default(false).describe(\"Whether to permanently delete the user and all associated data.\").optional(),\n}).describe(\"Request parameters for deleting a Sendbird user.\");\nexport const SendbirdDeleteUserOutput = z.object({}).describe(\"Response schema for deleting a Sendbird user (empty on success).\");\n\nexport const sendbirdDeleteUser = action(\"SENDBIRD_DELETE_USER\", {\n slug: \"sendbird-delete-user\",\n name: \"Delete Sendbird User\",\n description: \"Tool to delete a Sendbird user. Use when you need to remove a user from your Sendbird application, optionally permanently.\",\n input: SendbirdDeleteUserInput,\n output: SendbirdDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC/D,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAEhI,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-user.d.ts
|
|
4
|
-
declare const SendbirdDeleteUserInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendbirdDeleteUserInput: z.ZodObject<{
|
|
5
|
+
user_id: z.ZodString;
|
|
6
|
+
hard_delete: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SendbirdDeleteUserOutput: z.ZodObject<{}, z.core.$strip>;
|
|
9
|
+
declare const sendbirdDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
10
|
+
user_id: string;
|
|
11
|
+
hard_delete?: boolean | undefined;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { sendbirdDeleteUser };
|
|
9
15
|
//# sourceMappingURL=delete-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-user.d.ts
|
|
4
|
-
declare const SendbirdDeleteUserInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendbirdDeleteUserInput: z.ZodObject<{
|
|
5
|
+
user_id: z.ZodString;
|
|
6
|
+
hard_delete: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SendbirdDeleteUserOutput: z.ZodObject<{}, z.core.$strip>;
|
|
9
|
+
declare const sendbirdDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
10
|
+
user_id: string;
|
|
11
|
+
hard_delete?: boolean | undefined;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { sendbirdDeleteUser };
|
|
9
15
|
//# sourceMappingURL=delete-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdDeleteUserInput
|
|
1
|
+
{"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdDeleteUserInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user to delete.\"),\n hard_delete: z.boolean().default(false).describe(\"Whether to permanently delete the user and all associated data.\").optional(),\n}).describe(\"Request parameters for deleting a Sendbird user.\");\nexport const SendbirdDeleteUserOutput = z.object({}).describe(\"Response schema for deleting a Sendbird user (empty on success).\");\n\nexport const sendbirdDeleteUser = action(\"SENDBIRD_DELETE_USER\", {\n slug: \"sendbird-delete-user\",\n name: \"Delete Sendbird User\",\n description: \"Tool to delete a Sendbird user. Use when you need to remove a user from your Sendbird application, optionally permanently.\",\n input: SendbirdDeleteUserInput,\n output: SendbirdDeleteUserOutput,\n});\n"],"mappings":";;AAUA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVqC,EAAE,OAAO;EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC/D,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,SAAS,kDAOH;CACP,QAPsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAOpD;AACV,CAAC"}
|
|
@@ -6,12 +6,12 @@ const SendbirdGetCountPreferenceOfChannelInput = zod.z.object({
|
|
|
6
6
|
channel_url: zod.z.string().describe("URL (identifier) of the group channel.")
|
|
7
7
|
}).describe("Request model for retrieving a user's count preference for a specific group channel.");
|
|
8
8
|
const SendbirdGetCountPreferenceOfChannelOutput = zod.z.object({
|
|
9
|
-
channel_url: zod.z.string().describe("The URL of the group channel."),
|
|
9
|
+
channel_url: zod.z.string().describe("The URL of the group channel.").nullable(),
|
|
10
10
|
count_preference: zod.z.enum([
|
|
11
11
|
"all",
|
|
12
12
|
"unread_message_count",
|
|
13
13
|
"mention_count"
|
|
14
|
-
]).describe("The user's count preference for the channel.")
|
|
14
|
+
]).describe("The user's count preference for the channel.").nullable()
|
|
15
15
|
}).describe("Response model for a user's count preference of a group channel.");
|
|
16
16
|
const sendbirdGetCountPreferenceOfChannel = require_action.action("SENDBIRD_GET_COUNT_PREFERENCE_OF_CHANNEL", {
|
|
17
17
|
slug: "sendbird-get-count-preference-of-channel",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-count-preference-of-channel.cjs","names":["z","action"],"sources":["../../src/actions/get-count-preference-of-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdGetCountPreferenceOfChannelInput
|
|
1
|
+
{"version":3,"file":"get-count-preference-of-channel.cjs","names":["z","action"],"sources":["../../src/actions/get-count-preference-of-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdGetCountPreferenceOfChannelInput = z.object({\n user_id: z.string().describe(\"The unique ID of the user.\"),\n channel_url: z.string().describe(\"URL (identifier) of the group channel.\"),\n}).describe(\"Request model for retrieving a user's count preference for a specific group channel.\");\nexport const SendbirdGetCountPreferenceOfChannelOutput = z.object({\n channel_url: z.string().describe(\"The URL of the group channel.\").nullable(),\n count_preference: z.enum([\"all\", \"unread_message_count\", \"mention_count\"]).describe(\"The user's count preference for the channel.\").nullable(),\n}).describe(\"Response model for a user's count preference of a group channel.\");\n\nexport const sendbirdGetCountPreferenceOfChannel = action(\"SENDBIRD_GET_COUNT_PREFERENCE_OF_CHANNEL\", {\n slug: \"sendbird-get-count-preference-of-channel\",\n name: \"Get Count Preference Of Channel\",\n description: \"Tool to retrieve a user's count preference for a specific group channel. Use after confirming the user and channel exist to determine whether to display all, unread-only, or mention-only counts.\",\n input: SendbirdGetCountPreferenceOfChannelInput,\n output: SendbirdGetCountPreferenceOfChannelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACzD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AAC3E,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,kBAAkBA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAwB;CAAe,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAE9E,MAAa,sCAAsCC,eAAAA,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-count-preference-of-channel.d.ts
|
|
4
|
-
declare const SendbirdGetCountPreferenceOfChannelInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendbirdGetCountPreferenceOfChannelInput: z.ZodObject<{
|
|
5
|
+
user_id: z.ZodString;
|
|
6
|
+
channel_url: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SendbirdGetCountPreferenceOfChannelOutput: z.ZodObject<{
|
|
9
|
+
channel_url: z.ZodNullable<z.ZodString>;
|
|
10
|
+
count_preference: z.ZodNullable<z.ZodEnum<{
|
|
11
|
+
unread_message_count: "unread_message_count";
|
|
12
|
+
all: "all";
|
|
13
|
+
mention_count: "mention_count";
|
|
14
|
+
}>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const sendbirdGetCountPreferenceOfChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
user_id: string;
|
|
18
|
+
channel_url: string;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { sendbirdGetCountPreferenceOfChannel };
|
|
9
22
|
//# sourceMappingURL=get-count-preference-of-channel.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-count-preference-of-channel.d.cts","names":[],"sources":["../../src/actions/get-count-preference-of-channel.ts"],"mappings":";;;cAIa,wCAAA,
|
|
1
|
+
{"version":3,"file":"get-count-preference-of-channel.d.cts","names":[],"sources":["../../src/actions/get-count-preference-of-channel.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;cAIxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;cAKzC,mCAAA,gCAAmC,wBAAA"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-count-preference-of-channel.d.ts
|
|
4
|
-
declare const SendbirdGetCountPreferenceOfChannelInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendbirdGetCountPreferenceOfChannelInput: z.ZodObject<{
|
|
5
|
+
user_id: z.ZodString;
|
|
6
|
+
channel_url: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SendbirdGetCountPreferenceOfChannelOutput: z.ZodObject<{
|
|
9
|
+
channel_url: z.ZodNullable<z.ZodString>;
|
|
10
|
+
count_preference: z.ZodNullable<z.ZodEnum<{
|
|
11
|
+
unread_message_count: "unread_message_count";
|
|
12
|
+
all: "all";
|
|
13
|
+
mention_count: "mention_count";
|
|
14
|
+
}>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const sendbirdGetCountPreferenceOfChannel: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
user_id: string;
|
|
18
|
+
channel_url: string;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { sendbirdGetCountPreferenceOfChannel };
|
|
9
22
|
//# sourceMappingURL=get-count-preference-of-channel.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-count-preference-of-channel.d.mts","names":[],"sources":["../../src/actions/get-count-preference-of-channel.ts"],"mappings":";;;cAIa,wCAAA,
|
|
1
|
+
{"version":3,"file":"get-count-preference-of-channel.d.mts","names":[],"sources":["../../src/actions/get-count-preference-of-channel.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;cAIxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;cAKzC,mCAAA,gCAAmC,wBAAA"}
|
|
@@ -9,12 +9,12 @@ const sendbirdGetCountPreferenceOfChannel = action("SENDBIRD_GET_COUNT_PREFERENC
|
|
|
9
9
|
channel_url: z.string().describe("URL (identifier) of the group channel.")
|
|
10
10
|
}).describe("Request model for retrieving a user's count preference for a specific group channel."),
|
|
11
11
|
output: z.object({
|
|
12
|
-
channel_url: z.string().describe("The URL of the group channel."),
|
|
12
|
+
channel_url: z.string().describe("The URL of the group channel.").nullable(),
|
|
13
13
|
count_preference: z.enum([
|
|
14
14
|
"all",
|
|
15
15
|
"unread_message_count",
|
|
16
16
|
"mention_count"
|
|
17
|
-
]).describe("The user's count preference for the channel.")
|
|
17
|
+
]).describe("The user's count preference for the channel.").nullable()
|
|
18
18
|
}).describe("Response model for a user's count preference of a group channel.")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-count-preference-of-channel.mjs","names":[],"sources":["../../src/actions/get-count-preference-of-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdGetCountPreferenceOfChannelInput
|
|
1
|
+
{"version":3,"file":"get-count-preference-of-channel.mjs","names":[],"sources":["../../src/actions/get-count-preference-of-channel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdGetCountPreferenceOfChannelInput = z.object({\n user_id: z.string().describe(\"The unique ID of the user.\"),\n channel_url: z.string().describe(\"URL (identifier) of the group channel.\"),\n}).describe(\"Request model for retrieving a user's count preference for a specific group channel.\");\nexport const SendbirdGetCountPreferenceOfChannelOutput = z.object({\n channel_url: z.string().describe(\"The URL of the group channel.\").nullable(),\n count_preference: z.enum([\"all\", \"unread_message_count\", \"mention_count\"]).describe(\"The user's count preference for the channel.\").nullable(),\n}).describe(\"Response model for a user's count preference of a group channel.\");\n\nexport const sendbirdGetCountPreferenceOfChannel = action(\"SENDBIRD_GET_COUNT_PREFERENCE_OF_CHANNEL\", {\n slug: \"sendbird-get-count-preference-of-channel\",\n name: \"Get Count Preference Of Channel\",\n description: \"Tool to retrieve a user's count preference for a specific group channel. Use after confirming the user and channel exist to determine whether to display all, unread-only, or mention-only counts.\",\n input: SendbirdGetCountPreferenceOfChannelInput,\n output: SendbirdGetCountPreferenceOfChannelOutput,\n});\n"],"mappings":";;AAaA,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbsD,EAAE,OAAO;EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACzD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAC3E,CAAC,CAAC,CAAC,SAAS,sFAUH;CACP,QAVuD,EAAE,OAAO;EAChE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC3E,kBAAkB,EAAE,KAAK;GAAC;GAAO;GAAwB;EAAe,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC/I,CAAC,CAAC,CAAC,SAAS,kEAOF;AACV,CAAC"}
|
|
@@ -21,7 +21,7 @@ const SendbirdGetNumberOfChannelsByJoinStatusInput = zod.z.object({
|
|
|
21
21
|
]).describe("Filter by channel distinctness. 'distinct' channels resume conversations with the same members; 'nondistinct' allows multiple channels with identical member sets. Defaults to 'all'.").optional()
|
|
22
22
|
}).describe("Request model for fetching number of group channels by join status for a user.");
|
|
23
23
|
const SendbirdGetNumberOfChannelsByJoinStatusOutput = zod.z.object({
|
|
24
|
-
total: zod.z.number().int().describe("Total number of group channels associated with the user (sum of joined and invited channels)."),
|
|
24
|
+
total: zod.z.number().int().describe("Total number of group channels associated with the user (sum of joined and invited channels).").nullable(),
|
|
25
25
|
joined: zod.z.number().int().default(0).describe("Number of group channels the user is currently a member of (has joined).").nullable().optional(),
|
|
26
26
|
invited: zod.z.number().int().default(0).describe("Number of group channels the user has been invited to but has not yet joined.").nullable().optional(),
|
|
27
27
|
invited_by_friend: zod.z.number().int().default(0).describe("Number of group channels the user has been invited to by a friend (if friend feature is enabled).").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-number-of-channels-by-join-status.cjs","names":["z","action"],"sources":["../../src/actions/get-number-of-channels-by-join-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdGetNumberOfChannelsByJoinStatusInput
|
|
1
|
+
{"version":3,"file":"get-number-of-channels-by-join-status.cjs","names":["z","action"],"sources":["../../src/actions/get-number-of-channels-by-join-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdGetNumberOfChannelsByJoinStatusInput = z.object({\n user_id: z.string().describe(\"The unique ID of the target user whose group channel count will be retrieved.\"),\n super_mode: z.enum([\"all\", \"super\", \"nonsuper\"]).describe(\"Filter by channel type. 'super' channels support up to tens of thousands of members; 'nonsuper' regular channels support up to 100 members. Defaults to 'all'.\").optional(),\n public_mode: z.enum([\"all\", \"public\", \"private\"]).describe(\"Filter by channel visibility. 'public' channels allow users to join without invitation; 'private' channels require an invitation. Defaults to 'all'.\").optional(),\n custom_types: z.array(z.string()).describe(\"Filter by custom channel types. Only channels matching one of the specified custom types will be counted. Pass an empty list or omit to include all custom types.\").optional(),\n distinct_mode: z.enum([\"all\", \"distinct\", \"nondistinct\"]).describe(\"Filter by channel distinctness. 'distinct' channels resume conversations with the same members; 'nondistinct' allows multiple channels with identical member sets. Defaults to 'all'.\").optional(),\n}).describe(\"Request model for fetching number of group channels by join status for a user.\");\nexport const SendbirdGetNumberOfChannelsByJoinStatusOutput = z.object({\n total: z.number().int().describe(\"Total number of group channels associated with the user (sum of joined and invited channels).\").nullable(),\n joined: z.number().int().default(0).describe(\"Number of group channels the user is currently a member of (has joined).\").nullable().optional(),\n invited: z.number().int().default(0).describe(\"Number of group channels the user has been invited to but has not yet joined.\").nullable().optional(),\n invited_by_friend: z.number().int().default(0).describe(\"Number of group channels the user has been invited to by a friend (if friend feature is enabled).\").nullable().optional(),\n invited_by_non_friend: z.number().int().default(0).describe(\"Number of group channels the user has been invited to by someone who is not a friend.\").nullable().optional(),\n}).describe(\"Response model for group channel count by join status. Contains counts of channels where the user is invited or has joined.\");\n\nexport const sendbirdGetNumberOfChannelsByJoinStatus = action(\"SENDBIRD_GET_NUMBER_OF_CHANNELS_BY_JOIN_STATUS\", {\n slug: \"sendbird-get-number-of-channels-by-join-status\",\n name: \"Get User Group Channel Count by Join Status\",\n description: \"Retrieves the number of group channels for a user, categorized by join status (joined, invited, etc.). Use this tool to get channel count statistics for a specific user, optionally filtered by channel properties like visibility (public/private), distinctness, or super mode. Returns counts of joined channels, invited channels (with friend/non-friend breakdown), and total count.\",\n input: SendbirdGetNumberOfChannelsByJoinStatusInput,\n output: SendbirdGetNumberOfChannelsByJoinStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CAC5G,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAS;CAAU,CAAC,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CACrO,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC5N,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACzN,eAAeA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAY;CAAa,CAAC,CAAC,CAAC,SAAS,uLAAuL,CAAC,CAAC,SAAS;AACvQ,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAa,gDAAgDA,IAAAA,EAAE,OAAO;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC3I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjL,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3K,CAAC,CAAC,CAAC,SAAS,6HAA6H;AAEzI,MAAa,0CAA0CC,eAAAA,OAAO,kDAAkD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,39 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-number-of-channels-by-join-status.d.ts
|
|
4
|
-
declare const SendbirdGetNumberOfChannelsByJoinStatusInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendbirdGetNumberOfChannelsByJoinStatusInput: z.ZodObject<{
|
|
5
|
+
user_id: z.ZodString;
|
|
6
|
+
super_mode: z.ZodOptional<z.ZodEnum<{
|
|
7
|
+
all: "all";
|
|
8
|
+
super: "super";
|
|
9
|
+
nonsuper: "nonsuper";
|
|
10
|
+
}>>;
|
|
11
|
+
public_mode: z.ZodOptional<z.ZodEnum<{
|
|
12
|
+
all: "all";
|
|
13
|
+
public: "public";
|
|
14
|
+
private: "private";
|
|
15
|
+
}>>;
|
|
16
|
+
custom_types: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17
|
+
distinct_mode: z.ZodOptional<z.ZodEnum<{
|
|
18
|
+
all: "all";
|
|
19
|
+
distinct: "distinct";
|
|
20
|
+
nondistinct: "nondistinct";
|
|
21
|
+
}>>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const SendbirdGetNumberOfChannelsByJoinStatusOutput: z.ZodObject<{
|
|
24
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
25
|
+
joined: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
26
|
+
invited: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
27
|
+
invited_by_friend: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
28
|
+
invited_by_non_friend: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
declare const sendbirdGetNumberOfChannelsByJoinStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
|
+
user_id: string;
|
|
32
|
+
super_mode?: "all" | "super" | "nonsuper" | undefined;
|
|
33
|
+
public_mode?: "all" | "public" | "private" | undefined;
|
|
34
|
+
custom_types?: string[] | undefined;
|
|
35
|
+
distinct_mode?: "all" | "distinct" | "nondistinct" | undefined;
|
|
36
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
37
|
//#endregion
|
|
8
38
|
export { sendbirdGetNumberOfChannelsByJoinStatus };
|
|
9
39
|
//# sourceMappingURL=get-number-of-channels-by-join-status.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-number-of-channels-by-join-status.d.cts","names":[],"sources":["../../src/actions/get-number-of-channels-by-join-status.ts"],"mappings":";;;cAIa,4CAAA,
|
|
1
|
+
{"version":3,"file":"get-number-of-channels-by-join-status.d.cts","names":[],"sources":["../../src/actions/get-number-of-channels-by-join-status.ts"],"mappings":";;;cAIa,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAO5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;;;cAQ7C,uCAAA,gCAAuC,wBAAA"}
|
|
@@ -1,9 +1,39 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-number-of-channels-by-join-status.d.ts
|
|
4
|
-
declare const SendbirdGetNumberOfChannelsByJoinStatusInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendbirdGetNumberOfChannelsByJoinStatusInput: z.ZodObject<{
|
|
5
|
+
user_id: z.ZodString;
|
|
6
|
+
super_mode: z.ZodOptional<z.ZodEnum<{
|
|
7
|
+
all: "all";
|
|
8
|
+
super: "super";
|
|
9
|
+
nonsuper: "nonsuper";
|
|
10
|
+
}>>;
|
|
11
|
+
public_mode: z.ZodOptional<z.ZodEnum<{
|
|
12
|
+
all: "all";
|
|
13
|
+
public: "public";
|
|
14
|
+
private: "private";
|
|
15
|
+
}>>;
|
|
16
|
+
custom_types: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17
|
+
distinct_mode: z.ZodOptional<z.ZodEnum<{
|
|
18
|
+
all: "all";
|
|
19
|
+
distinct: "distinct";
|
|
20
|
+
nondistinct: "nondistinct";
|
|
21
|
+
}>>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const SendbirdGetNumberOfChannelsByJoinStatusOutput: z.ZodObject<{
|
|
24
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
25
|
+
joined: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
26
|
+
invited: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
27
|
+
invited_by_friend: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
28
|
+
invited_by_non_friend: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
declare const sendbirdGetNumberOfChannelsByJoinStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
|
+
user_id: string;
|
|
32
|
+
super_mode?: "all" | "super" | "nonsuper" | undefined;
|
|
33
|
+
public_mode?: "all" | "public" | "private" | undefined;
|
|
34
|
+
custom_types?: string[] | undefined;
|
|
35
|
+
distinct_mode?: "all" | "distinct" | "nondistinct" | undefined;
|
|
36
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
37
|
//#endregion
|
|
8
38
|
export { sendbirdGetNumberOfChannelsByJoinStatus };
|
|
9
39
|
//# sourceMappingURL=get-number-of-channels-by-join-status.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-number-of-channels-by-join-status.d.mts","names":[],"sources":["../../src/actions/get-number-of-channels-by-join-status.ts"],"mappings":";;;cAIa,4CAAA,
|
|
1
|
+
{"version":3,"file":"get-number-of-channels-by-join-status.d.mts","names":[],"sources":["../../src/actions/get-number-of-channels-by-join-status.ts"],"mappings":";;;cAIa,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAO5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;;;cAQ7C,uCAAA,gCAAuC,wBAAA"}
|
|
@@ -24,7 +24,7 @@ const sendbirdGetNumberOfChannelsByJoinStatus = action("SENDBIRD_GET_NUMBER_OF_C
|
|
|
24
24
|
]).describe("Filter by channel distinctness. 'distinct' channels resume conversations with the same members; 'nondistinct' allows multiple channels with identical member sets. Defaults to 'all'.").optional()
|
|
25
25
|
}).describe("Request model for fetching number of group channels by join status for a user."),
|
|
26
26
|
output: z.object({
|
|
27
|
-
total: z.number().int().describe("Total number of group channels associated with the user (sum of joined and invited channels)."),
|
|
27
|
+
total: z.number().int().describe("Total number of group channels associated with the user (sum of joined and invited channels).").nullable(),
|
|
28
28
|
joined: z.number().int().default(0).describe("Number of group channels the user is currently a member of (has joined).").nullable().optional(),
|
|
29
29
|
invited: z.number().int().default(0).describe("Number of group channels the user has been invited to but has not yet joined.").nullable().optional(),
|
|
30
30
|
invited_by_friend: z.number().int().default(0).describe("Number of group channels the user has been invited to by a friend (if friend feature is enabled).").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-number-of-channels-by-join-status.mjs","names":[],"sources":["../../src/actions/get-number-of-channels-by-join-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdGetNumberOfChannelsByJoinStatusInput
|
|
1
|
+
{"version":3,"file":"get-number-of-channels-by-join-status.mjs","names":[],"sources":["../../src/actions/get-number-of-channels-by-join-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdGetNumberOfChannelsByJoinStatusInput = z.object({\n user_id: z.string().describe(\"The unique ID of the target user whose group channel count will be retrieved.\"),\n super_mode: z.enum([\"all\", \"super\", \"nonsuper\"]).describe(\"Filter by channel type. 'super' channels support up to tens of thousands of members; 'nonsuper' regular channels support up to 100 members. Defaults to 'all'.\").optional(),\n public_mode: z.enum([\"all\", \"public\", \"private\"]).describe(\"Filter by channel visibility. 'public' channels allow users to join without invitation; 'private' channels require an invitation. Defaults to 'all'.\").optional(),\n custom_types: z.array(z.string()).describe(\"Filter by custom channel types. Only channels matching one of the specified custom types will be counted. Pass an empty list or omit to include all custom types.\").optional(),\n distinct_mode: z.enum([\"all\", \"distinct\", \"nondistinct\"]).describe(\"Filter by channel distinctness. 'distinct' channels resume conversations with the same members; 'nondistinct' allows multiple channels with identical member sets. Defaults to 'all'.\").optional(),\n}).describe(\"Request model for fetching number of group channels by join status for a user.\");\nexport const SendbirdGetNumberOfChannelsByJoinStatusOutput = z.object({\n total: z.number().int().describe(\"Total number of group channels associated with the user (sum of joined and invited channels).\").nullable(),\n joined: z.number().int().default(0).describe(\"Number of group channels the user is currently a member of (has joined).\").nullable().optional(),\n invited: z.number().int().default(0).describe(\"Number of group channels the user has been invited to but has not yet joined.\").nullable().optional(),\n invited_by_friend: z.number().int().default(0).describe(\"Number of group channels the user has been invited to by a friend (if friend feature is enabled).\").nullable().optional(),\n invited_by_non_friend: z.number().int().default(0).describe(\"Number of group channels the user has been invited to by someone who is not a friend.\").nullable().optional(),\n}).describe(\"Response model for group channel count by join status. Contains counts of channels where the user is invited or has joined.\");\n\nexport const sendbirdGetNumberOfChannelsByJoinStatus = action(\"SENDBIRD_GET_NUMBER_OF_CHANNELS_BY_JOIN_STATUS\", {\n slug: \"sendbird-get-number-of-channels-by-join-status\",\n name: \"Get User Group Channel Count by Join Status\",\n description: \"Retrieves the number of group channels for a user, categorized by join status (joined, invited, etc.). Use this tool to get channel count statistics for a specific user, optionally filtered by channel properties like visibility (public/private), distinctness, or super mode. Returns counts of joined channels, invited channels (with friend/non-friend breakdown), and total count.\",\n input: SendbirdGetNumberOfChannelsByJoinStatusInput,\n output: SendbirdGetNumberOfChannelsByJoinStatusOutput,\n});\n"],"mappings":";;AAmBA,MAAa,0CAA0C,OAAO,kDAAkD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB0D,EAAE,OAAO;EACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;EAC5G,YAAY,EAAE,KAAK;GAAC;GAAO;GAAS;EAAU,CAAC,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;EACrO,aAAa,EAAE,KAAK;GAAC;GAAO;GAAU;EAAS,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;EAC5N,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;EACzN,eAAe,EAAE,KAAK;GAAC;GAAO;GAAY;EAAa,CAAC,CAAC,CAAC,SAAS,uLAAuL,CAAC,CAAC,SAAS;CACvQ,CAAC,CAAC,CAAC,SAAS,gFAaH;CACP,QAb2D,EAAE,OAAO;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EAC3I,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjL,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,CAAC,CAAC,CAAC,SAAS,6HAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-number-of-unread-items.cjs","names":["z","action"],"sources":["../../src/actions/get-number-of-unread-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdGetNumberOfUnreadItemsInput
|
|
1
|
+
{"version":3,"file":"get-number-of-unread-items.cjs","names":["z","action"],"sources":["../../src/actions/get-number-of-unread-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdGetNumberOfUnreadItemsInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user whose unread item counts are to be retrieved.\"),\n item_keys: z.string().describe(\"Comma-separated list of item keys to retrieve. Options: non_super_group_channel_unread_message_count, super_group_channel_unread_message_count, group_channel_unread_message_count, non_super_group_channel_unread_mention_count, super_group_channel_unread_mention_count, group_channel_unread_mention_count, non_super_group_channel_invitation_count, super_group_channel_invitation_count, group_channel_invitation_count. If not specified, returns all available counts.\").optional(),\n custom_types: z.string().describe(\"Comma-separated list of custom channel types to filter the count by.\").optional(),\n}).describe(\"Request model for retrieving unread item counts for a Sendbird user.\\nRetrieves unread messages, mentions, and invitation counts in group channels.\");\nexport const SendbirdGetNumberOfUnreadItemsOutput = z.object({\n group_channel_invitation_count: z.number().int().describe(\"Total count of pending invitations across all group channels.\").nullable().optional(),\n group_channel_unread_mention_count: z.number().int().describe(\"Total count of unread mentions across all group channels.\").nullable().optional(),\n group_channel_unread_message_count: z.number().int().describe(\"Total count of unread messages across all group channels.\").nullable().optional(),\n super_group_channel_invitation_count: z.number().int().describe(\"Count of pending invitations in super group channels.\").nullable().optional(),\n non_super_group_channel_invitation_count: z.number().int().describe(\"Count of pending invitations in non-super group channels.\").nullable().optional(),\n super_group_channel_unread_mention_count: z.number().int().describe(\"Count of unread mentions in super group channels.\").nullable().optional(),\n super_group_channel_unread_message_count: z.number().int().describe(\"Count of unread messages in super group channels.\").nullable().optional(),\n non_super_group_channel_unread_mention_count: z.number().int().describe(\"Count of unread mentions in non-super group channels.\").nullable().optional(),\n non_super_group_channel_unread_message_count: z.number().int().describe(\"Count of unread messages in non-super group channels.\").nullable().optional(),\n}).describe(\"Response model for Sendbird unread item counts.\\nReturns various counts for unread messages, mentions, and invitations\\nacross different channel types.\");\n\nexport const sendbirdGetNumberOfUnreadItems = action(\"SENDBIRD_GET_NUMBER_OF_UNREAD_ITEMS\", {\n slug: \"sendbird-get-number-of-unread-items\",\n name: \"Sendbird Get Unread Item Count\",\n description: \"Tool to retrieve a user's unread item counts including unread messages, mentions, and pending invitations across group channels. Use this to display unread counts in the UI for a specific user.\",\n input: SendbirdGetNumberOfUnreadItemsInput,\n output: SendbirdGetNumberOfUnreadItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,idAAid,CAAC,CAAC,SAAS;CAC3f,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,qJAAqJ;AACjK,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,oCAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,oCAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,0CAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,0CAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,0CAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,8CAA8CA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,8CAA8CA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,yJAAyJ;AAErK,MAAa,iCAAiCC,eAAAA,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-number-of-unread-items.d.ts
|
|
4
|
-
declare const SendbirdGetNumberOfUnreadItemsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendbirdGetNumberOfUnreadItemsInput: z.ZodObject<{
|
|
5
|
+
user_id: z.ZodString;
|
|
6
|
+
item_keys: z.ZodOptional<z.ZodString>;
|
|
7
|
+
custom_types: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const SendbirdGetNumberOfUnreadItemsOutput: z.ZodObject<{
|
|
10
|
+
group_channel_invitation_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
group_channel_unread_mention_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
group_channel_unread_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
super_group_channel_invitation_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
non_super_group_channel_invitation_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
super_group_channel_unread_mention_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
super_group_channel_unread_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
non_super_group_channel_unread_mention_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
non_super_group_channel_unread_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
declare const sendbirdGetNumberOfUnreadItems: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
|
+
user_id: string;
|
|
22
|
+
item_keys?: string | undefined;
|
|
23
|
+
custom_types?: string | undefined;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { sendbirdGetNumberOfUnreadItems };
|
|
9
27
|
//# sourceMappingURL=get-number-of-unread-items.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-number-of-unread-items.d.cts","names":[],"sources":["../../src/actions/get-number-of-unread-items.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"get-number-of-unread-items.d.cts","names":[],"sources":["../../src/actions/get-number-of-unread-items.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAKnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-number-of-unread-items.d.ts
|
|
4
|
-
declare const SendbirdGetNumberOfUnreadItemsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendbirdGetNumberOfUnreadItemsInput: z.ZodObject<{
|
|
5
|
+
user_id: z.ZodString;
|
|
6
|
+
item_keys: z.ZodOptional<z.ZodString>;
|
|
7
|
+
custom_types: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const SendbirdGetNumberOfUnreadItemsOutput: z.ZodObject<{
|
|
10
|
+
group_channel_invitation_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
group_channel_unread_mention_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
group_channel_unread_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
super_group_channel_invitation_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
non_super_group_channel_invitation_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
super_group_channel_unread_mention_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
super_group_channel_unread_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
non_super_group_channel_unread_mention_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
non_super_group_channel_unread_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
declare const sendbirdGetNumberOfUnreadItems: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
|
+
user_id: string;
|
|
22
|
+
item_keys?: string | undefined;
|
|
23
|
+
custom_types?: string | undefined;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { sendbirdGetNumberOfUnreadItems };
|
|
9
27
|
//# sourceMappingURL=get-number-of-unread-items.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-number-of-unread-items.d.mts","names":[],"sources":["../../src/actions/get-number-of-unread-items.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"get-number-of-unread-items.d.mts","names":[],"sources":["../../src/actions/get-number-of-unread-items.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAKnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-number-of-unread-items.mjs","names":[],"sources":["../../src/actions/get-number-of-unread-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdGetNumberOfUnreadItemsInput
|
|
1
|
+
{"version":3,"file":"get-number-of-unread-items.mjs","names":[],"sources":["../../src/actions/get-number-of-unread-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdGetNumberOfUnreadItemsInput = z.object({\n user_id: z.string().describe(\"Unique ID of the user whose unread item counts are to be retrieved.\"),\n item_keys: z.string().describe(\"Comma-separated list of item keys to retrieve. Options: non_super_group_channel_unread_message_count, super_group_channel_unread_message_count, group_channel_unread_message_count, non_super_group_channel_unread_mention_count, super_group_channel_unread_mention_count, group_channel_unread_mention_count, non_super_group_channel_invitation_count, super_group_channel_invitation_count, group_channel_invitation_count. If not specified, returns all available counts.\").optional(),\n custom_types: z.string().describe(\"Comma-separated list of custom channel types to filter the count by.\").optional(),\n}).describe(\"Request model for retrieving unread item counts for a Sendbird user.\\nRetrieves unread messages, mentions, and invitation counts in group channels.\");\nexport const SendbirdGetNumberOfUnreadItemsOutput = z.object({\n group_channel_invitation_count: z.number().int().describe(\"Total count of pending invitations across all group channels.\").nullable().optional(),\n group_channel_unread_mention_count: z.number().int().describe(\"Total count of unread mentions across all group channels.\").nullable().optional(),\n group_channel_unread_message_count: z.number().int().describe(\"Total count of unread messages across all group channels.\").nullable().optional(),\n super_group_channel_invitation_count: z.number().int().describe(\"Count of pending invitations in super group channels.\").nullable().optional(),\n non_super_group_channel_invitation_count: z.number().int().describe(\"Count of pending invitations in non-super group channels.\").nullable().optional(),\n super_group_channel_unread_mention_count: z.number().int().describe(\"Count of unread mentions in super group channels.\").nullable().optional(),\n super_group_channel_unread_message_count: z.number().int().describe(\"Count of unread messages in super group channels.\").nullable().optional(),\n non_super_group_channel_unread_mention_count: z.number().int().describe(\"Count of unread mentions in non-super group channels.\").nullable().optional(),\n non_super_group_channel_unread_message_count: z.number().int().describe(\"Count of unread messages in non-super group channels.\").nullable().optional(),\n}).describe(\"Response model for Sendbird unread item counts.\\nReturns various counts for unread messages, mentions, and invitations\\nacross different channel types.\");\n\nexport const sendbirdGetNumberOfUnreadItems = action(\"SENDBIRD_GET_NUMBER_OF_UNREAD_ITEMS\", {\n slug: \"sendbird-get-number-of-unread-items\",\n name: \"Sendbird Get Unread Item Count\",\n description: \"Tool to retrieve a user's unread item counts including unread messages, mentions, and pending invitations across group channels. Use this to display unread counts in the UI for a specific user.\",\n input: SendbirdGetNumberOfUnreadItemsInput,\n output: SendbirdGetNumberOfUnreadItemsOutput,\n});\n"],"mappings":";;AAqBA,MAAa,iCAAiC,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBiD,EAAE,OAAO;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EAClG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,idAAid,CAAC,CAAC,SAAS;EAC3f,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,qJAiBH;CACP,QAjBkD,EAAE,OAAO;EAC3D,gCAAgC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,oCAAoC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,oCAAoC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,sCAAsC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,0CAA0C,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,0CAA0C,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,0CAA0C,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,8CAA8C,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,8CAA8C,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,SAAS,yJAOF;AACV,CAAC"}
|
|
@@ -6,9 +6,9 @@ const SendbirdIssueSessionTokenInput = zod.z.object({
|
|
|
6
6
|
expires_at: zod.z.number().int().describe("Optional token expiration timestamp in Unix milliseconds. If omitted, the default token lifetime is used.").optional()
|
|
7
7
|
}).describe("Request model for issuing a session token to a Sendbird user.");
|
|
8
8
|
const SendbirdIssueSessionTokenOutput = zod.z.object({
|
|
9
|
-
token: zod.z.string().describe("The session token issued for the user."),
|
|
9
|
+
token: zod.z.string().describe("The session token issued for the user.").nullable(),
|
|
10
10
|
user_id: zod.z.string().describe("The ID of the user the token was issued for.").nullable().optional(),
|
|
11
|
-
expires_at: zod.z.number().int().describe("Expiration timestamp of the session token in Unix milliseconds.")
|
|
11
|
+
expires_at: zod.z.number().int().describe("Expiration timestamp of the session token in Unix milliseconds.").nullable()
|
|
12
12
|
}).describe("Response model for the issued session token.");
|
|
13
13
|
const sendbirdIssueSessionToken = require_action.action("SENDBIRD_ISSUE_SESSION_TOKEN", {
|
|
14
14
|
slug: "sendbird-issue-session-token",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issue-session-token.cjs","names":["z","action"],"sources":["../../src/actions/issue-session-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdIssueSessionTokenInput
|
|
1
|
+
{"version":3,"file":"issue-session-token.cjs","names":["z","action"],"sources":["../../src/actions/issue-session-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendbirdIssueSessionTokenInput = z.object({\n user_id: z.string().describe(\"The unique ID of the user to issue a session token for.\"),\n expires_at: z.number().int().describe(\"Optional token expiration timestamp in Unix milliseconds. If omitted, the default token lifetime is used.\").optional(),\n}).describe(\"Request model for issuing a session token to a Sendbird user.\");\nexport const SendbirdIssueSessionTokenOutput = z.object({\n token: z.string().describe(\"The session token issued for the user.\").nullable(),\n user_id: z.string().describe(\"The ID of the user the token was issued for.\").nullable().optional(),\n expires_at: z.number().int().describe(\"Expiration timestamp of the session token in Unix milliseconds.\").nullable(),\n}).describe(\"Response model for the issued session token.\");\n\nexport const sendbirdIssueSessionToken = action(\"SENDBIRD_ISSUE_SESSION_TOKEN\", {\n slug: \"sendbird-issue-session-token\",\n name: \"Issue Session Token\",\n description: \"Issues a session token for authenticating a Sendbird user. Use this tool when you need to: - Generate a new session token for SDK authentication - Refresh an expiring or expired session token - Provide secure access for a user to connect to Sendbird chat The session token has a default expiration of 7 days if expires_at is not specified.\",\n input: SendbirdIssueSessionTokenInput,\n output: SendbirdIssueSessionTokenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/issue-session-token.d.ts
|
|
4
|
-
declare const SendbirdIssueSessionTokenInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendbirdIssueSessionTokenInput: z.ZodObject<{
|
|
5
|
+
user_id: z.ZodString;
|
|
6
|
+
expires_at: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SendbirdIssueSessionTokenOutput: z.ZodObject<{
|
|
9
|
+
token: z.ZodNullable<z.ZodString>;
|
|
10
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
expires_at: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const sendbirdIssueSessionToken: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
|
+
user_id: string;
|
|
15
|
+
expires_at?: number | undefined;
|
|
16
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { sendbirdIssueSessionToken };
|
|
9
19
|
//# sourceMappingURL=issue-session-token.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issue-session-token.d.cts","names":[],"sources":["../../src/actions/issue-session-token.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"issue-session-token.d.cts","names":[],"sources":["../../src/actions/issue-session-token.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,gCAAyB,wBAAA"}
|