@keystrokehq/sendbird 0.1.3 → 0.1.5
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/actions/add-members-group-channel.d.cts +15 -1
- package/dist/actions/add-members-group-channel.d.mts +15 -1
- package/dist/actions/ban-user-from-group-channel.d.cts +15 -1
- package/dist/actions/ban-user-from-group-channel.d.mts +15 -1
- package/dist/actions/create-channel.d.cts +15 -1
- package/dist/actions/create-channel.d.cts.map +1 -1
- package/dist/actions/create-channel.d.mts +15 -1
- package/dist/actions/create-channel.d.mts.map +1 -1
- package/dist/actions/create-user.d.cts +15 -1
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +15 -1
- package/dist/actions/create-user.d.mts.map +1 -1
- package/dist/actions/delete-channel.d.cts +15 -1
- package/dist/actions/delete-channel.d.mts +15 -1
- package/dist/actions/delete-message.d.cts +15 -1
- package/dist/actions/delete-message.d.mts +15 -1
- package/dist/actions/delete-user.d.cts +15 -1
- package/dist/actions/delete-user.d.mts +15 -1
- package/dist/actions/get-count-preference-of-channel.d.cts +15 -1
- package/dist/actions/get-count-preference-of-channel.d.mts +15 -1
- package/dist/actions/get-number-of-channels-by-join-status.d.cts +15 -1
- package/dist/actions/get-number-of-channels-by-join-status.d.mts +15 -1
- package/dist/actions/get-number-of-unread-items.d.cts +15 -1
- package/dist/actions/get-number-of-unread-items.d.mts +15 -1
- package/dist/actions/issue-session-token.d.cts +15 -1
- package/dist/actions/issue-session-token.d.mts +15 -1
- package/dist/actions/leave-group-channels.d.cts +15 -1
- package/dist/actions/leave-group-channels.d.mts +15 -1
- package/dist/actions/list-banned-members.d.cts +15 -1
- package/dist/actions/list-banned-members.d.mts +15 -1
- package/dist/actions/list-group-channel-messages.d.cts +15 -1
- package/dist/actions/list-group-channel-messages.d.mts +15 -1
- package/dist/actions/list-group-channels.d.cts +15 -1
- package/dist/actions/list-group-channels.d.mts +15 -1
- package/dist/actions/list-members-group-channel.d.cts +15 -1
- package/dist/actions/list-members-group-channel.d.mts +15 -1
- package/dist/actions/list-operators-custom-channel-type.d.cts +15 -1
- package/dist/actions/list-operators-custom-channel-type.d.mts +15 -1
- package/dist/actions/list-operators-group-channel.d.cts +15 -1
- package/dist/actions/list-operators-group-channel.d.mts +15 -1
- package/dist/actions/list-operators-open-channel.d.cts +15 -1
- package/dist/actions/list-operators-open-channel.d.mts +15 -1
- package/dist/actions/list-users.d.cts +15 -1
- package/dist/actions/list-users.d.mts +15 -1
- package/dist/actions/mark-all-user-messages-as-read.d.cts +15 -1
- package/dist/actions/mark-all-user-messages-as-read.d.mts +15 -1
- package/dist/actions/mute-user.d.cts +15 -1
- package/dist/actions/mute-user.d.mts +15 -1
- package/dist/actions/register-operators-custom-channel-type.d.cts +15 -1
- package/dist/actions/register-operators-custom-channel-type.d.mts +15 -1
- package/dist/actions/register-operators-group-channel.d.cts +15 -1
- package/dist/actions/register-operators-group-channel.d.mts +15 -1
- package/dist/actions/register-operators-open-channel.d.cts +15 -1
- package/dist/actions/register-operators-open-channel.d.mts +15 -1
- package/dist/actions/revoke-all-session-tokens.d.cts +15 -1
- package/dist/actions/revoke-all-session-tokens.d.mts +15 -1
- package/dist/actions/send-message.d.cts +15 -1
- package/dist/actions/send-message.d.mts +15 -1
- package/dist/actions/unban-user.d.cts +15 -1
- package/dist/actions/unban-user.d.mts +15 -1
- package/dist/actions/unmute-user.d.cts +15 -1
- package/dist/actions/unmute-user.d.mts +15 -1
- package/dist/actions/unregister-operators-custom-channel-type.d.cts +15 -1
- package/dist/actions/unregister-operators-custom-channel-type.d.mts +15 -1
- package/dist/actions/update-count-preference-of-channel.d.cts +15 -1
- package/dist/actions/update-count-preference-of-channel.d.mts +15 -1
- package/dist/actions/update-group-channel.d.cts +15 -1
- package/dist/actions/update-group-channel.d.mts +15 -1
- package/dist/actions/update-message.d.cts +15 -1
- package/dist/actions/update-message.d.cts.map +1 -1
- package/dist/actions/update-message.d.mts +15 -1
- package/dist/actions/update-message.d.mts.map +1 -1
- package/dist/actions/update-user.d.cts +15 -1
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +15 -1
- package/dist/actions/update-user.d.mts.map +1 -1
- package/dist/actions/view-group-channel.d.cts +15 -1
- package/dist/actions/view-group-channel.d.mts +15 -1
- package/dist/actions/view-message.d.cts +15 -1
- package/dist/actions/view-message.d.mts +15 -1
- package/dist/actions/view-user.d.cts +15 -1
- package/dist/actions/view-user.d.mts +15 -1
- package/dist/app.cjs +8 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +10 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +10 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +6 -1
- package/dist/app.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
1
3
|
//#region src/app.d.ts
|
|
2
|
-
declare const sendbird: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential
|
|
4
|
+
declare const sendbird: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"sendbird", z.ZodObject<{
|
|
5
|
+
connectionId: z.ZodString;
|
|
6
|
+
entityId: z.ZodString;
|
|
7
|
+
instanceId: z.ZodString;
|
|
8
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9
|
+
subdomain: z.ZodString;
|
|
10
|
+
generic_api_key: z.ZodString;
|
|
11
|
+
}, z.core.$strip>>>;
|
|
3
12
|
//#endregion
|
|
4
13
|
export { sendbird };
|
|
5
14
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
2
3
|
//#region src/app.ts
|
|
3
4
|
const sendbird = defineApp({
|
|
4
5
|
slug: "sendbird",
|
|
5
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential: {
|
|
8
|
+
subdomain: z.string(),
|
|
9
|
+
generic_api_key: z.string()
|
|
10
|
+
}
|
|
6
11
|
});
|
|
7
12
|
//#endregion
|
|
8
13
|
export { sendbird };
|
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const sendbird = defineApp({\n slug: \"sendbird\",\n auth: \"keystroke\",\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const sendbird = defineApp({\n slug: \"sendbird\",\n auth: \"keystroke\",\n credential: {\n subdomain: z.string(),\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;CACN,YAAY;EACV,WAAW,EAAE,OAAO;EACpB,iBAAiB,EAAE,OAAO;CAC5B;AACF,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -13,7 +13,7 @@ const sendbirdCatalog = {
|
|
|
13
13
|
"label": "Sendbird Application ID",
|
|
14
14
|
"description": "The unique identifier for your Sendbird application, used to construct the base URL for API requests."
|
|
15
15
|
},
|
|
16
|
-
"
|
|
16
|
+
"generic_api_key": {
|
|
17
17
|
"label": "Sendbird API Token",
|
|
18
18
|
"secret": true,
|
|
19
19
|
"description": "The API token used for authenticating requests to the Sendbird API. This should be added to the Api-Token header."
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sendbirdCatalog = {\n \"slug\": \"sendbird\",\n \"name\": \"Sendbird\",\n \"description\": \"Sendbird is a platform that provides chat, voice, and video APIs to help businesses build in-app communication features.\",\n \"category\": \"Communication\",\n \"logo\": \"https://logos.composio.dev/api/sendbird\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Sendbird Application ID\",\n \"description\": \"The unique identifier for your Sendbird application, used to construct the base URL for API requests.\"\n },\n \"
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sendbirdCatalog = {\n \"slug\": \"sendbird\",\n \"name\": \"Sendbird\",\n \"description\": \"Sendbird is a platform that provides chat, voice, and video APIs to help businesses build in-app communication features.\",\n \"category\": \"Communication\",\n \"logo\": \"https://logos.composio.dev/api/sendbird\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Sendbird Application ID\",\n \"description\": \"The unique identifier for your Sendbird application, used to construct the base URL for API requests.\"\n },\n \"generic_api_key\": {\n \"label\": \"Sendbird API Token\",\n \"secret\": true,\n \"description\": \"The API token used for authenticating requests to the Sendbird API. This should be added to the Api-Token header.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,aAAa;GACX,SAAS;GACT,eAAe;EACjB;EACA,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -13,7 +13,7 @@ declare const sendbirdCatalog: {
|
|
|
13
13
|
readonly label: "Sendbird Application ID";
|
|
14
14
|
readonly description: "The unique identifier for your Sendbird application, used to construct the base URL for API requests.";
|
|
15
15
|
};
|
|
16
|
-
readonly
|
|
16
|
+
readonly generic_api_key: {
|
|
17
17
|
readonly label: "Sendbird API Token";
|
|
18
18
|
readonly secret: true;
|
|
19
19
|
readonly description: "The API token used for authenticating requests to the Sendbird API. This should be added to the Api-Token header.";
|
package/dist/catalog.d.mts
CHANGED
|
@@ -13,7 +13,7 @@ declare const sendbirdCatalog: {
|
|
|
13
13
|
readonly label: "Sendbird Application ID";
|
|
14
14
|
readonly description: "The unique identifier for your Sendbird application, used to construct the base URL for API requests.";
|
|
15
15
|
};
|
|
16
|
-
readonly
|
|
16
|
+
readonly generic_api_key: {
|
|
17
17
|
readonly label: "Sendbird API Token";
|
|
18
18
|
readonly secret: true;
|
|
19
19
|
readonly description: "The API token used for authenticating requests to the Sendbird API. This should be added to the Api-Token header.";
|
package/dist/catalog.mjs
CHANGED
|
@@ -13,7 +13,7 @@ const sendbirdCatalog = {
|
|
|
13
13
|
"label": "Sendbird Application ID",
|
|
14
14
|
"description": "The unique identifier for your Sendbird application, used to construct the base URL for API requests."
|
|
15
15
|
},
|
|
16
|
-
"
|
|
16
|
+
"generic_api_key": {
|
|
17
17
|
"label": "Sendbird API Token",
|
|
18
18
|
"secret": true,
|
|
19
19
|
"description": "The API token used for authenticating requests to the Sendbird API. This should be added to the Api-Token header."
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sendbirdCatalog = {\n \"slug\": \"sendbird\",\n \"name\": \"Sendbird\",\n \"description\": \"Sendbird is a platform that provides chat, voice, and video APIs to help businesses build in-app communication features.\",\n \"category\": \"Communication\",\n \"logo\": \"https://logos.composio.dev/api/sendbird\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Sendbird Application ID\",\n \"description\": \"The unique identifier for your Sendbird application, used to construct the base URL for API requests.\"\n },\n \"
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sendbirdCatalog = {\n \"slug\": \"sendbird\",\n \"name\": \"Sendbird\",\n \"description\": \"Sendbird is a platform that provides chat, voice, and video APIs to help businesses build in-app communication features.\",\n \"category\": \"Communication\",\n \"logo\": \"https://logos.composio.dev/api/sendbird\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Sendbird Application ID\",\n \"description\": \"The unique identifier for your Sendbird application, used to construct the base URL for API requests.\"\n },\n \"generic_api_key\": {\n \"label\": \"Sendbird API Token\",\n \"secret\": true,\n \"description\": \"The API token used for authenticating requests to the Sendbird API. This should be added to the Api-Token header.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,aAAa;GACX,SAAS;GACT,eAAe;EACjB;EACA,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
|