@orchesty/connector-zoom 1.0.1 → 2.0.1

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 CHANGED
@@ -1,28 +1,79 @@
1
- # [Zoom](https://marketplace.zoom.us/docs/api-reference/zoom-api/)
1
+ # Zoom Connector
2
2
 
3
- ## OAuth 2.0
3
+ [![npm](https://img.shields.io/npm/v/@orchesty/connector-zoom?color=15ba68)](https://www.npmjs.com/package/@orchesty/connector-zoom)
4
+ [![License](https://img.shields.io/badge/license-Apache--2.0-15ba68)](https://github.com/Orchesty/orchesty-nodejs-connectors/blob/master/LICENSE)
4
5
 
5
- - Client id
6
- - Client secret
6
+ An [Orchesty](https://orchesty.io) connector for Zoom, a video communications and team chat platform for sending messages to channels and users.
7
7
 
8
- ### How to get
8
+ ## Application Type
9
9
 
10
- - Go to [https://marketplace.zoom.us/user/build](https://marketplace.zoom.us/user/build)
10
+ **OAuth 2.0**
11
11
 
12
- ### Data example for [ZoomSendMessageConnector](Connector/ZoomSendMessageConnector.ts)
12
+ This connector uses the Zoom OAuth 2.0 authorization flow. After entering your credentials in Orchesty, you will be redirected to Zoom to authorize access.
13
13
 
14
- - `userName` from MongoDb
15
- - `userId` Zoom user id
16
- - `toChannel` Zoom channel id
17
- - `message` Zoom content message
14
+ | Field | Description |
15
+ |---|---|
16
+ | `client_id` | Your Zoom app Client ID |
17
+ | `client_secret` | Your Zoom app Client Secret |
18
18
 
19
- ```json
20
- {
21
- "message": "zoom example message",
22
- "toChannel": "d87f0b9bd5434d3fb75153a42ddb9ce2",
23
- "userId": "d87f0b9bd5434d3fb75153a42ddb9ce2",
24
-
25
-
26
- "userName": "d87f0b9bd5434d3fb75153a42ddb9ce2"
27
- }
19
+ ## Components
20
+
21
+ | Class | Type | Description |
22
+ |---|---|---|
23
+ | `ZoomSendMessageConnector` | Connector | Sends a chat message to a Zoom channel via `POST /v2/chat/users/{userId}/messages`; requires `userId` and `toChannel` in the input payload |
24
+
25
+ ## Setup
26
+
27
+ ### Credentials
28
+
29
+ 1. Log in to the [Zoom Marketplace](https://marketplace.zoom.us/) and navigate to **Develop → Build App**.
30
+ 2. Choose **OAuth** as the app type and create the app.
31
+ 3. Under **App Credentials**, copy the **Client ID** and **Client Secret**.
32
+ 4. Add the Orchesty redirect URL to the **Redirect URL for OAuth** list.
33
+ 5. In Orchesty, open the Zoom application settings, enter both values, and complete the OAuth authorization flow.
34
+
35
+ ### Required Scopes
36
+
37
+ `chat_message:write:admin`
38
+
39
+ ### API Documentation
40
+
41
+ Zoom Team Chat API: [https://developers.zoom.us/docs/api/rest/reference/chat/methods/](https://developers.zoom.us/docs/api/rest/reference/chat/methods/)
42
+
43
+ ## Installation & Usage
44
+
45
+ Install the package:
46
+
47
+ ```bash
48
+ npm install @orchesty/connector-zoom @orchesty/nodejs-sdk
49
+ # or
50
+ pnpm add @orchesty/connector-zoom @orchesty/nodejs-sdk
28
51
  ```
52
+
53
+ Register the application and nodes in your Orchesty DI container:
54
+
55
+ ```typescript
56
+ import { container } from '@orchesty/nodejs-sdk';
57
+ import { OAuth2Provider } from '@orchesty/nodejs-sdk/dist/lib/Authorization/Provider/OAuth2/OAuth2Provider';
58
+ import ZoomApplication from '@orchesty/connector-zoom/dist/ZoomApplication';
59
+ import ZoomSendMessageConnector from '@orchesty/connector-zoom/dist/Connector/ZoomSendMessageConnector';
60
+
61
+ const app = new ZoomApplication(container.get(OAuth2Provider));
62
+ container.setApplication(app);
63
+ container.setNode(new ZoomSendMessageConnector(), app);
64
+ ```
65
+
66
+ ## License
67
+
68
+ This connector is released under the **Apache License 2.0**. See the [LICENSE](https://github.com/Orchesty/orchesty-nodejs-connectors/blob/master/LICENSE) file for the full license text.
69
+
70
+ ## Contributing
71
+
72
+ Contributions are welcome! This connector is part of the open-source [Orchesty Node.js Connectors](https://github.com/Orchesty/orchesty-nodejs-connectors) monorepo.
73
+
74
+ For guidelines on how to create or update connectors — including project setup, coding conventions, and how to write tests — please refer to the **[Contributing to Connectors](https://orchesty.io/community/contributing-to-connectors)** guide.
75
+
76
+ All contributions should include:
77
+ - Source code in `src/` following the existing connector structure
78
+ - Tests in `src/**/__tests__/` with `input.json`, `mock.json`, and `output.json` fixtures
79
+ - An updated `CHANGELOG.md` entry
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orchesty/connector-zoom",
3
3
  "description": "",
4
- "version": "1.0.0",
4
+ "version": "2.0.0",
5
5
  "license": "Apache-2.0",
6
6
  "url": "https://github.com/Orchesty/orchesty-nodejs-connectors",
7
7
  "repository": "https://github.com/Orchesty/orchesty-nodejs-connectors",
@@ -17,7 +17,7 @@
17
17
  "keywords": [],
18
18
  "author": "info@hanaboso.com",
19
19
  "dependencies": {
20
- "@orchesty/nodejs-sdk": "^4.3.6"
20
+ "@orchesty/nodejs-sdk": "^5.0.13"
21
21
  },
22
22
  "engines": {
23
23
  "node": ">=24"
package/package.json CHANGED
@@ -1,17 +1,20 @@
1
1
  {
2
2
  "name": "@orchesty/connector-zoom",
3
3
  "description": "",
4
- "version": "1.0.1",
4
+ "version": "2.0.1",
5
5
  "license": "Apache-2.0",
6
6
  "url": "https://github.com/Orchesty/orchesty-nodejs-connectors",
7
- "repository": "https://github.com/Orchesty/orchesty-nodejs-connectors",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/Orchesty/orchesty-nodejs-connectors"
10
+ },
8
11
  "files": [
9
12
  "dist"
10
13
  ],
11
14
  "keywords": [],
12
15
  "author": "info@hanaboso.com",
13
16
  "dependencies": {
14
- "@orchesty/nodejs-sdk": "^4.3.6"
17
+ "@orchesty/nodejs-sdk": "^5.0.13"
15
18
  },
16
19
  "engines": {
17
20
  "node": ">=24"