@activepieces/piece-zoom 0.0.0-pre1
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 +7 -0
- package/package.json +17 -0
- package/src/index.d.ts +1 -0
- package/src/index.js +18 -0
- package/src/index.js.map +1 -0
- package/src/lib/actions/create-meeting-registrant.d.ts +1 -0
- package/src/lib/actions/create-meeting-registrant.js +54 -0
- package/src/lib/actions/create-meeting-registrant.js.map +1 -0
- package/src/lib/actions/create-meeting.d.ts +1 -0
- package/src/lib/actions/create-meeting.js +242 -0
- package/src/lib/actions/create-meeting.js.map +1 -0
- package/src/lib/common/models.d.ts +246 -0
- package/src/lib/common/models.js +3 -0
- package/src/lib/common/models.js.map +1 -0
- package/src/lib/common/props.d.ts +22 -0
- package/src/lib/common/props.js +109 -0
- package/src/lib/common/props.js.map +1 -0
package/README.md
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@activepieces/piece-zoom",
|
|
3
|
+
"version": "0.0.0-pre1",
|
|
4
|
+
"dependencies": {
|
|
5
|
+
"@sinclair/typebox": "0.24.51",
|
|
6
|
+
"axios": "1.2.4",
|
|
7
|
+
"cron-validator": "1.3.1",
|
|
8
|
+
"nanoid": "3.3.4"
|
|
9
|
+
},
|
|
10
|
+
"peerDependencies": {
|
|
11
|
+
"@activepieces/framework": "0.0.1",
|
|
12
|
+
"@activepieces/shared": "0.0.1",
|
|
13
|
+
"tslib": "2.4.1"
|
|
14
|
+
},
|
|
15
|
+
"main": "./src/index.js",
|
|
16
|
+
"types": "./src/index.d.ts"
|
|
17
|
+
}
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const zoom: import("@activepieces/framework").Piece;
|
package/src/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.zoom = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
|
+
const framework_1 = require("@activepieces/framework");
|
|
7
|
+
const create_meeting_1 = require("./lib/actions/create-meeting");
|
|
8
|
+
const create_meeting_registrant_1 = require("./lib/actions/create-meeting-registrant");
|
|
9
|
+
exports.zoom = (0, framework_1.createPiece)({
|
|
10
|
+
name: 'zoom',
|
|
11
|
+
displayName: "Zoom",
|
|
12
|
+
logoUrl: 'https://cdn.activepieces.com/pieces/zoom.png',
|
|
13
|
+
version: package_json_1.default.version,
|
|
14
|
+
actions: [create_meeting_1.zoomCreateMeeting, create_meeting_registrant_1.zoomCreateMeetingRegistrant],
|
|
15
|
+
authors: ['kanarelo'],
|
|
16
|
+
triggers: [],
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
package/src/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/pieces/zoom/src/index.ts"],"names":[],"mappings":";;;;AAAA,2EAA0C;AAC1C,uDAAsD;AACtD,iEAAiE;AACjE,uFAAsF;AAEzE,QAAA,IAAI,GAAG,IAAA,uBAAW,EAAC;IAC9B,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,MAAM;IACnB,OAAO,EAAE,8CAA8C;IACvD,OAAO,EAAE,sBAAW,CAAC,OAAO;IAC5B,OAAO,EAAE,CAAC,kCAAiB,EAAE,uDAA2B,CAAC;IACzD,OAAO,EAAE,CAAC,UAAU,CAAC;IACrB,QAAQ,EAAE,EAAE;CACb,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const zoomCreateMeetingRegistrant: import("@activepieces/framework").Action;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.zoomCreateMeetingRegistrant = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const framework_1 = require("@activepieces/framework");
|
|
6
|
+
const props_1 = require("../common/props");
|
|
7
|
+
exports.zoomCreateMeetingRegistrant = (0, framework_1.createAction)({
|
|
8
|
+
name: 'zoom_create_meeting_registrant',
|
|
9
|
+
displayName: 'Create Zoom Meeting Registrant',
|
|
10
|
+
description: "Create and submit a user's registration to a meeting.",
|
|
11
|
+
props: (0, props_1.getRegistarantProps)(),
|
|
12
|
+
sampleData: {
|
|
13
|
+
"id": 85746065,
|
|
14
|
+
"join_url": "https://example.com/j/11111",
|
|
15
|
+
"registrant_id": "fdgsfh2ey82fuh",
|
|
16
|
+
"start_time": "2021-07-13T21:44:51Z",
|
|
17
|
+
"topic": "My Meeting",
|
|
18
|
+
"occurrences": [
|
|
19
|
+
{
|
|
20
|
+
"duration": 60,
|
|
21
|
+
"occurrence_id": "1648194360000",
|
|
22
|
+
"start_time": "2022-03-25T07:46:00Z",
|
|
23
|
+
"status": "available"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"participant_pin_code": 380303
|
|
27
|
+
},
|
|
28
|
+
run(context) {
|
|
29
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
30
|
+
const body = Object.assign({}, context.propsValue);
|
|
31
|
+
delete body['authentication'];
|
|
32
|
+
delete body['meeting_id'];
|
|
33
|
+
const request = {
|
|
34
|
+
method: framework_1.HttpMethod.POST,
|
|
35
|
+
url: `https://api.zoom.us/v2/meetings/${context.propsValue.meeting_id}/registrants`,
|
|
36
|
+
body,
|
|
37
|
+
authentication: {
|
|
38
|
+
type: framework_1.AuthenticationType.BEARER_TOKEN,
|
|
39
|
+
token: context.propsValue.authentication.access_token
|
|
40
|
+
},
|
|
41
|
+
queryParams: {}
|
|
42
|
+
};
|
|
43
|
+
const result = yield framework_1.httpClient.sendRequest(request);
|
|
44
|
+
console.debug("Meeting registration response", result);
|
|
45
|
+
if (result.status === 201) {
|
|
46
|
+
return result.body;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
return result;
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
//# sourceMappingURL=create-meeting-registrant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-meeting-registrant.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/zoom/src/lib/actions/create-meeting-registrant.ts"],"names":[],"mappings":";;;;AAAA,uDAAgH;AAEhH,2CAAsD;AAEzC,QAAA,2BAA2B,GAAG,IAAA,wBAAY,EAAC;IACtD,IAAI,EAAE,gCAAgC;IACtC,WAAW,EAAE,gCAAgC;IAC7C,WAAW,EAAE,uDAAuD;IACpE,KAAK,EAAE,IAAA,2BAAmB,GAAE;IAC5B,UAAU,EAAE;QACV,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,6BAA6B;QACzC,eAAe,EAAE,gBAAgB;QACjC,YAAY,EAAE,sBAAsB;QACpC,OAAO,EAAE,YAAY;QACrB,aAAa,EAAE;YACb;gBACE,UAAU,EAAE,EAAE;gBACd,eAAe,EAAE,eAAe;gBAChC,YAAY,EAAE,sBAAsB;gBACpC,QAAQ,EAAE,WAAW;aACtB;SACF;QACD,sBAAsB,EAAE,MAAM;KAC/B;IAEK,GAAG,CAAC,OAAO;;YACf,MAAM,IAAI,qBAAiC,OAAO,CAAC,UAAU,CAAE,CAAA;YAC/D,OAAO,IAAI,CAAC,gBAAgB,CAAC,CAAA;YAC7B,OAAO,IAAI,CAAC,YAAY,CAAC,CAAA;YAEzB,MAAM,OAAO,GAAgB;gBAC3B,MAAM,EAAE,sBAAU,CAAC,IAAI;gBACvB,GAAG,EAAE,mCAAmC,OAAO,CAAC,UAAU,CAAC,UAAU,cAAc;gBACnF,IAAI;gBACJ,cAAc,EAAE;oBACd,IAAI,EAAE,8BAAkB,CAAC,YAAY;oBACrC,KAAK,EAAE,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,YAAY;iBACtD;gBACD,WAAW,EAAE,EAAE;aAChB,CAAA;YAED,MAAM,MAAM,GAAG,MAAM,sBAAU,CAAC,WAAW,CAAuB,OAAO,CAAC,CAAA;YAC1E,OAAO,CAAC,KAAK,CAAC,+BAA+B,EAAE,MAAM,CAAC,CAAA;YAEtD,IAAI,MAAM,CAAC,MAAM,KAAK,GAAG,EAAE;gBACzB,OAAO,MAAM,CAAC,IAAI,CAAC;aACpB;iBAAM;gBACL,OAAO,MAAM,CAAC;aACf;QACH,CAAC;KAAA;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const zoomCreateMeeting: import("@activepieces/framework").Action;
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.zoomCreateMeeting = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const framework_1 = require("@activepieces/framework");
|
|
6
|
+
const props_1 = require("../common/props");
|
|
7
|
+
const defaults = {
|
|
8
|
+
"agenda": "My Meeting",
|
|
9
|
+
"default_password": false,
|
|
10
|
+
"duration": 30,
|
|
11
|
+
"pre_schedule": false,
|
|
12
|
+
"settings": {
|
|
13
|
+
"allow_multiple_devices": true,
|
|
14
|
+
"approval_type": 2,
|
|
15
|
+
"audio": "telephony",
|
|
16
|
+
"calendar_type": 1,
|
|
17
|
+
"close_registration": false,
|
|
18
|
+
"email_notification": true,
|
|
19
|
+
"host_video": true,
|
|
20
|
+
"join_before_host": false,
|
|
21
|
+
"meeting_authentication": true,
|
|
22
|
+
"mute_upon_entry": false,
|
|
23
|
+
"participant_video": false,
|
|
24
|
+
"private_meeting": false,
|
|
25
|
+
"registrants_confirmation_email": true,
|
|
26
|
+
"registrants_email_notification": true,
|
|
27
|
+
"registration_type": 1,
|
|
28
|
+
"show_share_button": true,
|
|
29
|
+
"host_save_video_order": true
|
|
30
|
+
},
|
|
31
|
+
"timezone": "UTC",
|
|
32
|
+
"type": 2
|
|
33
|
+
};
|
|
34
|
+
const action = () => {
|
|
35
|
+
return (0, framework_1.createAction)({
|
|
36
|
+
name: 'zoom_create_meeting',
|
|
37
|
+
displayName: 'Create Zoom Meeting',
|
|
38
|
+
description: 'Create a new Zoom Meeting',
|
|
39
|
+
props: {
|
|
40
|
+
authentication: props_1.zoomAuth,
|
|
41
|
+
topic: framework_1.Property.ShortText({
|
|
42
|
+
displayName: "Meeting's topic",
|
|
43
|
+
description: "The meeting's topic",
|
|
44
|
+
required: true,
|
|
45
|
+
}),
|
|
46
|
+
start_time: framework_1.Property.ShortText({
|
|
47
|
+
displayName: 'Start Time',
|
|
48
|
+
description: 'Meeting start date-time',
|
|
49
|
+
required: false,
|
|
50
|
+
}),
|
|
51
|
+
duration: framework_1.Property.Number({
|
|
52
|
+
displayName: 'Duration (in Minutes)',
|
|
53
|
+
description: 'Duration of the meeting',
|
|
54
|
+
required: false,
|
|
55
|
+
}),
|
|
56
|
+
agenda: framework_1.Property.LongText({
|
|
57
|
+
displayName: 'Agenda',
|
|
58
|
+
description: "The meeting's agenda",
|
|
59
|
+
required: false,
|
|
60
|
+
}),
|
|
61
|
+
password: framework_1.Property.ShortText({
|
|
62
|
+
displayName: 'Password',
|
|
63
|
+
description: "The password required to join the meeting. By default, a password can only have a maximum length of 10 characters and only contain alphanumeric characters and the @, -, _, and * characters.",
|
|
64
|
+
required: false,
|
|
65
|
+
}),
|
|
66
|
+
pre_schedule: framework_1.Property.Checkbox({
|
|
67
|
+
displayName: 'Pre Schedule',
|
|
68
|
+
description: "Whether the prescheduled meeting was created via the GSuite app.",
|
|
69
|
+
required: false,
|
|
70
|
+
}),
|
|
71
|
+
schedule_for: framework_1.Property.ShortText({
|
|
72
|
+
displayName: 'Schedule for',
|
|
73
|
+
description: 'The email address or user ID of the user to schedule a meeting for.',
|
|
74
|
+
required: false,
|
|
75
|
+
}),
|
|
76
|
+
join_url: framework_1.Property.LongText({
|
|
77
|
+
displayName: 'Join URL',
|
|
78
|
+
description: 'URL for participants to join the meeting.',
|
|
79
|
+
required: false,
|
|
80
|
+
})
|
|
81
|
+
},
|
|
82
|
+
sampleData: {
|
|
83
|
+
"assistant_id": "kFFvsJc-Q1OSxaJQLvaa_A",
|
|
84
|
+
"host_email": "jchi@example.com",
|
|
85
|
+
"id": 92674392845,
|
|
86
|
+
"registration_url": "https://example.com/meeting/register/7ksAkRCoEpt1Jm0wa-E6lICLur9e7Lde5oW6",
|
|
87
|
+
"agenda": "My Meeting",
|
|
88
|
+
"created_at": "2022-03-25T07:29:29Z",
|
|
89
|
+
"duration": 60,
|
|
90
|
+
"h323_password": "123456",
|
|
91
|
+
"join_url": "https://example.com/j/11111",
|
|
92
|
+
"occurrences": [
|
|
93
|
+
{
|
|
94
|
+
"duration": 60,
|
|
95
|
+
"occurrence_id": "1648194360000",
|
|
96
|
+
"start_time": "2022-03-25T07:46:00Z",
|
|
97
|
+
"status": "available"
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"password": "123456",
|
|
101
|
+
"pmi": "97891943927",
|
|
102
|
+
"pre_schedule": false,
|
|
103
|
+
"recurrence": {
|
|
104
|
+
"end_date_time": "2022-04-02T15:59:00Z",
|
|
105
|
+
"end_times": 7,
|
|
106
|
+
"monthly_day": 1,
|
|
107
|
+
"monthly_week": 1,
|
|
108
|
+
"monthly_week_day": 1,
|
|
109
|
+
"repeat_interval": 1,
|
|
110
|
+
"type": 1,
|
|
111
|
+
"weekly_days": "1"
|
|
112
|
+
},
|
|
113
|
+
"settings": {
|
|
114
|
+
"allow_multiple_devices": true,
|
|
115
|
+
"alternative_hosts": "jchill@example.com;thill@example.com",
|
|
116
|
+
"alternative_hosts_email_notification": true,
|
|
117
|
+
"alternative_host_update_polls": true,
|
|
118
|
+
"approval_type": 0,
|
|
119
|
+
"approved_or_denied_countries_or_regions": {
|
|
120
|
+
"approved_list": [
|
|
121
|
+
"CX"
|
|
122
|
+
],
|
|
123
|
+
"denied_list": [
|
|
124
|
+
"CA"
|
|
125
|
+
],
|
|
126
|
+
"enable": true,
|
|
127
|
+
"method": "approve"
|
|
128
|
+
},
|
|
129
|
+
"audio": "telephony",
|
|
130
|
+
"authentication_domains": "example.com",
|
|
131
|
+
"authentication_exception": [
|
|
132
|
+
{
|
|
133
|
+
"email": "jchill@example.com",
|
|
134
|
+
"name": "Jill Chill",
|
|
135
|
+
"join_url": "https://example.com/s/11111"
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"authentication_name": "Sign in to Zoom",
|
|
139
|
+
"authentication_option": "signIn_D8cJuqWVQ623CI4Q8yQK0Q",
|
|
140
|
+
"auto_recording": "cloud",
|
|
141
|
+
"breakout_room": {
|
|
142
|
+
"enable": true,
|
|
143
|
+
"rooms": [
|
|
144
|
+
{
|
|
145
|
+
"name": "room1",
|
|
146
|
+
"participants": [
|
|
147
|
+
"jchill@example.com"
|
|
148
|
+
]
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
},
|
|
152
|
+
"calendar_type": 1,
|
|
153
|
+
"close_registration": false,
|
|
154
|
+
"contact_email": "jchill@example.com",
|
|
155
|
+
"contact_name": "Jill Chill",
|
|
156
|
+
"custom_keys": [
|
|
157
|
+
{
|
|
158
|
+
"key": "key1",
|
|
159
|
+
"value": "value1"
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
"email_notification": true,
|
|
163
|
+
"encryption_type": "enhanced_encryption",
|
|
164
|
+
"focus_mode": true,
|
|
165
|
+
"global_dial_in_countries": [
|
|
166
|
+
"US"
|
|
167
|
+
],
|
|
168
|
+
"global_dial_in_numbers": [
|
|
169
|
+
{
|
|
170
|
+
"city": "New York",
|
|
171
|
+
"country": "US",
|
|
172
|
+
"country_name": "US",
|
|
173
|
+
"number": "+1 1000200200",
|
|
174
|
+
"type": "toll"
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
"host_video": true,
|
|
178
|
+
"jbh_time": 0,
|
|
179
|
+
"join_before_host": true,
|
|
180
|
+
"language_interpretation": {
|
|
181
|
+
"enable": true,
|
|
182
|
+
"interpreters": [
|
|
183
|
+
{
|
|
184
|
+
"email": "interpreter@example.com",
|
|
185
|
+
"languages": "US,FR"
|
|
186
|
+
}
|
|
187
|
+
]
|
|
188
|
+
},
|
|
189
|
+
"meeting_authentication": true,
|
|
190
|
+
"mute_upon_entry": false,
|
|
191
|
+
"participant_video": false,
|
|
192
|
+
"private_meeting": false,
|
|
193
|
+
"registrants_confirmation_email": true,
|
|
194
|
+
"registrants_email_notification": true,
|
|
195
|
+
"registration_type": 1,
|
|
196
|
+
"show_share_button": true,
|
|
197
|
+
"use_pmi": false,
|
|
198
|
+
"waiting_room": false,
|
|
199
|
+
"watermark": false,
|
|
200
|
+
"host_save_video_order": true
|
|
201
|
+
},
|
|
202
|
+
"start_time": "2022-03-25T07:29:29Z",
|
|
203
|
+
"start_url": "https://example.com/s/11111",
|
|
204
|
+
"timezone": "America/Los_Angeles",
|
|
205
|
+
"topic": "My Meeting",
|
|
206
|
+
"tracking_fields": [
|
|
207
|
+
{
|
|
208
|
+
"field": "field1",
|
|
209
|
+
"value": "value1",
|
|
210
|
+
"visible": true
|
|
211
|
+
}
|
|
212
|
+
],
|
|
213
|
+
"type": 2
|
|
214
|
+
},
|
|
215
|
+
run(context) {
|
|
216
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
217
|
+
const body = Object.assign(Object.assign({}, defaults), context.propsValue);
|
|
218
|
+
delete body['authentication'];
|
|
219
|
+
const request = {
|
|
220
|
+
method: framework_1.HttpMethod.POST,
|
|
221
|
+
url: `https://api.zoom.us/v2/users/me/meetings`,
|
|
222
|
+
body: body,
|
|
223
|
+
authentication: {
|
|
224
|
+
type: framework_1.AuthenticationType.BEARER_TOKEN,
|
|
225
|
+
token: context.propsValue.authentication.access_token
|
|
226
|
+
},
|
|
227
|
+
queryParams: {}
|
|
228
|
+
};
|
|
229
|
+
const result = yield framework_1.httpClient.sendRequest(request);
|
|
230
|
+
console.debug("Meeting creation response", result);
|
|
231
|
+
if (result.status === 201) {
|
|
232
|
+
return result.body;
|
|
233
|
+
}
|
|
234
|
+
else {
|
|
235
|
+
return result;
|
|
236
|
+
}
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
});
|
|
240
|
+
};
|
|
241
|
+
exports.zoomCreateMeeting = action();
|
|
242
|
+
//# sourceMappingURL=create-meeting.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-meeting.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/zoom/src/lib/actions/create-meeting.ts"],"names":[],"mappings":";;;;AAAA,uDAA0H;AAE1H,2CAA2C;AAE3C,MAAM,QAAQ,GAAG;IACf,QAAQ,EAAE,YAAY;IACtB,kBAAkB,EAAE,KAAK;IACzB,UAAU,EAAE,EAAE;IACd,cAAc,EAAE,KAAK;IAErB,UAAU,EAAE;QACV,wBAAwB,EAAE,IAAI;QAC9B,eAAe,EAAE,CAAC;QAClB,OAAO,EAAE,WAAW;QAEpB,eAAe,EAAE,CAAC;QAClB,oBAAoB,EAAE,KAAK;QAE3B,oBAAoB,EAAE,IAAI;QAC1B,YAAY,EAAE,IAAI;QAClB,kBAAkB,EAAE,KAAK;QACzB,wBAAwB,EAAE,IAAI;QAC9B,iBAAiB,EAAE,KAAK;QACxB,mBAAmB,EAAE,KAAK;QAC1B,iBAAiB,EAAE,KAAK;QACxB,gCAAgC,EAAE,IAAI;QACtC,gCAAgC,EAAE,IAAI;QACtC,mBAAmB,EAAE,CAAC;QACtB,mBAAmB,EAAE,IAAI;QACzB,uBAAuB,EAAE,IAAI;KAC9B;IAED,UAAU,EAAE,KAAK;IACjB,MAAM,EAAE,CAAC;CACV,CAAA;AAED,MAAM,MAAM,GAAG,GAAG,EAAE;IAClB,OAAO,IAAA,wBAAY,EAAC;QAClB,IAAI,EAAE,qBAAqB;QAC3B,WAAW,EAAE,qBAAqB;QAClC,WAAW,EA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ACjC,OAAO,EAAE,YAAY;YACrB,iBAAiB,EAAE;gBACjB;oBACE,OAAO,EAAE,QAAQ;oBACjB,OAAO,EAAE,QAAQ;oBACjB,SAAS,EAAE,IAAI;iBAChB;aACF;YACD,MAAM,EAAE,CAAC;SACV;QAEK,GAAG,CAAC,OAAO;;gBACf,MAAM,IAAI,mCACL,QAAQ,GACR,OAAO,CAAC,UAAU,CACtB,CAAA;gBACD,OAAO,IAAI,CAAC,gBAAgB,CAAC,CAAA;gBAC7B,MAAM,OAAO,GAAoC;oBAC/C,MAAM,EAAE,sBAAU,CAAC,IAAI;oBACvB,GAAG,EAAE,0CAA0C;oBAC/C,IAAI,EAAE,IAAI;oBACV,cAAc,EAAE;wBACd,IAAI,EAAE,8BAAkB,CAAC,YAAY;wBACrC,KAAK,EAAE,OAAO,CAAC,UAAU,CAAC,cAAe,CAAC,YAAY;qBACvD;oBACD,WAAW,EAAE,EAAE;iBAChB,CAAA;gBAED,MAAM,MAAM,GAAG,MAAM,sBAAU,CAAC,WAAW,CAAsB,OAAO,CAAC,CAAA;gBACzE,OAAO,CAAC,KAAK,CAAC,2BAA2B,EAAE,MAAM,CAAC,CAAA;gBAElD,IAAI,MAAM,CAAC,MAAM,KAAK,GAAG,EAAE;oBACzB,OAAO,MAAM,CAAC,IAAI,CAAA;iBACnB;qBAAM;oBACL,OAAO,MAAM,CAAA;iBACd;YACH,CAAC;SAAA;KACF,CAAC,CAAA;AACJ,CAAC,CAAA;AAEY,QAAA,iBAAiB,GAAG,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
import { HttpMessageBody } from "@activepieces/framework";
|
|
2
|
+
export interface MeetingRegistrant {
|
|
3
|
+
first_name: string;
|
|
4
|
+
last_name?: string;
|
|
5
|
+
email: string;
|
|
6
|
+
address?: string;
|
|
7
|
+
city?: string;
|
|
8
|
+
state?: string;
|
|
9
|
+
zip?: string;
|
|
10
|
+
country?: string;
|
|
11
|
+
phone?: string;
|
|
12
|
+
comments?: string;
|
|
13
|
+
custom_questions?: {
|
|
14
|
+
title: string;
|
|
15
|
+
value: string;
|
|
16
|
+
}[];
|
|
17
|
+
industry?: string;
|
|
18
|
+
job_title?: string;
|
|
19
|
+
no_of_employees?: string;
|
|
20
|
+
org?: string;
|
|
21
|
+
purchasing_time_frame?: string;
|
|
22
|
+
role_in_purchase_process?: string;
|
|
23
|
+
language?: string;
|
|
24
|
+
auto_approve?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface RegistrationResponse extends HttpMessageBody {
|
|
27
|
+
id: number;
|
|
28
|
+
join_url: string;
|
|
29
|
+
registrant_id: string;
|
|
30
|
+
start_time: string;
|
|
31
|
+
topic: string;
|
|
32
|
+
occurrences: {
|
|
33
|
+
duration: number;
|
|
34
|
+
occurrence_id: string;
|
|
35
|
+
start_time: string;
|
|
36
|
+
status: string;
|
|
37
|
+
}[];
|
|
38
|
+
participant_pin_code: number;
|
|
39
|
+
}
|
|
40
|
+
export interface MeetingResponseBody extends HttpMessageBody {
|
|
41
|
+
id?: number;
|
|
42
|
+
assistant_id?: string;
|
|
43
|
+
host_email?: string;
|
|
44
|
+
registration_url?: string;
|
|
45
|
+
agenda?: string;
|
|
46
|
+
created_at?: string;
|
|
47
|
+
duration?: number;
|
|
48
|
+
join_url?: string;
|
|
49
|
+
occurrences?: {
|
|
50
|
+
duration?: number;
|
|
51
|
+
occurrence_id?: string;
|
|
52
|
+
start_time?: string;
|
|
53
|
+
status?: string;
|
|
54
|
+
}[];
|
|
55
|
+
password?: string;
|
|
56
|
+
pmi?: string;
|
|
57
|
+
pre_schedule?: boolean;
|
|
58
|
+
recurrence?: {
|
|
59
|
+
end_date_time?: string;
|
|
60
|
+
end_times?: number;
|
|
61
|
+
monthly_day?: number;
|
|
62
|
+
monthly_week?: number;
|
|
63
|
+
monthly_week_day?: number;
|
|
64
|
+
repeat_interval?: number;
|
|
65
|
+
type: number;
|
|
66
|
+
weekly_days?: string;
|
|
67
|
+
};
|
|
68
|
+
settings: {
|
|
69
|
+
allow_multiple_devices: boolean;
|
|
70
|
+
alternative_hosts: number;
|
|
71
|
+
alternative_hosts_email_notification: boolean;
|
|
72
|
+
alternative_host_update_polls: boolean;
|
|
73
|
+
approval_type: number;
|
|
74
|
+
approved_or_denied_countries_or_regions: {
|
|
75
|
+
approved_list: string[];
|
|
76
|
+
denied_list: string[];
|
|
77
|
+
enable: boolean;
|
|
78
|
+
method: string;
|
|
79
|
+
};
|
|
80
|
+
audio: string;
|
|
81
|
+
authentication_domains: string;
|
|
82
|
+
authentication_exception: {
|
|
83
|
+
email: string;
|
|
84
|
+
name: string;
|
|
85
|
+
join_url: string;
|
|
86
|
+
}[];
|
|
87
|
+
authentication_name: string;
|
|
88
|
+
authentication_option: string;
|
|
89
|
+
auto_recording: string;
|
|
90
|
+
breakout_room: {
|
|
91
|
+
enable: boolean;
|
|
92
|
+
rooms: {
|
|
93
|
+
name: string;
|
|
94
|
+
participants: string[];
|
|
95
|
+
}[];
|
|
96
|
+
};
|
|
97
|
+
calendar_type: number;
|
|
98
|
+
close_registration: boolean;
|
|
99
|
+
contact_email: string;
|
|
100
|
+
contact_name: string;
|
|
101
|
+
custom_keys: {
|
|
102
|
+
key: string;
|
|
103
|
+
value: string;
|
|
104
|
+
}[];
|
|
105
|
+
email_notification: boolean;
|
|
106
|
+
encryption_type: string;
|
|
107
|
+
focus_mode: boolean;
|
|
108
|
+
global_dial_in_countries: string[];
|
|
109
|
+
global_dial_in_numbers: {
|
|
110
|
+
city: string;
|
|
111
|
+
country: string;
|
|
112
|
+
country_name: string;
|
|
113
|
+
number: string;
|
|
114
|
+
type: string;
|
|
115
|
+
}[];
|
|
116
|
+
host_video: boolean;
|
|
117
|
+
jbh_time: number;
|
|
118
|
+
join_before_host: boolean;
|
|
119
|
+
language_interpretation: {
|
|
120
|
+
enable: boolean;
|
|
121
|
+
interpreters: {
|
|
122
|
+
email: string;
|
|
123
|
+
languages: string;
|
|
124
|
+
}[];
|
|
125
|
+
};
|
|
126
|
+
meeting_authentication: boolean;
|
|
127
|
+
mute_upon_entry: boolean;
|
|
128
|
+
participant_video: boolean;
|
|
129
|
+
private_meeting: boolean;
|
|
130
|
+
registrants_confirmation_email: boolean;
|
|
131
|
+
registrants_email_notification: boolean;
|
|
132
|
+
registration_type: number;
|
|
133
|
+
show_share_button: boolean;
|
|
134
|
+
use_pmi: boolean;
|
|
135
|
+
waiting_room: boolean;
|
|
136
|
+
watermark: boolean;
|
|
137
|
+
host_save_video_order: boolean;
|
|
138
|
+
};
|
|
139
|
+
start_time: string;
|
|
140
|
+
start_url: string;
|
|
141
|
+
timezone: string;
|
|
142
|
+
topic: string;
|
|
143
|
+
type: number;
|
|
144
|
+
tracking_fields: {
|
|
145
|
+
field: string;
|
|
146
|
+
value: string;
|
|
147
|
+
visible: boolean;
|
|
148
|
+
}[];
|
|
149
|
+
}
|
|
150
|
+
export interface MeetingMessageBody extends HttpMessageBody {
|
|
151
|
+
agenda?: string;
|
|
152
|
+
password?: string;
|
|
153
|
+
duration?: number;
|
|
154
|
+
pre_schedule?: boolean;
|
|
155
|
+
recurrence?: {
|
|
156
|
+
end_date_time: string;
|
|
157
|
+
end_times: number;
|
|
158
|
+
monthly_day: number;
|
|
159
|
+
monthly_week: number;
|
|
160
|
+
monthly_week_day: number;
|
|
161
|
+
repeat_interval: number;
|
|
162
|
+
type: number;
|
|
163
|
+
weekly_days: string;
|
|
164
|
+
};
|
|
165
|
+
settings?: {
|
|
166
|
+
allow_multiple_devices?: boolean;
|
|
167
|
+
alternative_hosts?: number;
|
|
168
|
+
alternative_hosts_email_notification?: boolean;
|
|
169
|
+
alternative_host_update_polls?: boolean;
|
|
170
|
+
approval_type?: number;
|
|
171
|
+
approved_or_denied_countries_or_regions?: {
|
|
172
|
+
approved_list?: string[];
|
|
173
|
+
denied_list?: string[];
|
|
174
|
+
enable?: boolean;
|
|
175
|
+
method?: string;
|
|
176
|
+
};
|
|
177
|
+
audio?: string;
|
|
178
|
+
authentication_domains?: string;
|
|
179
|
+
authentication_exception?: {
|
|
180
|
+
email?: string;
|
|
181
|
+
name?: string;
|
|
182
|
+
join_url?: string;
|
|
183
|
+
}[];
|
|
184
|
+
authentication_name?: string;
|
|
185
|
+
authentication_option?: string;
|
|
186
|
+
auto_recording?: string;
|
|
187
|
+
breakout_room?: {
|
|
188
|
+
enable?: boolean;
|
|
189
|
+
rooms?: {
|
|
190
|
+
name: string;
|
|
191
|
+
participants: string[];
|
|
192
|
+
}[];
|
|
193
|
+
};
|
|
194
|
+
calendar_type?: number;
|
|
195
|
+
close_registration?: boolean;
|
|
196
|
+
contact_email?: string;
|
|
197
|
+
contact_name?: string;
|
|
198
|
+
custom_keys?: {
|
|
199
|
+
key?: string;
|
|
200
|
+
value?: string;
|
|
201
|
+
}[];
|
|
202
|
+
email_notification?: boolean;
|
|
203
|
+
encryption_type?: string;
|
|
204
|
+
focus_mode?: boolean;
|
|
205
|
+
global_dial_in_countries?: string[];
|
|
206
|
+
global_dial_in_numbers?: {
|
|
207
|
+
city?: string;
|
|
208
|
+
country?: string;
|
|
209
|
+
country_name?: string;
|
|
210
|
+
number?: string;
|
|
211
|
+
type?: string;
|
|
212
|
+
}[];
|
|
213
|
+
host_video?: boolean;
|
|
214
|
+
jbh_time?: number;
|
|
215
|
+
join_before_host?: boolean;
|
|
216
|
+
language_interpretation?: {
|
|
217
|
+
enable?: boolean;
|
|
218
|
+
interpreters?: {
|
|
219
|
+
email?: string;
|
|
220
|
+
languages?: string;
|
|
221
|
+
}[];
|
|
222
|
+
};
|
|
223
|
+
meeting_authentication?: boolean;
|
|
224
|
+
mute_upon_entry?: boolean;
|
|
225
|
+
participant_video?: boolean;
|
|
226
|
+
private_meeting?: boolean;
|
|
227
|
+
registrants_confirmation_email?: boolean;
|
|
228
|
+
registrants_email_notification?: boolean;
|
|
229
|
+
registration_type?: number;
|
|
230
|
+
show_share_button?: boolean;
|
|
231
|
+
use_pmi?: boolean;
|
|
232
|
+
waiting_room?: boolean;
|
|
233
|
+
watermark?: boolean;
|
|
234
|
+
host_save_video_order?: boolean;
|
|
235
|
+
};
|
|
236
|
+
start_time?: string;
|
|
237
|
+
start_url?: string;
|
|
238
|
+
timezone?: string;
|
|
239
|
+
topic?: string;
|
|
240
|
+
type?: number;
|
|
241
|
+
tracking_fields?: {
|
|
242
|
+
field: string;
|
|
243
|
+
value?: string;
|
|
244
|
+
visible?: boolean;
|
|
245
|
+
}[];
|
|
246
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/zoom/src/lib/common/models.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const zoomAuth: import("@activepieces/framework").OAuth2Property<true>;
|
|
2
|
+
export declare const getRegistarantProps: () => {
|
|
3
|
+
authentication: import("@activepieces/framework").OAuth2Property<true>;
|
|
4
|
+
meeting_id: import("@activepieces/framework").ShortTextProperty<true>;
|
|
5
|
+
first_name: import("@activepieces/framework").ShortTextProperty<true>;
|
|
6
|
+
last_name: import("@activepieces/framework").ShortTextProperty<false>;
|
|
7
|
+
email: import("@activepieces/framework").ShortTextProperty<true>;
|
|
8
|
+
address: import("@activepieces/framework").ShortTextProperty<false>;
|
|
9
|
+
city: import("@activepieces/framework").ShortTextProperty<false>;
|
|
10
|
+
state: import("@activepieces/framework").ShortTextProperty<false>;
|
|
11
|
+
zip: import("@activepieces/framework").ShortTextProperty<false>;
|
|
12
|
+
country: import("@activepieces/framework").ShortTextProperty<false>;
|
|
13
|
+
phone: import("@activepieces/framework").ShortTextProperty<false>;
|
|
14
|
+
comments: import("@activepieces/framework").LongTextProperty<false>;
|
|
15
|
+
custom_questions: import("@activepieces/framework").ObjectProperty<false>;
|
|
16
|
+
industry: import("@activepieces/framework").ShortTextProperty<false>;
|
|
17
|
+
job_title: import("@activepieces/framework").ShortTextProperty<false>;
|
|
18
|
+
no_of_employees: import("@activepieces/framework").ShortTextProperty<false>;
|
|
19
|
+
org: import("@activepieces/framework").ShortTextProperty<false>;
|
|
20
|
+
purchasing_time_frame: import("@activepieces/framework").ShortTextProperty<false>;
|
|
21
|
+
role_in_purchase_process: import("@activepieces/framework").ShortTextProperty<false>;
|
|
22
|
+
};
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRegistarantProps = exports.zoomAuth = void 0;
|
|
4
|
+
const framework_1 = require("@activepieces/framework");
|
|
5
|
+
exports.zoomAuth = framework_1.Property.OAuth2({
|
|
6
|
+
description: "",
|
|
7
|
+
displayName: 'Authentication',
|
|
8
|
+
authUrl: "https://zoom.us/oauth/authorize",
|
|
9
|
+
tokenUrl: "https://zoom.us/oauth/token",
|
|
10
|
+
required: true,
|
|
11
|
+
scope: [
|
|
12
|
+
"meeting:write:admin", "meeting:write"
|
|
13
|
+
]
|
|
14
|
+
});
|
|
15
|
+
const getRegistarantProps = () => ({
|
|
16
|
+
authentication: exports.zoomAuth,
|
|
17
|
+
meeting_id: framework_1.Property.ShortText({
|
|
18
|
+
displayName: "Meeting ID",
|
|
19
|
+
description: "The meeting ID.",
|
|
20
|
+
required: true
|
|
21
|
+
}),
|
|
22
|
+
first_name: framework_1.Property.ShortText({
|
|
23
|
+
displayName: "First name",
|
|
24
|
+
description: "The registrant's first name.",
|
|
25
|
+
required: true
|
|
26
|
+
}),
|
|
27
|
+
last_name: framework_1.Property.ShortText({
|
|
28
|
+
displayName: "Last name",
|
|
29
|
+
description: "The registrant's last name.",
|
|
30
|
+
required: false
|
|
31
|
+
}),
|
|
32
|
+
email: framework_1.Property.ShortText({
|
|
33
|
+
displayName: "Email",
|
|
34
|
+
description: "The registrant's email address.",
|
|
35
|
+
required: true
|
|
36
|
+
}),
|
|
37
|
+
address: framework_1.Property.ShortText({
|
|
38
|
+
displayName: "Address",
|
|
39
|
+
description: "The registrant's address",
|
|
40
|
+
required: false
|
|
41
|
+
}),
|
|
42
|
+
city: framework_1.Property.ShortText({
|
|
43
|
+
displayName: "City",
|
|
44
|
+
description: "The registrant's city",
|
|
45
|
+
required: false
|
|
46
|
+
}),
|
|
47
|
+
state: framework_1.Property.ShortText({
|
|
48
|
+
displayName: "State",
|
|
49
|
+
description: "The registrant's state or province.",
|
|
50
|
+
required: false
|
|
51
|
+
}),
|
|
52
|
+
zip: framework_1.Property.ShortText({
|
|
53
|
+
displayName: "Zip",
|
|
54
|
+
description: "The registrant's zip or postal code.",
|
|
55
|
+
required: false
|
|
56
|
+
}),
|
|
57
|
+
country: framework_1.Property.ShortText({
|
|
58
|
+
displayName: "Country",
|
|
59
|
+
description: "The registrant's two-letter country code.",
|
|
60
|
+
required: false
|
|
61
|
+
}),
|
|
62
|
+
phone: framework_1.Property.ShortText({
|
|
63
|
+
displayName: "Phone",
|
|
64
|
+
description: "The registrant's phone number.",
|
|
65
|
+
required: false
|
|
66
|
+
}),
|
|
67
|
+
comments: framework_1.Property.LongText({
|
|
68
|
+
displayName: "Comments",
|
|
69
|
+
description: "The registrant's questions and comments.",
|
|
70
|
+
required: false
|
|
71
|
+
}),
|
|
72
|
+
custom_questions: framework_1.Property.Object({
|
|
73
|
+
displayName: "Custom questions",
|
|
74
|
+
description: "",
|
|
75
|
+
required: false
|
|
76
|
+
}),
|
|
77
|
+
industry: framework_1.Property.ShortText({
|
|
78
|
+
displayName: "Industry",
|
|
79
|
+
description: "The registrant's industry.",
|
|
80
|
+
required: false
|
|
81
|
+
}),
|
|
82
|
+
job_title: framework_1.Property.ShortText({
|
|
83
|
+
displayName: "Job title",
|
|
84
|
+
description: "The registrant's job title.",
|
|
85
|
+
required: false
|
|
86
|
+
}),
|
|
87
|
+
no_of_employees: framework_1.Property.ShortText({
|
|
88
|
+
displayName: "No of employees",
|
|
89
|
+
description: "The registrant's number of employees.",
|
|
90
|
+
required: false
|
|
91
|
+
}),
|
|
92
|
+
org: framework_1.Property.ShortText({
|
|
93
|
+
displayName: "Organization",
|
|
94
|
+
description: "The registrant's organization.",
|
|
95
|
+
required: false
|
|
96
|
+
}),
|
|
97
|
+
purchasing_time_frame: framework_1.Property.ShortText({
|
|
98
|
+
displayName: "Purchasing time frame",
|
|
99
|
+
description: "The registrant's purchasing time frame.",
|
|
100
|
+
required: false
|
|
101
|
+
}),
|
|
102
|
+
role_in_purchase_process: framework_1.Property.ShortText({
|
|
103
|
+
displayName: "Role in purchase process",
|
|
104
|
+
description: "The registrant's role in the purchase process.",
|
|
105
|
+
required: false
|
|
106
|
+
})
|
|
107
|
+
});
|
|
108
|
+
exports.getRegistarantProps = getRegistarantProps;
|
|
109
|
+
//# sourceMappingURL=props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/zoom/src/lib/common/props.ts"],"names":[],"mappings":";;;AAAA,uDAAmD;AAEtC,QAAA,QAAQ,GAAG,oBAAQ,CAAC,MAAM,CAAC;IACtC,WAAW,EAAE,EAAE;IACf,WAAW,EAAE,gBAAgB;IAC7B,OAAO,EAAE,iCAAiC;IAC1C,QAAQ,EAAE,6BAA6B;IACvC,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE;QACL,qBAAqB,EAAE,eAAe;KACvC;CACF,CAAC,CAAA;AAEK,MAAM,mBAAmB,GAAG,GAAG,EAAE,CAAC,CAAC;IACxC,cAAc,EAAE,gBAAQ;IACxB,UAAU,EAAE,oBAAQ,CAAC,SAAS,CAAC;QAC7B,WAAW,EAAE,YAAY;QACzB,WAAW,EAAE,iBAAiB;QAC9B,QAAQ,EAAE,IAAI;KACf,CAAC;IACF,UAAU,EAAE,oBAAQ,CAAC,SAAS,CAAC;QAC7B,WAAW,EAAE,YAAY;QACzB,WAAW,EAAE,8BAA8B;QAC3C,QAAQ,EAAE,IAAI;KACf,CAAC;IACF,SAAS,EAAE,oBAAQ,CAAC,SAAS,CAAC;QAC5B,WAAW,EAAE,WAAW;QACxB,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