@squadbase/connectors 0.1.2-dev.3 → 0.1.2-dev.4
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/index.js +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6314,7 +6314,7 @@ const data = await res.json();
|
|
|
6314
6314
|
// src/connectors/ms-teams/index.ts
|
|
6315
6315
|
var tools31 = {};
|
|
6316
6316
|
var msTeamsConnector = new ConnectorPlugin({
|
|
6317
|
-
slug: "
|
|
6317
|
+
slug: "microsoft-teams",
|
|
6318
6318
|
authType: null,
|
|
6319
6319
|
name: "Microsoft Teams",
|
|
6320
6320
|
description: "Connect to Microsoft Teams for messaging, channels, and team data.",
|
|
@@ -6325,7 +6325,7 @@ var msTeamsConnector = new ConnectorPlugin({
|
|
|
6325
6325
|
Use the Microsoft Teams connector via the SDK in TypeScript handlers:
|
|
6326
6326
|
|
|
6327
6327
|
\`\`\`ts
|
|
6328
|
-
import { connection } from "@squadbase/vite-server/connectors/
|
|
6328
|
+
import { connection } from "@squadbase/vite-server/connectors/microsoft-teams";
|
|
6329
6329
|
|
|
6330
6330
|
const { clientId, clientSecret, tenantId } = connection("<connectionId>");
|
|
6331
6331
|
|
|
@@ -6495,7 +6495,7 @@ Authentication is handled automatically via OAuth proxy.`,
|
|
|
6495
6495
|
});
|
|
6496
6496
|
|
|
6497
6497
|
// src/connectors/ms-teams-oauth/setup.ts
|
|
6498
|
-
var requestToolName6 = `
|
|
6498
|
+
var requestToolName6 = `microsoft-teams-oauth_${requestTool14.name}`;
|
|
6499
6499
|
var msTeamsOauthSetup = new ConnectorSetup({
|
|
6500
6500
|
ja: `## Microsoft Teams \u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u624B\u9806
|
|
6501
6501
|
|
|
@@ -6551,7 +6551,7 @@ var parameters32 = {};
|
|
|
6551
6551
|
// src/connectors/ms-teams-oauth/index.ts
|
|
6552
6552
|
var tools32 = { request: requestTool14 };
|
|
6553
6553
|
var msTeamsOauthConnector = new ConnectorPlugin({
|
|
6554
|
-
slug: "
|
|
6554
|
+
slug: "microsoft-teams",
|
|
6555
6555
|
authType: AUTH_TYPES.OAUTH,
|
|
6556
6556
|
name: "Microsoft Teams (OAuth)",
|
|
6557
6557
|
description: "Connect to Microsoft Teams for messaging, channels, and team data using OAuth.",
|
|
@@ -6600,7 +6600,7 @@ var msTeamsOauthConnector = new ConnectorPlugin({
|
|
|
6600
6600
|
## Microsoft Teams SDK (TypeScript handler)
|
|
6601
6601
|
|
|
6602
6602
|
\`\`\`ts
|
|
6603
|
-
import { connection } from "@squadbase/vite-server/connectors/
|
|
6603
|
+
import { connection } from "@squadbase/vite-server/connectors/microsoft-teams-oauth";
|
|
6604
6604
|
|
|
6605
6605
|
const teams = connection("<connectionId>");
|
|
6606
6606
|
|