@pipedream/microsoft_teams 0.1.4 → 0.1.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/actions/create-channel/create-channel.mjs +6 -1
- package/actions/list-channels/list-channels.mjs +6 -1
- package/actions/list-shifts/list-shifts.mjs +6 -1
- package/actions/send-channel-message/send-channel-message.mjs +6 -1
- package/actions/send-chat-message/send-chat-message.mjs +6 -1
- package/package.json +2 -2
- package/sources/common/base.mjs +2 -2
- package/sources/new-channel/new-channel.mjs +1 -1
- package/sources/new-channel-message/new-channel-message.mjs +1 -1
- package/sources/new-chat/new-chat.mjs +1 -1
- package/sources/new-chat-message/new-chat-message.mjs +1 -1
- package/sources/new-team/new-team.mjs +1 -1
- package/sources/new-team-member/new-team-member.mjs +1 -1
|
@@ -5,7 +5,12 @@ export default {
|
|
|
5
5
|
name: "Create Channel",
|
|
6
6
|
description: "Create a new channel in Microsoft Teams. [See the docs here](https://docs.microsoft.com/en-us/graph/api/channel-post?view=graph-rest-1.0&tabs=http)",
|
|
7
7
|
type: "action",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.9",
|
|
9
|
+
annotations: {
|
|
10
|
+
destructiveHint: false,
|
|
11
|
+
openWorldHint: true,
|
|
12
|
+
readOnlyHint: false,
|
|
13
|
+
},
|
|
9
14
|
props: {
|
|
10
15
|
microsoftTeams,
|
|
11
16
|
teamId: {
|
|
@@ -5,7 +5,12 @@ export default {
|
|
|
5
5
|
name: "List Channels",
|
|
6
6
|
description: "Lists all channels in a Microsoft Team. [See the docs here](https://docs.microsoft.com/en-us/graph/api/channel-list?view=graph-rest-1.0&tabs=http)",
|
|
7
7
|
type: "action",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.9",
|
|
9
|
+
annotations: {
|
|
10
|
+
destructiveHint: false,
|
|
11
|
+
openWorldHint: true,
|
|
12
|
+
readOnlyHint: true,
|
|
13
|
+
},
|
|
9
14
|
props: {
|
|
10
15
|
microsoftTeams,
|
|
11
16
|
teamId: {
|
|
@@ -5,7 +5,12 @@ export default {
|
|
|
5
5
|
name: "List Shifts",
|
|
6
6
|
description: "Get the list of shift instances for a team. [See the documentation](https://learn.microsoft.com/en-us/graph/api/schedule-list-shifts?view=graph-rest-1.0&tabs=http)",
|
|
7
7
|
type: "action",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.6",
|
|
9
|
+
annotations: {
|
|
10
|
+
destructiveHint: false,
|
|
11
|
+
openWorldHint: true,
|
|
12
|
+
readOnlyHint: true,
|
|
13
|
+
},
|
|
9
14
|
props: {
|
|
10
15
|
microsoftTeams,
|
|
11
16
|
teamId: {
|
|
@@ -5,7 +5,12 @@ export default {
|
|
|
5
5
|
name: "Send Channel Message",
|
|
6
6
|
description: "Send a message to a team's channel. [See the docs here](https://docs.microsoft.com/en-us/graph/api/channel-post-messages?view=graph-rest-1.0&tabs=http)",
|
|
7
7
|
type: "action",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.9",
|
|
9
|
+
annotations: {
|
|
10
|
+
destructiveHint: false,
|
|
11
|
+
openWorldHint: true,
|
|
12
|
+
readOnlyHint: false,
|
|
13
|
+
},
|
|
9
14
|
props: {
|
|
10
15
|
microsoftTeams,
|
|
11
16
|
teamId: {
|
|
@@ -5,7 +5,12 @@ export default {
|
|
|
5
5
|
name: "Send Chat Message",
|
|
6
6
|
description: "Send a message to a team's chat. [See the docs here](https://docs.microsoft.com/en-us/graph/api/chat-post-messages?view=graph-rest-1.0&tabs=http)",
|
|
7
7
|
type: "action",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.9",
|
|
9
|
+
annotations: {
|
|
10
|
+
destructiveHint: false,
|
|
11
|
+
openWorldHint: true,
|
|
12
|
+
readOnlyHint: false,
|
|
13
|
+
},
|
|
9
14
|
props: {
|
|
10
15
|
microsoftTeams,
|
|
11
16
|
chatId: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pipedream/microsoft_teams",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Pipedream Microsoft Teams Components",
|
|
5
5
|
"main": "microsoft_teams.app.mjs",
|
|
6
6
|
"keywords": [
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@microsoft/microsoft-graph-client": "^3.0.2",
|
|
18
|
-
"@pipedream/platform": "^1.
|
|
18
|
+
"@pipedream/platform": "^3.1.0",
|
|
19
19
|
"isomorphic-fetch": "^3.0.0"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/sources/common/base.mjs
CHANGED
|
@@ -6,8 +6,6 @@ export default {
|
|
|
6
6
|
microsoftTeams,
|
|
7
7
|
db: "$.service.db",
|
|
8
8
|
timer: {
|
|
9
|
-
label: "Polling interval",
|
|
10
|
-
description: "Pipedream will poll the YouTube API on this schedule",
|
|
11
9
|
type: "$.interface.timer",
|
|
12
10
|
default: {
|
|
13
11
|
intervalSeconds: DEFAULT_POLLING_SOURCE_TIMER_INTERVAL,
|
|
@@ -35,6 +33,8 @@ export default {
|
|
|
35
33
|
const isNewResource = this.isNew(resource, lastCreated);
|
|
36
34
|
if (isNewResource) {
|
|
37
35
|
resources.push(resource);
|
|
36
|
+
} else {
|
|
37
|
+
break;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
return resources;
|