@pipedream/microsoft_teams 0.0.3 → 0.0.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/README.md ADDED
@@ -0,0 +1,7 @@
1
+ # Overview
2
+
3
+ With the Microsoft Teams API, you can build a variety of applications and
4
+ integrations that work with Teams. For example, you could build a bot that
5
+ responds to questions from users, or an app that lets users add information to
6
+ a shared Teams document. You could also build an integration that lets users
7
+ interact with an external service right from within Teams.
@@ -5,7 +5,7 @@ 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.1",
8
+ version: "0.0.2",
9
9
  props: {
10
10
  microsoftTeams,
11
11
  teamId: {
@@ -5,7 +5,7 @@ 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.1",
8
+ version: "0.0.2",
9
9
  props: {
10
10
  microsoftTeams,
11
11
  teamId: {
@@ -5,7 +5,7 @@ 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.1",
8
+ version: "0.0.2",
9
9
  props: {
10
10
  microsoftTeams,
11
11
  teamId: {
@@ -5,7 +5,7 @@ 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.1",
8
+ version: "0.0.2",
9
9
  props: {
10
10
  microsoftTeams,
11
11
  chatId: {
@@ -5,6 +5,7 @@ import constants from "./common/constants.mjs";
5
5
  export default {
6
6
  type: "app",
7
7
  app: "microsoft_teams",
8
+ description: "**Personal account is not currently supported by Microsoft Teams.** [see more information here](https://learn.microsoft.com/en-us/graph/permissions-reference#remarks-7).",
8
9
  propDefinitions: {
9
10
  team: {
10
11
  type: "string",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/microsoft_teams",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "description": "Pipedream Microsoft Teams Components",
5
5
  "main": "microsoft_teams.app.mjs",
6
6
  "keywords": [
@@ -16,6 +16,7 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "@microsoft/microsoft-graph-client": "^3.0.2",
19
+ "@pipedream/platform": "^1.2.0",
19
20
  "isomorphic-fetch": "^3.0.0"
20
21
  }
21
22
  }
@@ -1,4 +1,5 @@
1
1
  import microsoftTeams from "../../microsoft_teams.app.mjs";
2
+ import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
2
3
 
3
4
  export default {
4
5
  props: {
@@ -9,7 +10,7 @@ export default {
9
10
  description: "Pipedream will poll the YouTube API on this schedule",
10
11
  type: "$.interface.timer",
11
12
  default: {
12
- intervalSeconds: 60 * 15, // every 15 minutes
13
+ intervalSeconds: DEFAULT_POLLING_SOURCE_TIMER_INTERVAL,
13
14
  },
14
15
  },
15
16
  },
@@ -5,7 +5,7 @@ export default {
5
5
  key: "microsoft_teams-new-channel",
6
6
  name: "New Channel",
7
7
  description: "Emit new event when a new channel is created within a team",
8
- version: "0.0.1",
8
+ version: "0.0.3",
9
9
  type: "source",
10
10
  dedupe: "unique",
11
11
  props: {
@@ -5,7 +5,7 @@ export default {
5
5
  key: "microsoft_teams-new-channel-message",
6
6
  name: "New Channel Message",
7
7
  description: "Emit new event when a new message is posted in a channel",
8
- version: "0.0.1",
8
+ version: "0.0.3",
9
9
  type: "source",
10
10
  dedupe: "unique",
11
11
  props: {
@@ -5,7 +5,7 @@ export default {
5
5
  key: "microsoft_teams-new-chat",
6
6
  name: "New Chat",
7
7
  description: "Emit new event when a new chat is created",
8
- version: "0.0.1",
8
+ version: "0.0.3",
9
9
  type: "source",
10
10
  dedupe: "unique",
11
11
  props: {
@@ -5,7 +5,7 @@ export default {
5
5
  key: "microsoft_teams-new-chat-message",
6
6
  name: "New Chat Message",
7
7
  description: "Emit new event when a new message is received in a chat",
8
- version: "0.0.1",
8
+ version: "0.0.3",
9
9
  type: "source",
10
10
  dedupe: "unique",
11
11
  props: {
@@ -5,7 +5,7 @@ export default {
5
5
  key: "microsoft_teams-new-team",
6
6
  name: "New Team",
7
7
  description: "Emit new event when a new team is joined by the authenticated user",
8
- version: "0.0.1",
8
+ version: "0.0.3",
9
9
  type: "source",
10
10
  dedupe: "unique",
11
11
  props: {
@@ -5,7 +5,7 @@ export default {
5
5
  key: "microsoft_teams-new-team-member",
6
6
  name: "New Team Member",
7
7
  description: "Emit new event when a new member is added to a team",
8
- version: "0.0.1",
8
+ version: "0.0.3",
9
9
  type: "source",
10
10
  dedupe: "unique",
11
11
  props: {