@alfaview-integrations/n8n-nodes-alfaview 0.0.0-stage → 0.4.0
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/CHANGELOG.md +22 -0
- package/LICENSE +21 -0
- package/README.md +188 -2
- package/TRADEMARKS.md +8 -0
- package/dist/credentials/AlfaviewApi.credentials.d.ts +12 -0
- package/dist/credentials/AlfaviewApi.credentials.js +112 -0
- package/dist/credentials/AlfaviewApi.credentials.js.map +1 -0
- package/dist/nodes/Alfaview/Alfaview.node.d.ts +22 -0
- package/dist/nodes/Alfaview/Alfaview.node.js +35 -0
- package/dist/nodes/Alfaview/Alfaview.node.js.map +1 -0
- package/dist/nodes/Alfaview/Alfaview.node.json +18 -0
- package/dist/nodes/Alfaview/alfaview.dark.svg +19 -0
- package/dist/nodes/Alfaview/alfaview.svg +19 -0
- package/dist/nodes/Alfaview/domain/attendance.d.ts +9 -0
- package/dist/nodes/Alfaview/domain/attendance.js +76 -0
- package/dist/nodes/Alfaview/domain/attendance.js.map +1 -0
- package/dist/nodes/Alfaview/domain/fileSharing.d.ts +5 -0
- package/dist/nodes/Alfaview/domain/fileSharing.js +20 -0
- package/dist/nodes/Alfaview/domain/fileSharing.js.map +1 -0
- package/dist/nodes/Alfaview/domain/groupLinks.d.ts +8 -0
- package/dist/nodes/Alfaview/domain/groupLinks.js +41 -0
- package/dist/nodes/Alfaview/domain/groupLinks.js.map +1 -0
- package/dist/nodes/Alfaview/domain/guestLinks.d.ts +28 -0
- package/dist/nodes/Alfaview/domain/guestLinks.js +101 -0
- package/dist/nodes/Alfaview/domain/guestLinks.js.map +1 -0
- package/dist/nodes/Alfaview/domain/languages.d.ts +13 -0
- package/dist/nodes/Alfaview/domain/languages.js +30 -0
- package/dist/nodes/Alfaview/domain/languages.js.map +1 -0
- package/dist/nodes/Alfaview/domain/meetings.d.ts +10 -0
- package/dist/nodes/Alfaview/domain/meetings.js +80 -0
- package/dist/nodes/Alfaview/domain/meetings.js.map +1 -0
- package/dist/nodes/Alfaview/domain/participants.d.ts +29 -0
- package/dist/nodes/Alfaview/domain/participants.js +89 -0
- package/dist/nodes/Alfaview/domain/participants.js.map +1 -0
- package/dist/nodes/Alfaview/domain/passcode.d.ts +3 -0
- package/dist/nodes/Alfaview/domain/passcode.js +8 -0
- package/dist/nodes/Alfaview/domain/passcode.js.map +1 -0
- package/dist/nodes/Alfaview/domain/permissionGroups.d.ts +6 -0
- package/dist/nodes/Alfaview/domain/permissionGroups.js +32 -0
- package/dist/nodes/Alfaview/domain/permissionGroups.js.map +1 -0
- package/dist/nodes/Alfaview/domain/rooms.d.ts +18 -0
- package/dist/nodes/Alfaview/domain/rooms.js +123 -0
- package/dist/nodes/Alfaview/domain/rooms.js.map +1 -0
- package/dist/nodes/Alfaview/domain/statistics.d.ts +7 -0
- package/dist/nodes/Alfaview/domain/statistics.js +34 -0
- package/dist/nodes/Alfaview/domain/statistics.js.map +1 -0
- package/dist/nodes/Alfaview/domain/users.d.ts +7 -0
- package/dist/nodes/Alfaview/domain/users.js +40 -0
- package/dist/nodes/Alfaview/domain/users.js.map +1 -0
- package/dist/nodes/Alfaview/fields.d.ts +51 -0
- package/dist/nodes/Alfaview/fields.js +207 -0
- package/dist/nodes/Alfaview/fields.js.map +1 -0
- package/dist/nodes/Alfaview/items.d.ts +8 -0
- package/dist/nodes/Alfaview/items.js +51 -0
- package/dist/nodes/Alfaview/items.js.map +1 -0
- package/dist/nodes/Alfaview/lookups.d.ts +8 -0
- package/dist/nodes/Alfaview/lookups.js +59 -0
- package/dist/nodes/Alfaview/lookups.js.map +1 -0
- package/dist/nodes/Alfaview/methods/listSearch.d.ts +16 -0
- package/dist/nodes/Alfaview/methods/listSearch.js +121 -0
- package/dist/nodes/Alfaview/methods/listSearch.js.map +1 -0
- package/dist/nodes/Alfaview/methods/loadOptions.d.ts +14 -0
- package/dist/nodes/Alfaview/methods/loadOptions.js +49 -0
- package/dist/nodes/Alfaview/methods/loadOptions.js.map +1 -0
- package/dist/nodes/Alfaview/personalData.d.ts +8 -0
- package/dist/nodes/Alfaview/personalData.js +25 -0
- package/dist/nodes/Alfaview/personalData.js.map +1 -0
- package/dist/nodes/Alfaview/platform.d.ts +2 -0
- package/dist/nodes/Alfaview/platform.js +9 -0
- package/dist/nodes/Alfaview/platform.js.map +1 -0
- package/dist/nodes/Alfaview/resources/attendance.d.ts +2 -0
- package/dist/nodes/Alfaview/resources/attendance.js +99 -0
- package/dist/nodes/Alfaview/resources/attendance.js.map +1 -0
- package/dist/nodes/Alfaview/resources/breakoutRoom.d.ts +4 -0
- package/dist/nodes/Alfaview/resources/breakoutRoom.js +139 -0
- package/dist/nodes/Alfaview/resources/breakoutRoom.js.map +1 -0
- package/dist/nodes/Alfaview/resources/company.d.ts +2 -0
- package/dist/nodes/Alfaview/resources/company.js +65 -0
- package/dist/nodes/Alfaview/resources/company.js.map +1 -0
- package/dist/nodes/Alfaview/resources/fileSharing.d.ts +3 -0
- package/dist/nodes/Alfaview/resources/fileSharing.js +125 -0
- package/dist/nodes/Alfaview/resources/fileSharing.js.map +1 -0
- package/dist/nodes/Alfaview/resources/groupLink.d.ts +6 -0
- package/dist/nodes/Alfaview/resources/groupLink.js +281 -0
- package/dist/nodes/Alfaview/resources/groupLink.js.map +1 -0
- package/dist/nodes/Alfaview/resources/guestLink.d.ts +11 -0
- package/dist/nodes/Alfaview/resources/guestLink.js +584 -0
- package/dist/nodes/Alfaview/resources/guestLink.js.map +1 -0
- package/dist/nodes/Alfaview/resources/index.d.ts +7 -0
- package/dist/nodes/Alfaview/resources/index.js +65 -0
- package/dist/nodes/Alfaview/resources/index.js.map +1 -0
- package/dist/nodes/Alfaview/resources/languageSetting.d.ts +2 -0
- package/dist/nodes/Alfaview/resources/languageSetting.js +151 -0
- package/dist/nodes/Alfaview/resources/languageSetting.js.map +1 -0
- package/dist/nodes/Alfaview/resources/meeting.d.ts +3 -0
- package/dist/nodes/Alfaview/resources/meeting.js +478 -0
- package/dist/nodes/Alfaview/resources/meeting.js.map +1 -0
- package/dist/nodes/Alfaview/resources/participant.d.ts +2 -0
- package/dist/nodes/Alfaview/resources/participant.js +93 -0
- package/dist/nodes/Alfaview/resources/participant.js.map +1 -0
- package/dist/nodes/Alfaview/resources/passcode.d.ts +4 -0
- package/dist/nodes/Alfaview/resources/passcode.js +93 -0
- package/dist/nodes/Alfaview/resources/passcode.js.map +1 -0
- package/dist/nodes/Alfaview/resources/room.d.ts +3 -0
- package/dist/nodes/Alfaview/resources/room.js +295 -0
- package/dist/nodes/Alfaview/resources/room.js.map +1 -0
- package/dist/nodes/Alfaview/resources/roomFeature.d.ts +2 -0
- package/dist/nodes/Alfaview/resources/roomFeature.js +104 -0
- package/dist/nodes/Alfaview/resources/roomFeature.js.map +1 -0
- package/dist/nodes/Alfaview/resources/roomPermission.d.ts +2 -0
- package/dist/nodes/Alfaview/resources/roomPermission.js +198 -0
- package/dist/nodes/Alfaview/resources/roomPermission.js.map +1 -0
- package/dist/nodes/Alfaview/resources/user.d.ts +2 -0
- package/dist/nodes/Alfaview/resources/user.js +227 -0
- package/dist/nodes/Alfaview/resources/user.js.map +1 -0
- package/dist/nodes/Alfaview/shared/apiErrors.d.ts +17 -0
- package/dist/nodes/Alfaview/shared/apiErrors.js +142 -0
- package/dist/nodes/Alfaview/shared/apiErrors.js.map +1 -0
- package/dist/nodes/Alfaview/shared/apiHosts.d.ts +1 -0
- package/dist/nodes/Alfaview/shared/apiHosts.js +5 -0
- package/dist/nodes/Alfaview/shared/apiHosts.js.map +1 -0
- package/dist/nodes/Alfaview/shared/attendance.d.ts +174 -0
- package/dist/nodes/Alfaview/shared/attendance.js +402 -0
- package/dist/nodes/Alfaview/shared/attendance.js.map +1 -0
- package/dist/nodes/Alfaview/shared/dateTime.d.ts +23 -0
- package/dist/nodes/Alfaview/shared/dateTime.js +219 -0
- package/dist/nodes/Alfaview/shared/dateTime.js.map +1 -0
- package/dist/nodes/Alfaview/shared/fileSharing.d.ts +26 -0
- package/dist/nodes/Alfaview/shared/fileSharing.js +34 -0
- package/dist/nodes/Alfaview/shared/fileSharing.js.map +1 -0
- package/dist/nodes/Alfaview/shared/groupLinks.d.ts +41 -0
- package/dist/nodes/Alfaview/shared/groupLinks.js +49 -0
- package/dist/nodes/Alfaview/shared/groupLinks.js.map +1 -0
- package/dist/nodes/Alfaview/shared/guestLinks.d.ts +89 -0
- package/dist/nodes/Alfaview/shared/guestLinks.js +153 -0
- package/dist/nodes/Alfaview/shared/guestLinks.js.map +1 -0
- package/dist/nodes/Alfaview/shared/guestUserId.d.ts +1 -0
- package/dist/nodes/Alfaview/shared/guestUserId.js +19 -0
- package/dist/nodes/Alfaview/shared/guestUserId.js.map +1 -0
- package/dist/nodes/Alfaview/shared/inputs.d.ts +17 -0
- package/dist/nodes/Alfaview/shared/inputs.js +158 -0
- package/dist/nodes/Alfaview/shared/inputs.js.map +1 -0
- package/dist/nodes/Alfaview/shared/languages.d.ts +69 -0
- package/dist/nodes/Alfaview/shared/languages.js +138 -0
- package/dist/nodes/Alfaview/shared/languages.js.map +1 -0
- package/dist/nodes/Alfaview/shared/meetings.d.ts +118 -0
- package/dist/nodes/Alfaview/shared/meetings.js +409 -0
- package/dist/nodes/Alfaview/shared/meetings.js.map +1 -0
- package/dist/nodes/Alfaview/shared/outputValues.d.ts +4 -0
- package/dist/nodes/Alfaview/shared/outputValues.js +21 -0
- package/dist/nodes/Alfaview/shared/outputValues.js.map +1 -0
- package/dist/nodes/Alfaview/shared/pagination.d.ts +29 -0
- package/dist/nodes/Alfaview/shared/pagination.js +66 -0
- package/dist/nodes/Alfaview/shared/pagination.js.map +1 -0
- package/dist/nodes/Alfaview/shared/participants.d.ts +95 -0
- package/dist/nodes/Alfaview/shared/participants.js +197 -0
- package/dist/nodes/Alfaview/shared/participants.js.map +1 -0
- package/dist/nodes/Alfaview/shared/passcode.d.ts +12 -0
- package/dist/nodes/Alfaview/shared/passcode.js +18 -0
- package/dist/nodes/Alfaview/shared/passcode.js.map +1 -0
- package/dist/nodes/Alfaview/shared/permissionGroups.d.ts +10 -0
- package/dist/nodes/Alfaview/shared/permissionGroups.js +20 -0
- package/dist/nodes/Alfaview/shared/permissionGroups.js.map +1 -0
- package/dist/nodes/Alfaview/shared/personalData.d.ts +66 -0
- package/dist/nodes/Alfaview/shared/personalData.js +174 -0
- package/dist/nodes/Alfaview/shared/personalData.js.map +1 -0
- package/dist/nodes/Alfaview/shared/platform.d.ts +4 -0
- package/dist/nodes/Alfaview/shared/platform.js +3 -0
- package/dist/nodes/Alfaview/shared/platform.js.map +1 -0
- package/dist/nodes/Alfaview/shared/polling.d.ts +10 -0
- package/dist/nodes/Alfaview/shared/polling.js +37 -0
- package/dist/nodes/Alfaview/shared/polling.js.map +1 -0
- package/dist/nodes/Alfaview/shared/rooms.d.ts +168 -0
- package/dist/nodes/Alfaview/shared/rooms.js +339 -0
- package/dist/nodes/Alfaview/shared/rooms.js.map +1 -0
- package/dist/nodes/Alfaview/shared/statistics.d.ts +60 -0
- package/dist/nodes/Alfaview/shared/statistics.js +106 -0
- package/dist/nodes/Alfaview/shared/statistics.js.map +1 -0
- package/dist/nodes/Alfaview/shared/time.d.ts +7 -0
- package/dist/nodes/Alfaview/shared/time.js +70 -0
- package/dist/nodes/Alfaview/shared/time.js.map +1 -0
- package/dist/nodes/Alfaview/shared/users.d.ts +81 -0
- package/dist/nodes/Alfaview/shared/users.js +107 -0
- package/dist/nodes/Alfaview/shared/users.js.map +1 -0
- package/dist/nodes/Alfaview/transport/config.d.ts +4 -0
- package/dist/nodes/Alfaview/transport/config.js +18 -0
- package/dist/nodes/Alfaview/transport/config.js.map +1 -0
- package/dist/nodes/Alfaview/transport/errors.d.ts +17 -0
- package/dist/nodes/Alfaview/transport/errors.js +112 -0
- package/dist/nodes/Alfaview/transport/errors.js.map +1 -0
- package/dist/nodes/Alfaview/transport/pagination.d.ts +28 -0
- package/dist/nodes/Alfaview/transport/pagination.js +44 -0
- package/dist/nodes/Alfaview/transport/pagination.js.map +1 -0
- package/dist/nodes/Alfaview/transport/request.d.ts +16 -0
- package/dist/nodes/Alfaview/transport/request.js +84 -0
- package/dist/nodes/Alfaview/transport/request.js.map +1 -0
- package/dist/nodes/Alfaview/values/inputs.d.ts +6 -0
- package/dist/nodes/Alfaview/values/inputs.js +14 -0
- package/dist/nodes/Alfaview/values/inputs.js.map +1 -0
- package/dist/nodes/AlfaviewTrigger/AlfaviewTrigger.node.d.ts +10 -0
- package/dist/nodes/AlfaviewTrigger/AlfaviewTrigger.node.js +108 -0
- package/dist/nodes/AlfaviewTrigger/AlfaviewTrigger.node.js.map +1 -0
- package/dist/nodes/AlfaviewTrigger/AlfaviewTrigger.node.json +18 -0
- package/dist/nodes/AlfaviewTrigger/events/index.d.ts +6 -0
- package/dist/nodes/AlfaviewTrigger/events/index.js +96 -0
- package/dist/nodes/AlfaviewTrigger/events/index.js.map +1 -0
- package/dist/nodes/AlfaviewTrigger/events/newAttendanceReport.d.ts +3 -0
- package/dist/nodes/AlfaviewTrigger/events/newAttendanceReport.js +88 -0
- package/dist/nodes/AlfaviewTrigger/events/newAttendanceReport.js.map +1 -0
- package/dist/nodes/AlfaviewTrigger/events/newAttendee.d.ts +4 -0
- package/dist/nodes/AlfaviewTrigger/events/newAttendee.js +81 -0
- package/dist/nodes/AlfaviewTrigger/events/newAttendee.js.map +1 -0
- package/dist/nodes/AlfaviewTrigger/events/newGroupLink.d.ts +2 -0
- package/dist/nodes/AlfaviewTrigger/events/newGroupLink.js +44 -0
- package/dist/nodes/AlfaviewTrigger/events/newGroupLink.js.map +1 -0
- package/dist/nodes/AlfaviewTrigger/events/newGuestLink.d.ts +2 -0
- package/dist/nodes/AlfaviewTrigger/events/newGuestLink.js +43 -0
- package/dist/nodes/AlfaviewTrigger/events/newGuestLink.js.map +1 -0
- package/dist/nodes/AlfaviewTrigger/events/newMeeting.d.ts +2 -0
- package/dist/nodes/AlfaviewTrigger/events/newMeeting.js +34 -0
- package/dist/nodes/AlfaviewTrigger/events/newMeeting.js.map +1 -0
- package/dist/nodes/AlfaviewTrigger/events/newRoom.d.ts +2 -0
- package/dist/nodes/AlfaviewTrigger/events/newRoom.js +45 -0
- package/dist/nodes/AlfaviewTrigger/events/newRoom.js.map +1 -0
- package/dist/nodes/AlfaviewTrigger/events/newRoomParticipant.d.ts +2 -0
- package/dist/nodes/AlfaviewTrigger/events/newRoomParticipant.js +17 -0
- package/dist/nodes/AlfaviewTrigger/events/newRoomParticipant.js.map +1 -0
- package/dist/nodes/AlfaviewTrigger/events/newUser.d.ts +2 -0
- package/dist/nodes/AlfaviewTrigger/events/newUser.js +33 -0
- package/dist/nodes/AlfaviewTrigger/events/newUser.js.map +1 -0
- package/dist/nodes/AlfaviewTrigger/events/newWaitingRoomParticipant.d.ts +2 -0
- package/dist/nodes/AlfaviewTrigger/events/newWaitingRoomParticipant.js +36 -0
- package/dist/nodes/AlfaviewTrigger/events/newWaitingRoomParticipant.js.map +1 -0
- package/dist/nodes/AlfaviewTrigger/events/participantVisits.d.ts +14 -0
- package/dist/nodes/AlfaviewTrigger/events/participantVisits.js +67 -0
- package/dist/nodes/AlfaviewTrigger/events/participantVisits.js.map +1 -0
- package/dist/nodes/AlfaviewTrigger/events/triggerEvent.d.ts +45 -0
- package/dist/nodes/AlfaviewTrigger/events/triggerEvent.js +61 -0
- package/dist/nodes/AlfaviewTrigger/events/triggerEvent.js.map +1 -0
- package/dist/nodes/AlfaviewTrigger/seenStore.d.ts +22 -0
- package/dist/nodes/AlfaviewTrigger/seenStore.js +72 -0
- package/dist/nodes/AlfaviewTrigger/seenStore.js.map +1 -0
- package/dist/package.json +70 -0
- package/docs/configuration.md +95 -0
- package/docs/data-protection.md +96 -0
- package/docs/dates-and-time-zones.md +93 -0
- package/docs/examples.md +82 -0
- package/docs/installation.md +73 -0
- package/docs/limits.md +137 -0
- package/docs/operations.md +698 -0
- package/docs/troubleshooting.md +140 -0
- package/package.json +69 -5
- package/sbom.cdx.json +15999 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [0.4.0] - 2026-12-03
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- The npm package holds `sbom.cdx.json`, a software bill of materials in the CycloneDX format. It lists the components of the package with their versions and licenses.
|
|
15
|
+
|
|
16
|
+
## [0.3.0] - 2026-12-01
|
|
17
|
+
|
|
18
|
+
Initial release
|
|
19
|
+
|
|
20
|
+
[Unreleased]: https://github.com/alfaview/n8n-nodes-alfaview/compare/0.4.0...HEAD
|
|
21
|
+
[0.4.0]: https://github.com/alfaview/n8n-nodes-alfaview/compare/0.3.0...0.4.0
|
|
22
|
+
[0.3.0]: https://github.com/alfaview/n8n-nodes-alfaview/releases/tag/0.3.0
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright 2026 alfaview Video Conferencing Systems GmbH & Co. KG
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,189 @@
|
|
|
1
|
-
#
|
|
1
|
+
# alfaview nodes for n8n
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
n8n nodes for alfaview: rooms, meetings, personal guest links and attendance reports.
|
|
4
|
+
|
|
5
|
+
`@alfaview-integrations/n8n-nodes-alfaview`
|
|
6
|
+
|
|
7
|
+
[](https://www.npmjs.com/package/@alfaview-integrations/n8n-nodes-alfaview) [](LICENSE)
|
|
8
|
+
|
|
9
|
+
## What it does
|
|
10
|
+
|
|
11
|
+
The package is for the people who prepare appointments and webinars in
|
|
12
|
+
[alfaview](https://alfaview.com) with n8n workflows, and for the administrators of the company. It
|
|
13
|
+
has one credential and two nodes: **alfaview**, an action node with 41 operations on 14 resources,
|
|
14
|
+
and **alfaview Trigger**, a polling trigger with 9 events. Your workflows can do these jobs:
|
|
15
|
+
|
|
16
|
+
- Rooms and guests: create, change and delete rooms, breakout rooms, personal guest links and
|
|
17
|
+
group links, and see who waits in a room.
|
|
18
|
+
- Meetings: schedule, change and cancel meetings, also recurring meetings.
|
|
19
|
+
- Reports: who attended an appointment or a webinar, and the statistics of the company.
|
|
20
|
+
- Administration: the settings and passcodes of rooms, the room permissions, and the users.
|
|
21
|
+
- Events: start a workflow for a new room, link, meeting, user, participant, attendee or
|
|
22
|
+
attendance report.
|
|
23
|
+
|
|
24
|
+
alfaview has no webhooks for customers, so the alfaview Trigger polls. An event starts a workflow
|
|
25
|
+
at the next poll, not at the moment when it occurs.
|
|
26
|
+
|
|
27
|
+
## Requirements
|
|
28
|
+
|
|
29
|
+
- An [n8n server that you host yourself](https://docs.n8n.io/hosting/), with n8n 2.16 or later,
|
|
30
|
+
and the role owner or admin on it.
|
|
31
|
+
Only these roles install [community nodes](https://docs.n8n.io/integrations/community-nodes/).
|
|
32
|
+
n8n Cloud offers only the community nodes that n8n verified, and n8n did not verify this package.
|
|
33
|
+
- An alfaview user with the company ID, the client ID and the API key of the alfaview API
|
|
34
|
+
([how to get your API credentials](https://support.alfaview.com/en/for-it-administration/advanced-configurations/generate-api-credentials/)).
|
|
35
|
+
Create the API key for a dedicated user, not for a person. The user needs the user permissions
|
|
36
|
+
Room Admin and List Rooms
|
|
37
|
+
([The alfaview user and its permissions](docs/configuration.md#the-alfaview-user-and-its-permissions)).
|
|
38
|
+
|
|
39
|
+
## Quick start
|
|
40
|
+
|
|
41
|
+
Install the package in the n8n editor. Then add the credential, and run one node that reads a room.
|
|
42
|
+
|
|
43
|
+
1. In n8n, go to **Settings** > **Community Nodes** and select **Install**.
|
|
44
|
+
2. Enter `@alfaview-integrations/n8n-nodes-alfaview`. Select the checkbox about the risks of
|
|
45
|
+
unverified code, then select **Install**. n8n shows the package in the list of
|
|
46
|
+
**Community Nodes**.
|
|
47
|
+
3. Open a workflow and add the node **alfaview** with Room > Get Many.
|
|
48
|
+
4. Create a credential **Alfaview API** with Company ID, Client ID and API Key
|
|
49
|
+
([how to get them](https://support.alfaview.com/en/for-it-administration/advanced-configurations/generate-api-credentials/)).
|
|
50
|
+
Select **Save**. n8n tests the credential: it signs in and reads the alfaview user of the API
|
|
51
|
+
key.
|
|
52
|
+
5. In Filters, set Room Name to the name of a room that the alfaview user can see. Then run the
|
|
53
|
+
node.
|
|
54
|
+
|
|
55
|
+
You see the room as an item, with its `id` and its `displayName`. Your credential works.
|
|
56
|
+
|
|
57
|
+
[Build common workflows](docs/examples.md) gives the next steps, such as one guest link for each
|
|
58
|
+
registrant of a webinar.
|
|
59
|
+
|
|
60
|
+
## Install in n8n
|
|
61
|
+
|
|
62
|
+
The quick start installs the package in the n8n editor. To install it by hand, run these commands
|
|
63
|
+
in a shell on the n8n host, or in the container of n8n. Then restart n8n.
|
|
64
|
+
|
|
65
|
+
```sh
|
|
66
|
+
mkdir -p ~/.n8n/nodes
|
|
67
|
+
cd ~/.n8n/nodes
|
|
68
|
+
npm install --omit=peer --ignore-scripts @alfaview-integrations/n8n-nodes-alfaview
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Use both flags for every install in this folder. They keep a second copy of `n8n-workflow`, and
|
|
72
|
+
its native build, out of the folder. n8n has no staged rollout: a new version applies to every
|
|
73
|
+
workflow of the server at once. [Install the package](docs/installation.md) explains the flags and
|
|
74
|
+
the update.
|
|
75
|
+
|
|
76
|
+
## Credentials
|
|
77
|
+
|
|
78
|
+
The credential **Alfaview API** signs in with the API key of a dedicated alfaview user.
|
|
79
|
+
|
|
80
|
+
1. Create a credential **Alfaview API** with these values
|
|
81
|
+
([how to get them](https://support.alfaview.com/en/for-it-administration/advanced-configurations/generate-api-credentials/)):
|
|
82
|
+
|
|
83
|
+
| Field | Value |
|
|
84
|
+
| --- | --- |
|
|
85
|
+
| Company ID | The alfaview company ID |
|
|
86
|
+
| Client ID | The alias of the API key |
|
|
87
|
+
| API Key | The API key |
|
|
88
|
+
| Personal data | Include, the default, or Leave out ([Personal data](#personal-data)) |
|
|
89
|
+
|
|
90
|
+
2. Select **Save**. n8n tests the credential: it signs in and reads the alfaview user of the API
|
|
91
|
+
key.
|
|
92
|
+
|
|
93
|
+
n8n signs in to alfaview for you and stays signed in. It renews the access on its own, about every
|
|
94
|
+
12 hours. Every workflow that uses the credential shares the access. After you change Company ID,
|
|
95
|
+
Client ID or API Key, select **Save** in the editor, and wait until the test of the credential
|
|
96
|
+
passes ([A change of the values](docs/configuration.md#a-change-of-the-values)).
|
|
97
|
+
|
|
98
|
+
## Operations
|
|
99
|
+
|
|
100
|
+
The node **alfaview** has these resources, each with its operations:
|
|
101
|
+
|
|
102
|
+
- Rooms: Room, Breakout Room, Room Feature, Language Setting, File Sharing and Passcode.
|
|
103
|
+
- Links and meetings: Guest Link, Group Link and Meeting.
|
|
104
|
+
- Reports: Attendance, Participant and Company.
|
|
105
|
+
- Access: Room Permission and User.
|
|
106
|
+
|
|
107
|
+
The node **alfaview Trigger** starts a workflow for events such as New Guest Link, New Participant
|
|
108
|
+
in Waiting Room and New Attendance Report. When you turn on a workflow for the first time, its
|
|
109
|
+
first poll records the items that exist and starts nothing.
|
|
110
|
+
|
|
111
|
+
[Operations and trigger events](docs/operations.md) lists each operation and each event with its
|
|
112
|
+
fields, and the outputs and the errors of the nodes.
|
|
113
|
+
|
|
114
|
+
## Configuration
|
|
115
|
+
|
|
116
|
+
These settings change what the nodes do:
|
|
117
|
+
|
|
118
|
+
| Setting | Where | Default | Description |
|
|
119
|
+
| --- | --- | --- | --- |
|
|
120
|
+
| Personal data | The credential | Include | Leave out empties names, email addresses and other personal values in the outputs. |
|
|
121
|
+
| Timezone | The settings of the workflow | The time zone of the n8n server (`GENERIC_TIMEZONE`) | The time zone of a date without an offset, and of the Local outputs. |
|
|
122
|
+
| Time Zone | Meeting > Create and Update, Guest Link > Create, Find or Create and Update | The time zone of the workflow | The time zone of the dates of that step. |
|
|
123
|
+
| Poll Times | Each event of the alfaview Trigger | Every minute | When the trigger polls alfaview. |
|
|
124
|
+
|
|
125
|
+
In the settings of the credential, set Allowed HTTP Request Domains to `apis.alfaview.com`. Then
|
|
126
|
+
the HTTP Request node can use the credential only at alfaview.
|
|
127
|
+
|
|
128
|
+
[Configuration](docs/configuration.md) describes the credential, its test and the permissions of
|
|
129
|
+
the alfaview user. [Dates and time zones](docs/dates-and-time-zones.md) describes the time zones.
|
|
130
|
+
|
|
131
|
+
## Data protection
|
|
132
|
+
|
|
133
|
+
The nodes run on your n8n server.
|
|
134
|
+
Requests go only to the alfaview API (`https://apis.alfaview.com`).
|
|
135
|
+
No request follows a redirect, and n8n keeps the access token in the credential.
|
|
136
|
+
|
|
137
|
+
- The outputs hold personal data, such as the names and email addresses of guests, and
|
|
138
|
+
credentials, such as join URLs and the passcodes of rooms.
|
|
139
|
+
- The next nodes of the workflow decide where the outputs go. The settings of n8n decide which
|
|
140
|
+
executions n8n saves, with the input and the output of each node.
|
|
141
|
+
- The triggers keep the IDs that they saw, with their times, in the static data of the workflow.
|
|
142
|
+
They keep no names and no email addresses.
|
|
143
|
+
|
|
144
|
+
[Data protection](docs/data-protection.md) describes the data flow and the protections. Report a
|
|
145
|
+
vulnerability as [`SECURITY.md`](SECURITY.md) describes.
|
|
146
|
+
|
|
147
|
+
### Personal data
|
|
148
|
+
|
|
149
|
+
The credential has the option **Personal data**: Include, the default, or Leave out. With Leave
|
|
150
|
+
out, your workflows get empty values in place of names, email addresses, meeting titles, agendas,
|
|
151
|
+
waiting room welcome notes and origins, and of the titles, cities and initials of users. The name
|
|
152
|
+
of a meeting room is empty too. Every key of an item stays. IDs, times, counts, the names of other
|
|
153
|
+
rooms and join URLs stay, and an ID still leads to a person
|
|
154
|
+
([Personal data](docs/data-protection.md#personal-data)).
|
|
155
|
+
|
|
156
|
+
## Documentation
|
|
157
|
+
|
|
158
|
+
- [Install the package](docs/installation.md): the install in the n8n editor and by hand.
|
|
159
|
+
- [Configuration](docs/configuration.md): the credential and the permissions of the alfaview user.
|
|
160
|
+
- [Operations and trigger events](docs/operations.md): each operation and event with its fields.
|
|
161
|
+
- [Build common workflows](docs/examples.md): workflows for webinars, waiting rooms, cleanups and
|
|
162
|
+
statistics.
|
|
163
|
+
- [Dates and time zones](docs/dates-and-time-zones.md): the date forms and the time zones.
|
|
164
|
+
- [Data protection](docs/data-protection.md): the data flow and the option Personal data.
|
|
165
|
+
- [Limits](docs/limits.md): the limits of the nodes, of the triggers and of the alfaview API.
|
|
166
|
+
- [Troubleshooting](docs/troubleshooting.md): the messages of the nodes and their fixes.
|
|
167
|
+
|
|
168
|
+
## Support
|
|
169
|
+
|
|
170
|
+
- Bugs: [the issues on GitHub](https://github.com/alfaview/n8n-nodes-alfaview/issues).
|
|
171
|
+
- Security: [`SECURITY.md`](SECURITY.md).
|
|
172
|
+
- Contributing: [`CONTRIBUTING.md`](CONTRIBUTING.md).
|
|
173
|
+
- Changes: [`CHANGELOG.md`](CHANGELOG.md).
|
|
174
|
+
|
|
175
|
+
## Usage and licensing
|
|
176
|
+
|
|
177
|
+
The package is open source under the MIT License ([`LICENSE`](LICENSE)).
|
|
178
|
+
|
|
179
|
+
The copyright of the package belongs to alfaview Video Conferencing Systems GmbH & Co. KG.
|
|
180
|
+
|
|
181
|
+
The MIT License does not cover the alfaview name, the alfaview logo or other brand assets of
|
|
182
|
+
alfaview, and the package grants no trademark rights ([`TRADEMARKS.md`](TRADEMARKS.md)).
|
|
183
|
+
|
|
184
|
+
The package connects to the alfaview service. Usage and licensing of the alfaview service by
|
|
185
|
+
alfaview GmbH, Kriegsstr. 100, 76133 Karlsruhe. Registered with the Amtsgericht Mannheim,
|
|
186
|
+
HRB 730903. Registered office: Karlsruhe. VAT ID DE318911962.
|
|
187
|
+
|
|
188
|
+
The [Terms and Conditions](https://alfaview.com/en/terms/) and the
|
|
189
|
+
[Privacy Policy](https://alfaview.com/en/privacy/) of alfaview are on alfaview.com.
|
package/TRADEMARKS.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Trademarks
|
|
2
|
+
|
|
3
|
+
The MIT License in [`LICENSE`](LICENSE) applies to the code and the documentation of this package.
|
|
4
|
+
|
|
5
|
+
The MIT License does not apply to the alfaview name, the alfaview logo or other brand assets of
|
|
6
|
+
alfaview.
|
|
7
|
+
|
|
8
|
+
This package grants no trademark rights or other brand rights.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { IAuthenticateGeneric, ICredentialDataDecryptedObject, ICredentialTestRequest, ICredentialType, IDataObject, IHttpRequestHelper, INodeProperties, Icon } from 'n8n-workflow';
|
|
2
|
+
export declare const PERSONAL_DATA_DESCRIPTION = "Include, the default, gives your workflows every value. Leave out empties names and email addresses, the title, city and initials of users, and meeting titles, agendas, welcome notes and origins. This applies to outputs and to the lists of the fields. A meeting room carries its meeting title, so its name is empty too. IDs, times, counts, other room names and join URLs stay. A change applies to every workflow of this credential. For new workflows without names, add a second credential with Leave out.";
|
|
3
|
+
export declare class AlfaviewApi implements ICredentialType {
|
|
4
|
+
name: string;
|
|
5
|
+
displayName: string;
|
|
6
|
+
icon: Icon;
|
|
7
|
+
documentationUrl: string;
|
|
8
|
+
properties: INodeProperties[];
|
|
9
|
+
preAuthentication(this: IHttpRequestHelper, credentials: ICredentialDataDecryptedObject): Promise<IDataObject>;
|
|
10
|
+
authenticate: IAuthenticateGeneric;
|
|
11
|
+
test: ICredentialTestRequest;
|
|
12
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AlfaviewApi = exports.PERSONAL_DATA_DESCRIPTION = void 0;
|
|
4
|
+
const config_1 = require("../nodes/Alfaview/transport/config");
|
|
5
|
+
const errors_1 = require("../nodes/Alfaview/transport/errors");
|
|
6
|
+
const personalData_1 = require("../nodes/Alfaview/shared/personalData");
|
|
7
|
+
const inputs_1 = require("../nodes/Alfaview/values/inputs");
|
|
8
|
+
const CREDENTIALS_HELP_URL = 'https://support.alfaview.com/en/developers/request-your-api-credentials/';
|
|
9
|
+
exports.PERSONAL_DATA_DESCRIPTION = 'Include, the default, gives your workflows every value. Leave out empties names and email addresses, the title, city and initials of users, and meeting titles, agendas, welcome notes and origins. This applies to outputs and to the lists of the fields. A meeting room carries its meeting title, so its name is empty too. IDs, times, counts, other room names and join URLs stay. A change applies to every workflow of this credential. For new workflows without names, add a second credential with Leave out.';
|
|
10
|
+
const LOGIN_PATH = '/v2/auth/api-key';
|
|
11
|
+
class AlfaviewApi {
|
|
12
|
+
constructor() {
|
|
13
|
+
this.name = 'alfaviewApi';
|
|
14
|
+
this.displayName = 'Alfaview API';
|
|
15
|
+
this.icon = {
|
|
16
|
+
light: 'file:../nodes/Alfaview/alfaview.svg',
|
|
17
|
+
dark: 'file:../nodes/Alfaview/alfaview.dark.svg',
|
|
18
|
+
};
|
|
19
|
+
this.documentationUrl = 'https://support.alfaview.com/en/developers/request-your-api-credentials/';
|
|
20
|
+
this.properties = [
|
|
21
|
+
{
|
|
22
|
+
displayName: 'Company ID',
|
|
23
|
+
name: 'companyId',
|
|
24
|
+
type: 'string',
|
|
25
|
+
required: true,
|
|
26
|
+
default: '',
|
|
27
|
+
description: `Your alfaview company ID. See <a href="${CREDENTIALS_HELP_URL}">Request your API credentials</a>.`,
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
displayName: 'Client ID',
|
|
31
|
+
name: 'clientId',
|
|
32
|
+
type: 'string',
|
|
33
|
+
required: true,
|
|
34
|
+
default: '',
|
|
35
|
+
description: 'The alias of the API key, also called client ID',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
displayName: 'API Key',
|
|
39
|
+
name: 'apiKey',
|
|
40
|
+
type: 'string',
|
|
41
|
+
typeOptions: { password: true },
|
|
42
|
+
required: true,
|
|
43
|
+
default: '',
|
|
44
|
+
description: 'Create the key for a dedicated alfaview user with the user permissions Room Admin and List Rooms. Then it can manage guest links in every room.',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
displayName: personalData_1.PERSONAL_DATA_LABEL,
|
|
48
|
+
name: 'personalData',
|
|
49
|
+
type: 'options',
|
|
50
|
+
options: [
|
|
51
|
+
{ name: 'Include', value: 'include' },
|
|
52
|
+
{ name: 'Leave out', value: 'omit' },
|
|
53
|
+
],
|
|
54
|
+
default: 'include',
|
|
55
|
+
description: exports.PERSONAL_DATA_DESCRIPTION,
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
displayName: 'Access Token',
|
|
59
|
+
name: 'accessToken',
|
|
60
|
+
type: 'hidden',
|
|
61
|
+
typeOptions: { expirable: true, password: true },
|
|
62
|
+
default: '',
|
|
63
|
+
},
|
|
64
|
+
];
|
|
65
|
+
this.authenticate = {
|
|
66
|
+
type: 'generic',
|
|
67
|
+
properties: { headers: { Authorization: '={{$credentials.accessToken}}' } },
|
|
68
|
+
};
|
|
69
|
+
this.test = {
|
|
70
|
+
request: {
|
|
71
|
+
baseURL: (0, config_1.apiBaseUrl)(),
|
|
72
|
+
url: '/v2/users/me',
|
|
73
|
+
method: 'GET',
|
|
74
|
+
disableFollowRedirect: true,
|
|
75
|
+
},
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
async preAuthentication(credentials) {
|
|
79
|
+
var _a, _b, _c;
|
|
80
|
+
const response = (await this.helpers.httpRequest({
|
|
81
|
+
method: 'POST',
|
|
82
|
+
url: (0, config_1.apiUrl)(LOGIN_PATH),
|
|
83
|
+
body: {
|
|
84
|
+
companyId: (_a = (0, inputs_1.readString)(credentials.companyId, 'Company ID')) !== null && _a !== void 0 ? _a : '',
|
|
85
|
+
clientId: (_b = (0, inputs_1.readString)(credentials.clientId, 'Client ID')) !== null && _b !== void 0 ? _b : '',
|
|
86
|
+
key: (_c = (0, inputs_1.readString)(credentials.apiKey, 'API Key')) !== null && _c !== void 0 ? _c : '',
|
|
87
|
+
},
|
|
88
|
+
json: true,
|
|
89
|
+
ignoreHttpStatusErrors: true,
|
|
90
|
+
returnFullResponse: true,
|
|
91
|
+
timeout: config_1.REQUEST_TIMEOUT_MS,
|
|
92
|
+
disableFollowRedirect: true,
|
|
93
|
+
}));
|
|
94
|
+
const { statusCode, body } = response;
|
|
95
|
+
if (statusCode >= 200 && statusCode <= 299) {
|
|
96
|
+
const accessToken = typeof body === 'object' && body !== null
|
|
97
|
+
? body.accessToken
|
|
98
|
+
: undefined;
|
|
99
|
+
if (typeof accessToken !== 'string' || accessToken === '') {
|
|
100
|
+
throw new Error('alfaview did not return an access token.');
|
|
101
|
+
}
|
|
102
|
+
return { accessToken };
|
|
103
|
+
}
|
|
104
|
+
if (statusCode === 401)
|
|
105
|
+
throw new Error(errors_1.INVALID_CREDENTIALS_MESSAGE);
|
|
106
|
+
if (statusCode === 403)
|
|
107
|
+
throw new Error(errors_1.INACTIVE_ACCOUNT_MESSAGE);
|
|
108
|
+
throw new Error((0, errors_1.describeApiError)(statusCode, body, LOGIN_PATH).message);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.AlfaviewApi = AlfaviewApi;
|
|
112
|
+
//# sourceMappingURL=AlfaviewApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlfaviewApi.credentials.js","sourceRoot":"","sources":["../../credentials/AlfaviewApi.credentials.ts"],"names":[],"mappings":";;;AAcA,+DAA4F;AAC5F,+DAI4C;AAC5C,wEAA4E;AAC5E,4DAA6D;AAE7D,MAAM,oBAAoB,GACzB,0EAA0E,CAAC;AAQ/D,QAAA,yBAAyB,GACrC,0fAA0f,CAAC;AAE5f,MAAM,UAAU,GAAG,kBAAkB,CAAC;AAEtC,MAAa,WAAW;IAAxB;QACC,SAAI,GAAG,aAAa,CAAC;QAErB,gBAAW,GAAG,cAAc,CAAC;QAE7B,SAAI,GAAS;YACZ,KAAK,EAAE,qCAAqC;YAC5C,IAAI,EAAE,0CAA0C;SAChD,CAAC;QAEF,qBAAgB,GAAG,0EAA0E,CAAC;QAE9F,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,0CAA0C,oBAAoB,qCAAqC;aAChH;YACD;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;gBACd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D;AAzHD,kCAyHC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type IExecuteFunctions, type INodeExecutionData, type INodeType, type INodeTypeDescription } from 'n8n-workflow';
|
|
2
|
+
export declare class Alfaview implements INodeType {
|
|
3
|
+
description: INodeTypeDescription;
|
|
4
|
+
methods: {
|
|
5
|
+
listSearch: {
|
|
6
|
+
searchDepartments: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string, paginationToken?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
|
|
7
|
+
searchGroupLinks: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string, paginationToken?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
|
|
8
|
+
searchGuestLinks: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string, paginationToken?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
|
|
9
|
+
searchMeetings: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
|
|
10
|
+
searchRooms: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string, paginationToken?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
|
|
11
|
+
searchUsers: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
|
|
12
|
+
};
|
|
13
|
+
loadOptions: {
|
|
14
|
+
getBreakoutRooms: (this: import("n8n-workflow").ILoadOptionsFunctions) => Promise<import("n8n-workflow").INodePropertyOptions[]>;
|
|
15
|
+
getPermissionGroups: (this: import("n8n-workflow").ILoadOptionsFunctions) => Promise<import("n8n-workflow").INodePropertyOptions[]>;
|
|
16
|
+
getPlanRoomTypes: (this: import("n8n-workflow").ILoadOptionsFunctions) => Promise<import("n8n-workflow").INodePropertyOptions[]>;
|
|
17
|
+
getSpokenLanguages: (this: import("n8n-workflow").ILoadOptionsFunctions) => Promise<import("n8n-workflow").INodePropertyOptions[]>;
|
|
18
|
+
getTranslationLanguages: (this: import("n8n-workflow").ILoadOptionsFunctions) => Promise<import("n8n-workflow").INodePropertyOptions[]>;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Alfaview = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const items_1 = require("./items");
|
|
6
|
+
const listSearch_1 = require("./methods/listSearch");
|
|
7
|
+
const loadOptions_1 = require("./methods/loadOptions");
|
|
8
|
+
const resources_1 = require("./resources");
|
|
9
|
+
class Alfaview {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.description = {
|
|
12
|
+
displayName: 'alfaview',
|
|
13
|
+
name: 'alfaview',
|
|
14
|
+
icon: { light: 'file:alfaview.svg', dark: 'file:alfaview.dark.svg' },
|
|
15
|
+
group: ['transform'],
|
|
16
|
+
version: 1,
|
|
17
|
+
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
|
18
|
+
description: 'Manage alfaview rooms, meetings, guest links and attendance',
|
|
19
|
+
defaults: { name: 'alfaview' },
|
|
20
|
+
usableAsTool: true,
|
|
21
|
+
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
22
|
+
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
23
|
+
credentials: [{ name: 'alfaviewApi', required: true }],
|
|
24
|
+
properties: resources_1.PROPERTIES,
|
|
25
|
+
};
|
|
26
|
+
this.methods = { listSearch: listSearch_1.listSearch, loadOptions: loadOptions_1.loadOptions };
|
|
27
|
+
}
|
|
28
|
+
async execute() {
|
|
29
|
+
const resource = this.getNodeParameter('resource', 0);
|
|
30
|
+
const operation = this.getNodeParameter('operation', 0);
|
|
31
|
+
return (0, items_1.runForEachItem)(this, (0, items_1.findRunner)(this.getNode(), resources_1.RUNNERS, resource, operation));
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.Alfaview = Alfaview;
|
|
35
|
+
//# sourceMappingURL=Alfaview.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alfaview.node.js","sourceRoot":"","sources":["../../../nodes/Alfaview/Alfaview.node.ts"],"names":[],"mappings":";;;AAGA,+CAMsB;AACtB,mCAAqD;AACrD,qDAAkD;AAClD,uDAAoD;AACpD,2CAAkD;AAElD,MAAa,QAAQ;IAArB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE,IAAI,EAAE,wBAAwB,EAAE;YACpE,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8DAA8D;YACxE,WAAW,EAAE,6DAA6D;YAC1E,QAAQ,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;YAC9B,YAAY,EAAE,IAAI;YAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YACnC,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;YACtD,UAAU,EAAE,sBAAU;SACtB,CAAC;QAEF,YAAO,GAAG,EAAE,UAAU,EAAV,uBAAU,EAAE,WAAW,EAAX,yBAAW,EAAE,CAAC;IAOvC,CAAC;IALA,KAAK,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,CAAC,CAAW,CAAC;QAChE,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC,WAAW,EAAE,CAAC,CAAW,CAAC;QAClE,OAAO,IAAA,sBAAc,EAAC,IAAI,EAAE,IAAA,kBAAU,EAAC,IAAI,CAAC,OAAO,EAAE,EAAE,mBAAO,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC;IACvF,CAAC;CACD;AAxBD,4BAwBC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node": "@alfaview-integrations/n8n-nodes-alfaview.alfaview",
|
|
3
|
+
"nodeVersion": "1.0",
|
|
4
|
+
"codexVersion": "1.0",
|
|
5
|
+
"categories": ["Communication"],
|
|
6
|
+
"resources": {
|
|
7
|
+
"credentialDocumentation": [
|
|
8
|
+
{
|
|
9
|
+
"url": "https://support.alfaview.com/en/developers/request-your-api-credentials/"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"primaryDocumentation": [
|
|
13
|
+
{
|
|
14
|
+
"url": "https://www.npmjs.com/package/@alfaview-integrations/n8n-nodes-alfaview"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="b" x1="256" x2="256" y1="0" y2="526.5" gradientUnits="userSpaceOnUse">
|
|
4
|
+
<stop stop-color="#18c5ff"/>
|
|
5
|
+
<stop offset="1" stop-color="#1d64f3"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
<linearGradient id="e" x1="114.5" x2="512.5" y1="13" y2="512.5" gradientUnits="userSpaceOnUse">
|
|
8
|
+
<stop stop-color="#fff" stop-opacity=".3"/>
|
|
9
|
+
<stop offset="1" stop-color="#fff" stop-opacity=".1"/>
|
|
10
|
+
</linearGradient>
|
|
11
|
+
<filter id="s" x="-10%" y="-10%" width="120%" height="120%">
|
|
12
|
+
<feGaussianBlur stdDeviation="1.5"/>
|
|
13
|
+
</filter>
|
|
14
|
+
</defs>
|
|
15
|
+
<path fill="url(#b)" d="M0 224c0-78.407 0-117.611 15.26-147.559A140 140 0 0 1 76.44 15.26C106.39 0 145.593 0 224 0h64c78.407 0 117.611 0 147.559 15.26a140 140 0 0 1 61.182 61.181C512 106.39 512 145.593 512 224v64c0 78.407 0 117.611-15.259 147.559a140 140 0 0 1-61.182 61.182C405.611 512 366.407 512 288 512h-64c-78.407 0-117.611 0-147.559-15.259a140 140 0 0 1-61.182-61.182C0 405.611 0 366.407 0 288z"/>
|
|
16
|
+
<path fill="#005bbf" filter="url(#s)" transform="translate(2 0)" d="m377.937 140.17-43.398 249.727s-.258 1.773-.651 2.577a6.4 6.4 0 0 1-1.627 2.089 6.3 6.3 0 0 1-2.326 1.244c-.852.247-2.624.186-2.624.186h-49.425c-4.219 0-6.026-2.43-6.026-7.922 0-3.035-1.209-4.874-3.62-4.874s-4.337 1.28-6.631 2.443a96.4 96.4 0 0 1-39.777 10.353c-60.274 0-95.832-34.108-95.832-85.887.004-7.347.609-14.682 1.807-21.929l11.454-63.341c11.448-63.349 62.679-107.81 130.792-107.81 9.962 0 19.828 2.528 28.928 6.701 4.752 2.16 7.728 5.479 12.65 5.479 3.028 0 5.434-2.438 6.033-6.701a6.85 6.85 0 0 1 2.577-4.137 6.72 6.72 0 0 1 4.651-1.342h51.238c3.614 0 4.823 1.215 4.823 4.264 0 3.041-3.016 18.88-3.016 18.88m-118.733 40.809c-12.088.173-23.743 4.579-32.976 12.465s-15.474 18.765-17.657 30.781l-9.043 49.947a167 167 0 0 0-3.01 22.532c0 20.72 15.069 35.33 36.768 35.33 12.079-.307 23.676-4.851 32.802-12.852s15.215-18.963 17.22-31.005l9.647-55.425c.605-4.868 2.411-13.395 2.411-16.443a34.9 34.9 0 0 0-2.546-13.941 34.6 34.6 0 0 0-7.872-11.735 34.1 34.1 0 0 0-11.871-7.553 33.9 33.9 0 0 0-13.873-2.101"/>
|
|
17
|
+
<path fill="#fff" d="m377.937 140.17-43.398 249.727s-.258 1.773-.651 2.577a6.4 6.4 0 0 1-1.627 2.089 6.3 6.3 0 0 1-2.326 1.244c-.852.247-2.624.186-2.624.186h-49.425c-4.219 0-6.026-2.43-6.026-7.922 0-3.035-1.209-4.874-3.62-4.874s-4.337 1.28-6.631 2.443a96.4 96.4 0 0 1-39.777 10.353c-60.274 0-95.832-34.108-95.832-85.887.004-7.347.609-14.682 1.807-21.929l11.454-63.341c11.448-63.349 62.679-107.81 130.792-107.81 9.962 0 19.828 2.528 28.928 6.701 4.752 2.16 7.728 5.479 12.65 5.479 3.028 0 5.434-2.438 6.033-6.701a6.85 6.85 0 0 1 2.577-4.137 6.72 6.72 0 0 1 4.651-1.342h51.238c3.614 0 4.823 1.215 4.823 4.264 0 3.041-3.016 18.88-3.016 18.88m-118.733 40.809c-12.088.173-23.743 4.579-32.976 12.465s-15.474 18.765-17.657 30.781l-9.043 49.947a167 167 0 0 0-3.01 22.532c0 20.72 15.069 35.33 36.768 35.33 12.079-.307 23.676-4.851 32.802-12.852s15.215-18.963 17.22-31.005l9.647-55.425c.605-4.868 2.411-13.395 2.411-16.443a34.9 34.9 0 0 0-2.546-13.941 34.6 34.6 0 0 0-7.872-11.735 34.1 34.1 0 0 0-11.871-7.553 33.9 33.9 0 0 0-13.873-2.101"/>
|
|
18
|
+
<path fill="url(#e)" d="M288 509v3h-64v-3zm221-221v-64c0-39.253-.002-68.512-1.897-91.707-1.893-23.16-5.657-40.009-13.035-54.49a137 137 0 0 0-59.872-59.871c-14.48-7.378-31.329-11.142-54.489-13.035C356.512 3.002 327.253 3 288 3h-64c-39.253 0-68.512.002-91.707 1.897-23.16 1.893-40.009 5.657-54.49 13.035a137 137 0 0 0-59.871 59.872c-7.378 14.48-11.142 31.329-13.035 54.489C3.002 155.488 3 184.747 3 224v64c0 39.253.002 68.512 1.897 91.707 1.893 23.16 5.657 40.009 13.035 54.489a137 137 0 0 0 59.872 59.872c14.48 7.378 31.329 11.142 54.489 13.035C155.488 508.998 184.747 509 224 509v3c-77.182 0-116.377 0-146.148-14.555l-1.41-.704a140 140 0 0 1-61.183-61.182C-.001 405.611 0 366.407 0 288v-64c0-77.182 0-116.377 14.555-146.148l.704-1.41A140 140 0 0 1 75.21 15.894l1.231-.636C106.39-.001 145.593 0 224 0h64c78.407 0 117.611 0 147.559 15.259a140 140 0 0 1 61.182 61.182C512 106.39 512 145.593 512 224v64c0 78.407 0 117.611-15.259 147.559l-.636 1.231a140 140 0 0 1-60.546 59.951l-1.411.704C404.377 512 365.182 512 288 512v-3c39.253 0 68.512-.002 91.707-1.897 23.16-1.893 40.009-5.657 54.489-13.035a137 137 0 0 0 59.872-59.872c7.378-14.48 11.142-31.329 13.035-54.489C508.998 356.512 509 327.253 509 288"/>
|
|
19
|
+
</svg>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="b" x1="256" x2="256" y1="0" y2="526.5" gradientUnits="userSpaceOnUse">
|
|
4
|
+
<stop stop-color="#18c5ff"/>
|
|
5
|
+
<stop offset="1" stop-color="#1d64f3"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
<linearGradient id="e" x1="114.5" x2="512.5" y1="13" y2="512.5" gradientUnits="userSpaceOnUse">
|
|
8
|
+
<stop stop-color="#fff" stop-opacity=".3"/>
|
|
9
|
+
<stop offset="1" stop-color="#fff" stop-opacity=".1"/>
|
|
10
|
+
</linearGradient>
|
|
11
|
+
<filter id="s" x="-10%" y="-10%" width="120%" height="120%">
|
|
12
|
+
<feGaussianBlur stdDeviation="1.5"/>
|
|
13
|
+
</filter>
|
|
14
|
+
</defs>
|
|
15
|
+
<path fill="url(#b)" d="M0 224c0-78.407 0-117.611 15.26-147.559A140 140 0 0 1 76.44 15.26C106.39 0 145.593 0 224 0h64c78.407 0 117.611 0 147.559 15.26a140 140 0 0 1 61.182 61.181C512 106.39 512 145.593 512 224v64c0 78.407 0 117.611-15.259 147.559a140 140 0 0 1-61.182 61.182C405.611 512 366.407 512 288 512h-64c-78.407 0-117.611 0-147.559-15.259a140 140 0 0 1-61.182-61.182C0 405.611 0 366.407 0 288z"/>
|
|
16
|
+
<path fill="#005bbf" filter="url(#s)" transform="translate(2 0)" d="m377.937 140.17-43.398 249.727s-.258 1.773-.651 2.577a6.4 6.4 0 0 1-1.627 2.089 6.3 6.3 0 0 1-2.326 1.244c-.852.247-2.624.186-2.624.186h-49.425c-4.219 0-6.026-2.43-6.026-7.922 0-3.035-1.209-4.874-3.62-4.874s-4.337 1.28-6.631 2.443a96.4 96.4 0 0 1-39.777 10.353c-60.274 0-95.832-34.108-95.832-85.887.004-7.347.609-14.682 1.807-21.929l11.454-63.341c11.448-63.349 62.679-107.81 130.792-107.81 9.962 0 19.828 2.528 28.928 6.701 4.752 2.16 7.728 5.479 12.65 5.479 3.028 0 5.434-2.438 6.033-6.701a6.85 6.85 0 0 1 2.577-4.137 6.72 6.72 0 0 1 4.651-1.342h51.238c3.614 0 4.823 1.215 4.823 4.264 0 3.041-3.016 18.88-3.016 18.88m-118.733 40.809c-12.088.173-23.743 4.579-32.976 12.465s-15.474 18.765-17.657 30.781l-9.043 49.947a167 167 0 0 0-3.01 22.532c0 20.72 15.069 35.33 36.768 35.33 12.079-.307 23.676-4.851 32.802-12.852s15.215-18.963 17.22-31.005l9.647-55.425c.605-4.868 2.411-13.395 2.411-16.443a34.9 34.9 0 0 0-2.546-13.941 34.6 34.6 0 0 0-7.872-11.735 34.1 34.1 0 0 0-11.871-7.553 33.9 33.9 0 0 0-13.873-2.101"/>
|
|
17
|
+
<path fill="#fff" d="m377.937 140.17-43.398 249.727s-.258 1.773-.651 2.577a6.4 6.4 0 0 1-1.627 2.089 6.3 6.3 0 0 1-2.326 1.244c-.852.247-2.624.186-2.624.186h-49.425c-4.219 0-6.026-2.43-6.026-7.922 0-3.035-1.209-4.874-3.62-4.874s-4.337 1.28-6.631 2.443a96.4 96.4 0 0 1-39.777 10.353c-60.274 0-95.832-34.108-95.832-85.887.004-7.347.609-14.682 1.807-21.929l11.454-63.341c11.448-63.349 62.679-107.81 130.792-107.81 9.962 0 19.828 2.528 28.928 6.701 4.752 2.16 7.728 5.479 12.65 5.479 3.028 0 5.434-2.438 6.033-6.701a6.85 6.85 0 0 1 2.577-4.137 6.72 6.72 0 0 1 4.651-1.342h51.238c3.614 0 4.823 1.215 4.823 4.264 0 3.041-3.016 18.88-3.016 18.88m-118.733 40.809c-12.088.173-23.743 4.579-32.976 12.465s-15.474 18.765-17.657 30.781l-9.043 49.947a167 167 0 0 0-3.01 22.532c0 20.72 15.069 35.33 36.768 35.33 12.079-.307 23.676-4.851 32.802-12.852s15.215-18.963 17.22-31.005l9.647-55.425c.605-4.868 2.411-13.395 2.411-16.443a34.9 34.9 0 0 0-2.546-13.941 34.6 34.6 0 0 0-7.872-11.735 34.1 34.1 0 0 0-11.871-7.553 33.9 33.9 0 0 0-13.873-2.101"/>
|
|
18
|
+
<path fill="url(#e)" d="M288 509v3h-64v-3zm221-221v-64c0-39.253-.002-68.512-1.897-91.707-1.893-23.16-5.657-40.009-13.035-54.49a137 137 0 0 0-59.872-59.871c-14.48-7.378-31.329-11.142-54.489-13.035C356.512 3.002 327.253 3 288 3h-64c-39.253 0-68.512.002-91.707 1.897-23.16 1.893-40.009 5.657-54.49 13.035a137 137 0 0 0-59.871 59.872c-7.378 14.48-11.142 31.329-13.035 54.489C3.002 155.488 3 184.747 3 224v64c0 39.253.002 68.512 1.897 91.707 1.893 23.16 5.657 40.009 13.035 54.489a137 137 0 0 0 59.872 59.872c14.48 7.378 31.329 11.142 54.489 13.035C155.488 508.998 184.747 509 224 509v3c-77.182 0-116.377 0-146.148-14.555l-1.41-.704a140 140 0 0 1-61.183-61.182C-.001 405.611 0 366.407 0 288v-64c0-77.182 0-116.377 14.555-146.148l.704-1.41A140 140 0 0 1 75.21 15.894l1.231-.636C106.39-.001 145.593 0 224 0h64c78.407 0 117.611 0 147.559 15.259a140 140 0 0 1 61.182 61.182C512 106.39 512 145.593 512 224v64c0 78.407 0 117.611-15.259 147.559l-.636 1.231a140 140 0 0 1-60.546 59.951l-1.411.704C404.377 512 365.182 512 288 512v-3c39.253 0 68.512-.002 91.707-1.897 23.16-1.893 40.009-5.657 54.489-13.035a137 137 0 0 0 59.872-59.872c7.378-14.48 11.142-31.329 13.035-54.489C508.998 356.512 509 327.253 509 288"/>
|
|
19
|
+
</svg>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type ApiUserAttendances, type TimeWindow } from '../shared/attendance';
|
|
2
|
+
import type { ApiGuestLink } from '../shared/guestLinks';
|
|
3
|
+
import { type AlfaviewContext } from '../transport/request';
|
|
4
|
+
export { ATTENDANCE_DENIED_MESSAGE, ATTENDEE_WINDOW_MS, attendeeItems, buildReport, DAY_MS, dropExpiredUsers, eventWindow, groupSessions, HOUR_MS, LOOKBACK_MS, mapGuestLinkAttendance, MAX_EVENTS_PER_POLL, readyEvents, RETENTION_LIMIT_MS, SAMPLE_EVENT_COUNT, sessionsOfUser, summarize, } from '../shared/attendance';
|
|
5
|
+
export type { ApiAttendanceSession, ApiUserAttendances, AttendanceReportOutput, AttendeeGroup, AttendeeOutput, AttendeeScope, GuestLinkAttendanceOutput, ReportEvent, TimeWindow, } from '../shared/attendance';
|
|
6
|
+
export declare const MINIMUM_MINUTES_LABEL = "Minimum Minutes to Count as Attended";
|
|
7
|
+
export declare const checkWindow: (from: number, to: number, now: number) => void, readMinimumMinutes: (value: unknown) => number, readAttendeeScope: (value: unknown) => import("../shared/attendance").AttendeeScope;
|
|
8
|
+
export declare function listAttendances(ctx: AlfaviewContext, roomId: string, window: TimeWindow): Promise<ApiUserAttendances[]>;
|
|
9
|
+
export declare function readGuestLinksByUserId(ctx: AlfaviewContext, roomId: string): Promise<Map<string, ApiGuestLink>>;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var _a;
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.readAttendeeScope = exports.readMinimumMinutes = exports.checkWindow = exports.MINIMUM_MINUTES_LABEL = exports.summarize = exports.sessionsOfUser = exports.SAMPLE_EVENT_COUNT = exports.RETENTION_LIMIT_MS = exports.readyEvents = exports.MAX_EVENTS_PER_POLL = exports.mapGuestLinkAttendance = exports.LOOKBACK_MS = exports.HOUR_MS = exports.groupSessions = exports.eventWindow = exports.dropExpiredUsers = exports.DAY_MS = exports.buildReport = exports.attendeeItems = exports.ATTENDEE_WINDOW_MS = exports.ATTENDANCE_DENIED_MESSAGE = void 0;
|
|
5
|
+
exports.listAttendances = listAttendances;
|
|
6
|
+
exports.readGuestLinksByUserId = readGuestLinksByUserId;
|
|
7
|
+
const platform_1 = require("../platform");
|
|
8
|
+
const attendance_1 = require("../shared/attendance");
|
|
9
|
+
const errors_1 = require("../transport/errors");
|
|
10
|
+
const pagination_1 = require("../transport/pagination");
|
|
11
|
+
const request_1 = require("../transport/request");
|
|
12
|
+
const guestLinks_1 = require("./guestLinks");
|
|
13
|
+
const rooms_1 = require("./rooms");
|
|
14
|
+
var attendance_2 = require("../shared/attendance");
|
|
15
|
+
Object.defineProperty(exports, "ATTENDANCE_DENIED_MESSAGE", { enumerable: true, get: function () { return attendance_2.ATTENDANCE_DENIED_MESSAGE; } });
|
|
16
|
+
Object.defineProperty(exports, "ATTENDEE_WINDOW_MS", { enumerable: true, get: function () { return attendance_2.ATTENDEE_WINDOW_MS; } });
|
|
17
|
+
Object.defineProperty(exports, "attendeeItems", { enumerable: true, get: function () { return attendance_2.attendeeItems; } });
|
|
18
|
+
Object.defineProperty(exports, "buildReport", { enumerable: true, get: function () { return attendance_2.buildReport; } });
|
|
19
|
+
Object.defineProperty(exports, "DAY_MS", { enumerable: true, get: function () { return attendance_2.DAY_MS; } });
|
|
20
|
+
Object.defineProperty(exports, "dropExpiredUsers", { enumerable: true, get: function () { return attendance_2.dropExpiredUsers; } });
|
|
21
|
+
Object.defineProperty(exports, "eventWindow", { enumerable: true, get: function () { return attendance_2.eventWindow; } });
|
|
22
|
+
Object.defineProperty(exports, "groupSessions", { enumerable: true, get: function () { return attendance_2.groupSessions; } });
|
|
23
|
+
Object.defineProperty(exports, "HOUR_MS", { enumerable: true, get: function () { return attendance_2.HOUR_MS; } });
|
|
24
|
+
Object.defineProperty(exports, "LOOKBACK_MS", { enumerable: true, get: function () { return attendance_2.LOOKBACK_MS; } });
|
|
25
|
+
Object.defineProperty(exports, "mapGuestLinkAttendance", { enumerable: true, get: function () { return attendance_2.mapGuestLinkAttendance; } });
|
|
26
|
+
Object.defineProperty(exports, "MAX_EVENTS_PER_POLL", { enumerable: true, get: function () { return attendance_2.MAX_EVENTS_PER_POLL; } });
|
|
27
|
+
Object.defineProperty(exports, "readyEvents", { enumerable: true, get: function () { return attendance_2.readyEvents; } });
|
|
28
|
+
Object.defineProperty(exports, "RETENTION_LIMIT_MS", { enumerable: true, get: function () { return attendance_2.RETENTION_LIMIT_MS; } });
|
|
29
|
+
Object.defineProperty(exports, "SAMPLE_EVENT_COUNT", { enumerable: true, get: function () { return attendance_2.SAMPLE_EVENT_COUNT; } });
|
|
30
|
+
Object.defineProperty(exports, "sessionsOfUser", { enumerable: true, get: function () { return attendance_2.sessionsOfUser; } });
|
|
31
|
+
Object.defineProperty(exports, "summarize", { enumerable: true, get: function () { return attendance_2.summarize; } });
|
|
32
|
+
exports.MINIMUM_MINUTES_LABEL = 'Minimum Minutes to Count as Attended';
|
|
33
|
+
_a = (0, attendance_1.createAttendanceReaders)(platform_1.platform, {
|
|
34
|
+
from: 'From',
|
|
35
|
+
to: 'To',
|
|
36
|
+
minimumMinutes: exports.MINIMUM_MINUTES_LABEL,
|
|
37
|
+
attendees: 'Attendees',
|
|
38
|
+
guestLinkChoice: 'People with a Guest Link',
|
|
39
|
+
everyoneChoice: 'Everyone',
|
|
40
|
+
}), exports.checkWindow = _a.checkWindow, exports.readMinimumMinutes = _a.readMinimumMinutes, exports.readAttendeeScope = _a.readAttendeeScope;
|
|
41
|
+
function isObject(value) {
|
|
42
|
+
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
43
|
+
}
|
|
44
|
+
async function listAttendances(ctx, roomId, window) {
|
|
45
|
+
const { status, data } = await (0, request_1.apiRequest)(ctx, {
|
|
46
|
+
method: 'GET',
|
|
47
|
+
path: `${(0, rooms_1.roomPath)(roomId)}/attendances`,
|
|
48
|
+
qs: { from: new Date(window.from).toISOString(), to: new Date(window.to).toISOString() },
|
|
49
|
+
allowStatuses: [403],
|
|
50
|
+
});
|
|
51
|
+
if (status === 403)
|
|
52
|
+
throw (0, errors_1.responseError)(ctx.getNode(), attendance_1.ATTENDANCE_DENIED_MESSAGE, 403);
|
|
53
|
+
if (data === undefined || data === null)
|
|
54
|
+
return [];
|
|
55
|
+
if (!Array.isArray(data)) {
|
|
56
|
+
throw (0, errors_1.responseError)(ctx.getNode(), 'alfaview sent an unexpected attendance response.');
|
|
57
|
+
}
|
|
58
|
+
return data.filter(isObject).flatMap((entry) => typeof entry.userId === 'string' && entry.userId !== ''
|
|
59
|
+
? [
|
|
60
|
+
{
|
|
61
|
+
userId: entry.userId,
|
|
62
|
+
attendances: Array.isArray(entry.attendances)
|
|
63
|
+
? entry.attendances.filter(isObject)
|
|
64
|
+
: [],
|
|
65
|
+
},
|
|
66
|
+
]
|
|
67
|
+
: []);
|
|
68
|
+
}
|
|
69
|
+
async function readGuestLinksByUserId(ctx, roomId) {
|
|
70
|
+
const { items } = await (0, pagination_1.fetchAllPages)(ctx, (0, guestLinks_1.guestLinksPath)(roomId), {
|
|
71
|
+
pageSize: guestLinks_1.LINK_PAGE_SIZE,
|
|
72
|
+
tooManyResultsHint: (0, guestLinks_1.guestLinksHint)(roomId),
|
|
73
|
+
});
|
|
74
|
+
return (0, attendance_1.guestLinksByUserId)(items);
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=attendance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attendance.js","sourceRoot":"","sources":["../../../../nodes/Alfaview/domain/attendance.ts"],"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,EAAE,IAAA,2BAAc,EAAC,MAAM,CAAC,EAAE;QAChF,QAAQ,EAAE,2BAAc;QACxB,kBAAkB,EAAE,IAAA,2BAAc,EAAC,MAAM,CAAC;KAC1C,CAAC,CAAC;IACH,OAAO,IAAA,+BAAkB,EAAC,KAAK,CAAC,CAAC;AAClC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type FileSharingOutput } from '../shared/fileSharing';
|
|
2
|
+
import { type AlfaviewContext } from '../transport/request';
|
|
3
|
+
export { fileShareSettingsPath } from '../shared/fileSharing';
|
|
4
|
+
export type { FileSharingOutput } from '../shared/fileSharing';
|
|
5
|
+
export declare function readRoomFileSharing(ctx: AlfaviewContext, roomId: string): Promise<FileSharingOutput>;
|