@squadbase/connectors 0.1.2-dev.5 → 0.1.2-dev.6
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.d.ts +2 -2
- package/dist/index.js +9 -7
- package/dist/sdk.js +1 -1
- package/package.json +1 -1
- package/dist/{chunk-HHVJKPCD.js → chunk-5TTOOD5N.js} +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -709,8 +709,8 @@ declare const connectors: {
|
|
|
709
709
|
}>;
|
|
710
710
|
msTeams: ConnectorPlugin<{
|
|
711
711
|
clientId: ParameterDefinition;
|
|
712
|
-
clientSecret: ParameterDefinition;
|
|
713
712
|
tenantId: ParameterDefinition;
|
|
713
|
+
clientSecret: ParameterDefinition;
|
|
714
714
|
}, {}>;
|
|
715
715
|
msTeamsOauth: ConnectorPlugin<{}, {
|
|
716
716
|
request: ConnectorTool<{
|
|
@@ -1315,8 +1315,8 @@ declare const shopifyOauthConnector: ConnectorPlugin<{}, {
|
|
|
1315
1315
|
|
|
1316
1316
|
declare const msTeamsConnector: ConnectorPlugin<{
|
|
1317
1317
|
clientId: ParameterDefinition;
|
|
1318
|
-
clientSecret: ParameterDefinition;
|
|
1319
1318
|
tenantId: ParameterDefinition;
|
|
1319
|
+
clientSecret: ParameterDefinition;
|
|
1320
1320
|
}, {}>;
|
|
1321
1321
|
|
|
1322
1322
|
declare const msTeamsOauthConnector: ConnectorPlugin<{}, {
|
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
parameters7,
|
|
19
19
|
parameters8,
|
|
20
20
|
parameters9
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5TTOOD5N.js";
|
|
22
22
|
|
|
23
23
|
// src/connector-setup.ts
|
|
24
24
|
var ConnectorSetup = class {
|
|
@@ -6590,7 +6590,7 @@ var requestToolName6 = `microsoft-teams-oauth_${requestTool14.name}`;
|
|
|
6590
6590
|
var msTeamsOauthSetup = new ConnectorSetup({
|
|
6591
6591
|
ja: `## Microsoft Teams \u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u624B\u9806
|
|
6592
6592
|
|
|
6593
|
-
\u4EE5\u4E0B\u306E\u624B\u9806\
|
|
6593
|
+
\u4EE5\u4E0B\u306E\u624B\u9806\u3092\u6B63\u78BA\u306B\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u624B\u9806\u306B\u8A18\u8F09\u306E\u306A\u3044\u8FFD\u52A0\u306EAPI\u30EA\u30AF\u30A8\u30B9\u30C8\u306F\u4E00\u5207\u884C\u308F\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002
|
|
6594
6594
|
|
|
6595
6595
|
### \u624B\u9806
|
|
6596
6596
|
|
|
@@ -6602,18 +6602,19 @@ var msTeamsOauthSetup = new ConnectorSetup({
|
|
|
6602
6602
|
|
|
6603
6603
|
#### \u30B9\u30C6\u30C3\u30D72: \u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u5B8C\u4E86
|
|
6604
6604
|
1. \`updateConnectionContext\` \u3092\u547C\u3073\u51FA\u3059:
|
|
6605
|
-
- \`user\`: Microsoft \u30E6\u30FC\u30B6\u30FC\u60C5\u5831
|
|
6605
|
+
- \`user\`: Microsoft \u30E6\u30FC\u30B6\u30FC\u60C5\u5831\uFF08displayName, mail \u306A\u3069\uFF09
|
|
6606
6606
|
- \`note\`: \u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u5185\u5BB9\u306E\u7C21\u5358\u306A\u8AAC\u660E
|
|
6607
6607
|
|
|
6608
6608
|
### \u91CD\u8981\u306A\u5236\u7D04
|
|
6609
|
-
- **\
|
|
6609
|
+
- **\u4E0A\u8A182\u30B9\u30C6\u30C3\u30D7\u306E\u307F\u5B9F\u884C\u3059\u308B\u3053\u3068**\u3002Teams\u4E00\u89A7\u306E\u53D6\u5F97\u3001\u30C1\u30E3\u30F3\u30CD\u30EB\u4E00\u89A7\u306E\u53D6\u5F97\u3001\u30E1\u30C3\u30BB\u30FC\u30B8\u306E\u8AAD\u307F\u53D6\u308A\u306A\u3069\u3001\u624B\u9806\u306B\u8A18\u8F09\u306E\u306A\u3044API\u30EA\u30AF\u30A8\u30B9\u30C8\u306F\u4E00\u5207\u7981\u6B62
|
|
6610
|
+
- \u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u306F\u63A5\u7D9A\u78BA\u8A8D\u306E\u307F\u304C\u76EE\u7684\u3002\u30C7\u30FC\u30BF\u63A2\u7D22\u306F\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7\u5B8C\u4E86\u5F8C\u306B\u30E6\u30FC\u30B6\u30FC\u304C\u884C\u3046
|
|
6610
6611
|
|
|
6611
6612
|
### \u5B9F\u884C\u65B9\u91DD
|
|
6612
6613
|
- \u30C4\u30FC\u30EB\u9593\u306F1\u6587\u3060\u3051\u66F8\u3044\u3066\u5373\u6B21\u306E\u30C4\u30FC\u30EB\u547C\u3073\u51FA\u3057
|
|
6613
6614
|
- \u4E0D\u8981\u306A\u8AAC\u660E\u306F\u7701\u7565\u3057\u3001\u52B9\u7387\u7684\u306B\u9032\u3081\u308B`,
|
|
6614
6615
|
en: `## Microsoft Teams Setup Instructions
|
|
6615
6616
|
|
|
6616
|
-
Follow these steps
|
|
6617
|
+
Follow these steps exactly. Do NOT make any API requests not listed in the steps below.
|
|
6617
6618
|
|
|
6618
6619
|
### Steps
|
|
6619
6620
|
|
|
@@ -6625,11 +6626,12 @@ Follow these steps to set up the Microsoft Teams connection.
|
|
|
6625
6626
|
|
|
6626
6627
|
#### Step 2: Complete Setup
|
|
6627
6628
|
1. Call \`updateConnectionContext\`:
|
|
6628
|
-
- \`user\`: Microsoft user info
|
|
6629
|
+
- \`user\`: Microsoft user info (displayName, mail, etc.)
|
|
6629
6630
|
- \`note\`: Brief description of the setup
|
|
6630
6631
|
|
|
6631
6632
|
### Important Constraints
|
|
6632
|
-
- **Do NOT
|
|
6633
|
+
- **Only execute the 2 steps above**. Do NOT fetch Teams list, channels, messages, or make any API requests not specified in the steps
|
|
6634
|
+
- Setup is only for connection verification. Data exploration is done by the user after setup is complete
|
|
6633
6635
|
|
|
6634
6636
|
### Execution Policy
|
|
6635
6637
|
- Write only 1 sentence between tool calls, then immediately call the next tool
|
package/dist/sdk.js
CHANGED
package/package.json
CHANGED
|
@@ -391,15 +391,6 @@ var parameters18 = {
|
|
|
391
391
|
secret: false,
|
|
392
392
|
required: true
|
|
393
393
|
}),
|
|
394
|
-
clientSecret: new ParameterDefinition({
|
|
395
|
-
slug: "client-secret",
|
|
396
|
-
name: "Azure AD Client Secret",
|
|
397
|
-
description: "The client secret from your Azure AD app registration.",
|
|
398
|
-
envVarBaseKey: "MS_TEAMS_CLIENT_SECRET",
|
|
399
|
-
type: "text",
|
|
400
|
-
secret: true,
|
|
401
|
-
required: true
|
|
402
|
-
}),
|
|
403
394
|
tenantId: new ParameterDefinition({
|
|
404
395
|
slug: "tenant-id",
|
|
405
396
|
name: "Azure AD Tenant ID",
|
|
@@ -408,6 +399,15 @@ var parameters18 = {
|
|
|
408
399
|
type: "text",
|
|
409
400
|
secret: false,
|
|
410
401
|
required: true
|
|
402
|
+
}),
|
|
403
|
+
clientSecret: new ParameterDefinition({
|
|
404
|
+
slug: "client-secret",
|
|
405
|
+
name: "Azure AD Client Secret",
|
|
406
|
+
description: "The client secret from your Azure AD app registration.",
|
|
407
|
+
envVarBaseKey: "MS_TEAMS_CLIENT_SECRET",
|
|
408
|
+
type: "text",
|
|
409
|
+
secret: true,
|
|
410
|
+
required: true
|
|
411
411
|
})
|
|
412
412
|
};
|
|
413
413
|
|