@activepieces/piece-zoom 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +13 -9
- package/src/index.d.ts +2 -2
- package/src/index.js +20 -9
- package/src/index.js.map +1 -1
- package/src/lib/actions/create-meeting-registrant.d.ts +1 -1
- package/src/lib/actions/create-meeting-registrant.js +4 -20
- package/src/lib/actions/create-meeting-registrant.js.map +1 -1
- package/src/lib/actions/create-meeting.d.ts +1 -1
- package/src/lib/actions/create-meeting.js +31 -164
- package/src/lib/actions/create-meeting.js.map +1 -1
- package/src/lib/common/models.d.ts +1 -1
- package/src/lib/common/models.js.map +1 -1
- package/src/lib/common/props.js +39 -39
- package/src/lib/common/props.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/piece-zoom",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@sinclair/typebox": "
|
|
6
|
-
"axios": "1.
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
5
|
+
"@sinclair/typebox": "0.26.8",
|
|
6
|
+
"axios": "^1.6.3",
|
|
7
|
+
"dayjs": "1.11.9",
|
|
8
|
+
"is-base64": "1.1.0",
|
|
9
|
+
"lodash": "4.17.21",
|
|
10
|
+
"nanoid": "3.3.6",
|
|
11
|
+
"semver": "7.5.4",
|
|
12
|
+
"@activepieces/pieces-common": "0.2.8",
|
|
13
|
+
"@activepieces/pieces-framework": "0.7.14",
|
|
14
|
+
"@activepieces/shared": "0.10.66",
|
|
15
|
+
"tslib": "2.6.2"
|
|
12
16
|
},
|
|
13
17
|
"main": "./src/index.js",
|
|
14
|
-
"
|
|
18
|
+
"type": "commonjs"
|
|
15
19
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const zoomAuth: import("@activepieces/pieces-framework").OAuth2Property<
|
|
2
|
-
export declare const zoom: import("@activepieces/pieces-framework").Piece<import("@activepieces/pieces-framework").OAuth2Property<
|
|
1
|
+
export declare const zoomAuth: import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>;
|
|
2
|
+
export declare const zoom: import("@activepieces/pieces-framework").Piece<import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
package/src/index.js
CHANGED
|
@@ -4,21 +4,32 @@ exports.zoom = exports.zoomAuth = void 0;
|
|
|
4
4
|
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
5
5
|
const create_meeting_1 = require("./lib/actions/create-meeting");
|
|
6
6
|
const create_meeting_registrant_1 = require("./lib/actions/create-meeting-registrant");
|
|
7
|
+
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
7
8
|
exports.zoomAuth = pieces_framework_1.PieceAuth.OAuth2({
|
|
8
|
-
description:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
tokenUrl: "https://zoom.us/oauth/token",
|
|
9
|
+
description: '',
|
|
10
|
+
authUrl: 'https://zoom.us/oauth/authorize',
|
|
11
|
+
tokenUrl: 'https://zoom.us/oauth/token',
|
|
12
12
|
required: true,
|
|
13
|
-
scope: [
|
|
14
|
-
"meeting:write:admin", "meeting:write"
|
|
15
|
-
]
|
|
13
|
+
scope: ['meeting:write:admin', 'meeting:write'],
|
|
16
14
|
});
|
|
17
15
|
exports.zoom = (0, pieces_framework_1.createPiece)({
|
|
18
|
-
displayName:
|
|
16
|
+
displayName: 'Zoom',
|
|
19
17
|
minimumSupportedRelease: '0.5.0',
|
|
20
18
|
logoUrl: 'https://cdn.activepieces.com/pieces/zoom.png',
|
|
21
|
-
actions: [
|
|
19
|
+
actions: [
|
|
20
|
+
create_meeting_1.zoomCreateMeeting,
|
|
21
|
+
create_meeting_registrant_1.zoomCreateMeetingRegistrant,
|
|
22
|
+
(0, pieces_common_1.createCustomApiCallAction)({
|
|
23
|
+
baseUrl: () => 'https://api.zoom.us/v2',
|
|
24
|
+
auth: exports.zoomAuth,
|
|
25
|
+
authMapping: (auth) => {
|
|
26
|
+
const typedAuth = auth;
|
|
27
|
+
return {
|
|
28
|
+
Authorization: `Bearer ${typedAuth.access_token}`,
|
|
29
|
+
};
|
|
30
|
+
},
|
|
31
|
+
}),
|
|
32
|
+
],
|
|
22
33
|
auth: exports.zoomAuth,
|
|
23
34
|
authors: ['kanarelo'],
|
|
24
35
|
triggers: [],
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/zoom/src/index.ts"],"names":[],"mappings":";;;AAAA,qEAIwC;AACxC,iEAAiE;AACjE,uFAAsF;AACtF,+DAAwE;AAE3D,QAAA,QAAQ,GAAG,4BAAS,CAAC,MAAM,CAAC;IACvC,WAAW,EAAE,EAAE;IACf,OAAO,EAAE,iCAAiC;IAC1C,QAAQ,EAAE,6BAA6B;IACvC,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE,CAAC,qBAAqB,EAAE,eAAe,CAAC;CAChD,CAAC,CAAC;AAEU,QAAA,IAAI,GAAG,IAAA,8BAAW,EAAC;IAC9B,WAAW,EAAE,MAAM;IACnB,uBAAuB,EAAE,OAAO;IAChC,OAAO,EAAE,8CAA8C;IACvD,OAAO,EAAE;QACP,kCAAiB;QACjB,uDAA2B;QAC3B,IAAA,yCAAyB,EAAC;YACxB,OAAO,EAAE,GAAG,EAAE,CAAC,wBAAwB;YACvC,IAAI,EAAE,gBAAQ;YACd,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE;gBACpB,MAAM,SAAS,GAAG,IAA2B,CAAC;gBAC9C,OAAO;oBACL,aAAa,EAAE,UAAU,SAAS,CAAC,YAAY,EAAE;iBAClD,CAAC;YACJ,CAAC;SACF,CAAC;KACH;IACD,IAAI,EAAE,gBAAQ;IACd,OAAO,EAAE,CAAC,UAAU,CAAC;IACrB,QAAQ,EAAE,EAAE;CACb,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const zoomCreateMeetingRegistrant: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").OAuth2Property<
|
|
1
|
+
export declare const zoomCreateMeetingRegistrant: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
|
|
2
2
|
meeting_id: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
3
3
|
first_name: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
4
4
|
last_name: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
@@ -12,22 +12,6 @@ exports.zoomCreateMeetingRegistrant = (0, pieces_framework_1.createAction)({
|
|
|
12
12
|
displayName: 'Create Zoom Meeting Registrant',
|
|
13
13
|
description: "Create and submit a user's registration to a meeting.",
|
|
14
14
|
props: (0, props_1.getRegistarantProps)(),
|
|
15
|
-
sampleData: {
|
|
16
|
-
"id": 85746065,
|
|
17
|
-
"join_url": "https://example.com/j/11111",
|
|
18
|
-
"registrant_id": "fdgsfh2ey82fuh",
|
|
19
|
-
"start_time": "2021-07-13T21:44:51Z",
|
|
20
|
-
"topic": "My Meeting",
|
|
21
|
-
"occurrences": [
|
|
22
|
-
{
|
|
23
|
-
"duration": 60,
|
|
24
|
-
"occurrence_id": "1648194360000",
|
|
25
|
-
"start_time": "2022-03-25T07:46:00Z",
|
|
26
|
-
"status": "available"
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
|
-
"participant_pin_code": 380303
|
|
30
|
-
},
|
|
31
15
|
run(context) {
|
|
32
16
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
33
17
|
const body = Object.assign({}, context.propsValue);
|
|
@@ -39,12 +23,12 @@ exports.zoomCreateMeetingRegistrant = (0, pieces_framework_1.createAction)({
|
|
|
39
23
|
body,
|
|
40
24
|
authentication: {
|
|
41
25
|
type: pieces_common_1.AuthenticationType.BEARER_TOKEN,
|
|
42
|
-
token: context.auth.access_token
|
|
26
|
+
token: context.auth.access_token,
|
|
43
27
|
},
|
|
44
|
-
queryParams: {}
|
|
28
|
+
queryParams: {},
|
|
45
29
|
};
|
|
46
30
|
const result = yield pieces_common_1.httpClient.sendRequest(request);
|
|
47
|
-
console.debug(
|
|
31
|
+
console.debug('Meeting registration response', result);
|
|
48
32
|
if (result.status === 201) {
|
|
49
33
|
return result.body;
|
|
50
34
|
}
|
|
@@ -52,6 +36,6 @@ exports.zoomCreateMeetingRegistrant = (0, pieces_framework_1.createAction)({
|
|
|
52
36
|
return result;
|
|
53
37
|
}
|
|
54
38
|
});
|
|
55
|
-
}
|
|
39
|
+
},
|
|
56
40
|
});
|
|
57
41
|
//# sourceMappingURL=create-meeting-registrant.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-meeting-registrant.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"create-meeting-registrant.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/zoom/src/lib/actions/create-meeting-registrant.ts"],"names":[],"mappings":";;;;AAAA,qEAA8D;AAC9D,+DAKqC;AAErC,2CAAsD;AACtD,6BAAiC;AAEpB,QAAA,2BAA2B,GAAG,IAAA,+BAAY,EAAC;IACtD,IAAI,EAAE,YAAQ;IACd,IAAI,EAAE,gCAAgC;IACtC,WAAW,EAAE,gCAAgC;IAC7C,WAAW,EAAE,uDAAuD;IACpE,KAAK,EAAE,IAAA,2BAAmB,GAAE;IACtB,GAAG,CAAC,OAAO;;YACf,MAAM,IAAI,qBAAiC,OAAO,CAAC,UAAU,CAAE,CAAC;YAChE,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC;YACpB,OAAO,IAAI,CAAC,YAAY,CAAC,CAAC;YAE1B,MAAM,OAAO,GAAgB;gBAC3B,MAAM,EAAE,0BAAU,CAAC,IAAI;gBACvB,GAAG,EAAE,mCAAmC,OAAO,CAAC,UAAU,CAAC,UAAU,cAAc;gBACnF,IAAI;gBACJ,cAAc,EAAE;oBACd,IAAI,EAAE,kCAAkB,CAAC,YAAY;oBACrC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,YAAY;iBACjC;gBACD,WAAW,EAAE,EAAE;aAChB,CAAC;YAEF,MAAM,MAAM,GAAG,MAAM,0BAAU,CAAC,WAAW,CAAuB,OAAO,CAAC,CAAC;YAC3E,OAAO,CAAC,KAAK,CAAC,+BAA+B,EAAE,MAAM,CAAC,CAAC;YAEvD,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,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const zoomCreateMeeting: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").OAuth2Property<
|
|
1
|
+
export declare const zoomCreateMeeting: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
|
|
2
2
|
topic: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
3
3
|
start_time: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
4
4
|
duration: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
@@ -6,31 +6,31 @@ const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
|
6
6
|
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
7
7
|
const __1 = require("../..");
|
|
8
8
|
const defaults = {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
9
|
+
agenda: 'My Meeting',
|
|
10
|
+
default_password: false,
|
|
11
|
+
duration: 30,
|
|
12
|
+
pre_schedule: false,
|
|
13
|
+
settings: {
|
|
14
|
+
allow_multiple_devices: true,
|
|
15
|
+
approval_type: 2,
|
|
16
|
+
audio: 'telephony',
|
|
17
|
+
calendar_type: 1,
|
|
18
|
+
close_registration: false,
|
|
19
|
+
email_notification: true,
|
|
20
|
+
host_video: true,
|
|
21
|
+
join_before_host: false,
|
|
22
|
+
meeting_authentication: true,
|
|
23
|
+
mute_upon_entry: false,
|
|
24
|
+
participant_video: false,
|
|
25
|
+
private_meeting: false,
|
|
26
|
+
registrants_confirmation_email: true,
|
|
27
|
+
registrants_email_notification: true,
|
|
28
|
+
registration_type: 1,
|
|
29
|
+
show_share_button: true,
|
|
30
|
+
host_save_video_order: true,
|
|
31
31
|
},
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
timezone: 'UTC',
|
|
33
|
+
type: 2,
|
|
34
34
|
};
|
|
35
35
|
const action = () => {
|
|
36
36
|
return (0, pieces_framework_1.createAction)({
|
|
@@ -61,12 +61,12 @@ const action = () => {
|
|
|
61
61
|
}),
|
|
62
62
|
password: pieces_framework_1.Property.ShortText({
|
|
63
63
|
displayName: 'Password',
|
|
64
|
-
description:
|
|
64
|
+
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.',
|
|
65
65
|
required: false,
|
|
66
66
|
}),
|
|
67
67
|
pre_schedule: pieces_framework_1.Property.Checkbox({
|
|
68
68
|
displayName: 'Pre Schedule',
|
|
69
|
-
description:
|
|
69
|
+
description: 'Whether the prescheduled meeting was created via the GSuite app.',
|
|
70
70
|
required: false,
|
|
71
71
|
}),
|
|
72
72
|
schedule_for: pieces_framework_1.Property.ShortText({
|
|
@@ -78,140 +78,7 @@ const action = () => {
|
|
|
78
78
|
displayName: 'Join URL',
|
|
79
79
|
description: 'URL for participants to join the meeting.',
|
|
80
80
|
required: false,
|
|
81
|
-
})
|
|
82
|
-
},
|
|
83
|
-
sampleData: {
|
|
84
|
-
"assistant_id": "kFFvsJc-Q1OSxaJQLvaa_A",
|
|
85
|
-
"host_email": "jchi@example.com",
|
|
86
|
-
"id": 92674392845,
|
|
87
|
-
"registration_url": "https://example.com/meeting/register/7ksAkRCoEpt1Jm0wa-E6lICLur9e7Lde5oW6",
|
|
88
|
-
"agenda": "My Meeting",
|
|
89
|
-
"created_at": "2022-03-25T07:29:29Z",
|
|
90
|
-
"duration": 60,
|
|
91
|
-
"h323_password": "123456",
|
|
92
|
-
"join_url": "https://example.com/j/11111",
|
|
93
|
-
"occurrences": [
|
|
94
|
-
{
|
|
95
|
-
"duration": 60,
|
|
96
|
-
"occurrence_id": "1648194360000",
|
|
97
|
-
"start_time": "2022-03-25T07:46:00Z",
|
|
98
|
-
"status": "available"
|
|
99
|
-
}
|
|
100
|
-
],
|
|
101
|
-
"password": "123456",
|
|
102
|
-
"pmi": "97891943927",
|
|
103
|
-
"pre_schedule": false,
|
|
104
|
-
"recurrence": {
|
|
105
|
-
"end_date_time": "2022-04-02T15:59:00Z",
|
|
106
|
-
"end_times": 7,
|
|
107
|
-
"monthly_day": 1,
|
|
108
|
-
"monthly_week": 1,
|
|
109
|
-
"monthly_week_day": 1,
|
|
110
|
-
"repeat_interval": 1,
|
|
111
|
-
"type": 1,
|
|
112
|
-
"weekly_days": "1"
|
|
113
|
-
},
|
|
114
|
-
"settings": {
|
|
115
|
-
"allow_multiple_devices": true,
|
|
116
|
-
"alternative_hosts": "jchill@example.com;thill@example.com",
|
|
117
|
-
"alternative_hosts_email_notification": true,
|
|
118
|
-
"alternative_host_update_polls": true,
|
|
119
|
-
"approval_type": 0,
|
|
120
|
-
"approved_or_denied_countries_or_regions": {
|
|
121
|
-
"approved_list": [
|
|
122
|
-
"CX"
|
|
123
|
-
],
|
|
124
|
-
"denied_list": [
|
|
125
|
-
"CA"
|
|
126
|
-
],
|
|
127
|
-
"enable": true,
|
|
128
|
-
"method": "approve"
|
|
129
|
-
},
|
|
130
|
-
"audio": "telephony",
|
|
131
|
-
"authentication_domains": "example.com",
|
|
132
|
-
"authentication_exception": [
|
|
133
|
-
{
|
|
134
|
-
"email": "jchill@example.com",
|
|
135
|
-
"name": "Jill Chill",
|
|
136
|
-
"join_url": "https://example.com/s/11111"
|
|
137
|
-
}
|
|
138
|
-
],
|
|
139
|
-
"authentication_name": "Sign in to Zoom",
|
|
140
|
-
"authentication_option": "signIn_D8cJuqWVQ623CI4Q8yQK0Q",
|
|
141
|
-
"auto_recording": "cloud",
|
|
142
|
-
"breakout_room": {
|
|
143
|
-
"enable": true,
|
|
144
|
-
"rooms": [
|
|
145
|
-
{
|
|
146
|
-
"name": "room1",
|
|
147
|
-
"participants": [
|
|
148
|
-
"jchill@example.com"
|
|
149
|
-
]
|
|
150
|
-
}
|
|
151
|
-
]
|
|
152
|
-
},
|
|
153
|
-
"calendar_type": 1,
|
|
154
|
-
"close_registration": false,
|
|
155
|
-
"contact_email": "jchill@example.com",
|
|
156
|
-
"contact_name": "Jill Chill",
|
|
157
|
-
"custom_keys": [
|
|
158
|
-
{
|
|
159
|
-
"key": "key1",
|
|
160
|
-
"value": "value1"
|
|
161
|
-
}
|
|
162
|
-
],
|
|
163
|
-
"email_notification": true,
|
|
164
|
-
"encryption_type": "enhanced_encryption",
|
|
165
|
-
"focus_mode": true,
|
|
166
|
-
"global_dial_in_countries": [
|
|
167
|
-
"US"
|
|
168
|
-
],
|
|
169
|
-
"global_dial_in_numbers": [
|
|
170
|
-
{
|
|
171
|
-
"city": "New York",
|
|
172
|
-
"country": "US",
|
|
173
|
-
"country_name": "US",
|
|
174
|
-
"number": "+1 1000200200",
|
|
175
|
-
"type": "toll"
|
|
176
|
-
}
|
|
177
|
-
],
|
|
178
|
-
"host_video": true,
|
|
179
|
-
"jbh_time": 0,
|
|
180
|
-
"join_before_host": true,
|
|
181
|
-
"language_interpretation": {
|
|
182
|
-
"enable": true,
|
|
183
|
-
"interpreters": [
|
|
184
|
-
{
|
|
185
|
-
"email": "interpreter@example.com",
|
|
186
|
-
"languages": "US,FR"
|
|
187
|
-
}
|
|
188
|
-
]
|
|
189
|
-
},
|
|
190
|
-
"meeting_authentication": true,
|
|
191
|
-
"mute_upon_entry": false,
|
|
192
|
-
"participant_video": false,
|
|
193
|
-
"private_meeting": false,
|
|
194
|
-
"registrants_confirmation_email": true,
|
|
195
|
-
"registrants_email_notification": true,
|
|
196
|
-
"registration_type": 1,
|
|
197
|
-
"show_share_button": true,
|
|
198
|
-
"use_pmi": false,
|
|
199
|
-
"waiting_room": false,
|
|
200
|
-
"watermark": false,
|
|
201
|
-
"host_save_video_order": true
|
|
202
|
-
},
|
|
203
|
-
"start_time": "2022-03-25T07:29:29Z",
|
|
204
|
-
"start_url": "https://example.com/s/11111",
|
|
205
|
-
"timezone": "America/Los_Angeles",
|
|
206
|
-
"topic": "My Meeting",
|
|
207
|
-
"tracking_fields": [
|
|
208
|
-
{
|
|
209
|
-
"field": "field1",
|
|
210
|
-
"value": "value1",
|
|
211
|
-
"visible": true
|
|
212
|
-
}
|
|
213
|
-
],
|
|
214
|
-
"type": 2
|
|
81
|
+
}),
|
|
215
82
|
},
|
|
216
83
|
run(context) {
|
|
217
84
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -223,12 +90,12 @@ const action = () => {
|
|
|
223
90
|
body: body,
|
|
224
91
|
authentication: {
|
|
225
92
|
type: pieces_common_1.AuthenticationType.BEARER_TOKEN,
|
|
226
|
-
token: context.auth.access_token
|
|
93
|
+
token: context.auth.access_token,
|
|
227
94
|
},
|
|
228
|
-
queryParams: {}
|
|
95
|
+
queryParams: {},
|
|
229
96
|
};
|
|
230
97
|
const result = yield pieces_common_1.httpClient.sendRequest(request);
|
|
231
|
-
console.debug(
|
|
98
|
+
console.debug('Meeting creation response', result);
|
|
232
99
|
if (result.status === 201) {
|
|
233
100
|
return result.body;
|
|
234
101
|
}
|
|
@@ -236,7 +103,7 @@ const action = () => {
|
|
|
236
103
|
return result;
|
|
237
104
|
}
|
|
238
105
|
});
|
|
239
|
-
}
|
|
106
|
+
},
|
|
240
107
|
});
|
|
241
108
|
};
|
|
242
109
|
exports.zoomCreateMeeting = action();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-meeting.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"create-meeting.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/zoom/src/lib/actions/create-meeting.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,+DAKqC;AAErC,6BAAiC;AAEjC,MAAM,QAAQ,GAAG;IACf,MAAM,EAAE,YAAY;IACpB,gBAAgB,EAAE,KAAK;IACvB,QAAQ,EAAE,EAAE;IACZ,YAAY,EAAE,KAAK;IAEnB,QAAQ,EAAE;QACR,sBAAsB,EAAE,IAAI;QAC5B,aAAa,EAAE,CAAC;QAChB,KAAK,EAAE,WAAW;QAElB,aAAa,EAAE,CAAC;QAChB,kBAAkB,EAAE,KAAK;QAEzB,kBAAkB,EAAE,IAAI;QACxB,UAAU,EAAE,IAAI;QAChB,gBAAgB,EAAE,KAAK;QACvB,sBAAsB,EAAE,IAAI;QAC5B,eAAe,EAAE,KAAK;QACtB,iBAAiB,EAAE,KAAK;QACxB,eAAe,EAAE,KAAK;QACtB,8BAA8B,EAAE,IAAI;QACpC,8BAA8B,EAAE,IAAI;QACpC,iBAAiB,EAAE,CAAC;QACpB,iBAAiB,EAAE,IAAI;QACvB,qBAAqB,EAAE,IAAI;KAC5B;IAED,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE,CAAC;CACR,CAAC;AAEF,MAAM,MAAM,GAAG,GAAG,EAAE;IAClB,OAAO,IAAA,+B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H;QACK,GAAG,CAAC,OAAO;;gBACf,MAAM,IAAI,mCACL,QAAQ,GACR,OAAO,CAAC,UAAU,CACtB,CAAC;gBACF,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC;gBACpB,MAAM,OAAO,GAAoC;oBAC/C,MAAM,EAAE,0BAAU,CAAC,IAAI;oBACvB,GAAG,EAAE,0CAA0C;oBAC/C,IAAI,EAAE,IAAI;oBACV,cAAc,EAAE;wBACd,IAAI,EAAE,kCAAkB,CAAC,YAAY;wBACrC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,YAAY;qBACjC;oBACD,WAAW,EAAE,EAAE;iBAChB,CAAC;gBAEF,MAAM,MAAM,GAAG,MAAM,0BAAU,CAAC,WAAW,CAAsB,OAAO,CAAC,CAAC;gBAC1E,OAAO,CAAC,KAAK,CAAC,2BAA2B,EAAE,MAAM,CAAC,CAAC;gBAEnD,IAAI,MAAM,CAAC,MAAM,KAAK,GAAG,EAAE;oBACzB,OAAO,MAAM,CAAC,IAAI,CAAC;iBACpB;qBAAM;oBACL,OAAO,MAAM,CAAC;iBACf;YACH,CAAC;SAAA;KACF,CAAC,CAAC;AACL,CAAC,CAAC;AAEW,QAAA,iBAAiB,GAAG,MAAM,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/zoom/src/lib/common/models.ts"],"names":[],"mappings":""}
|
package/src/lib/common/props.js
CHANGED
|
@@ -4,95 +4,95 @@ exports.getRegistarantProps = void 0;
|
|
|
4
4
|
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
5
5
|
const getRegistarantProps = () => ({
|
|
6
6
|
meeting_id: pieces_framework_1.Property.ShortText({
|
|
7
|
-
displayName:
|
|
8
|
-
description:
|
|
9
|
-
required: true
|
|
7
|
+
displayName: 'Meeting ID',
|
|
8
|
+
description: 'The meeting ID.',
|
|
9
|
+
required: true,
|
|
10
10
|
}),
|
|
11
11
|
first_name: pieces_framework_1.Property.ShortText({
|
|
12
|
-
displayName:
|
|
12
|
+
displayName: 'First name',
|
|
13
13
|
description: "The registrant's first name.",
|
|
14
|
-
required: true
|
|
14
|
+
required: true,
|
|
15
15
|
}),
|
|
16
16
|
last_name: pieces_framework_1.Property.ShortText({
|
|
17
|
-
displayName:
|
|
17
|
+
displayName: 'Last name',
|
|
18
18
|
description: "The registrant's last name.",
|
|
19
|
-
required: false
|
|
19
|
+
required: false,
|
|
20
20
|
}),
|
|
21
21
|
email: pieces_framework_1.Property.ShortText({
|
|
22
|
-
displayName:
|
|
22
|
+
displayName: 'Email',
|
|
23
23
|
description: "The registrant's email address.",
|
|
24
|
-
required: true
|
|
24
|
+
required: true,
|
|
25
25
|
}),
|
|
26
26
|
address: pieces_framework_1.Property.ShortText({
|
|
27
|
-
displayName:
|
|
27
|
+
displayName: 'Address',
|
|
28
28
|
description: "The registrant's address",
|
|
29
|
-
required: false
|
|
29
|
+
required: false,
|
|
30
30
|
}),
|
|
31
31
|
city: pieces_framework_1.Property.ShortText({
|
|
32
|
-
displayName:
|
|
32
|
+
displayName: 'City',
|
|
33
33
|
description: "The registrant's city",
|
|
34
|
-
required: false
|
|
34
|
+
required: false,
|
|
35
35
|
}),
|
|
36
36
|
state: pieces_framework_1.Property.ShortText({
|
|
37
|
-
displayName:
|
|
37
|
+
displayName: 'State',
|
|
38
38
|
description: "The registrant's state or province.",
|
|
39
|
-
required: false
|
|
39
|
+
required: false,
|
|
40
40
|
}),
|
|
41
41
|
zip: pieces_framework_1.Property.ShortText({
|
|
42
|
-
displayName:
|
|
42
|
+
displayName: 'Zip',
|
|
43
43
|
description: "The registrant's zip or postal code.",
|
|
44
|
-
required: false
|
|
44
|
+
required: false,
|
|
45
45
|
}),
|
|
46
46
|
country: pieces_framework_1.Property.ShortText({
|
|
47
|
-
displayName:
|
|
47
|
+
displayName: 'Country',
|
|
48
48
|
description: "The registrant's two-letter country code.",
|
|
49
|
-
required: false
|
|
49
|
+
required: false,
|
|
50
50
|
}),
|
|
51
51
|
phone: pieces_framework_1.Property.ShortText({
|
|
52
|
-
displayName:
|
|
52
|
+
displayName: 'Phone',
|
|
53
53
|
description: "The registrant's phone number.",
|
|
54
|
-
required: false
|
|
54
|
+
required: false,
|
|
55
55
|
}),
|
|
56
56
|
comments: pieces_framework_1.Property.LongText({
|
|
57
|
-
displayName:
|
|
57
|
+
displayName: 'Comments',
|
|
58
58
|
description: "The registrant's questions and comments.",
|
|
59
|
-
required: false
|
|
59
|
+
required: false,
|
|
60
60
|
}),
|
|
61
61
|
custom_questions: pieces_framework_1.Property.Object({
|
|
62
|
-
displayName:
|
|
63
|
-
description:
|
|
64
|
-
required: false
|
|
62
|
+
displayName: 'Custom questions',
|
|
63
|
+
description: '',
|
|
64
|
+
required: false,
|
|
65
65
|
}),
|
|
66
66
|
industry: pieces_framework_1.Property.ShortText({
|
|
67
|
-
displayName:
|
|
67
|
+
displayName: 'Industry',
|
|
68
68
|
description: "The registrant's industry.",
|
|
69
|
-
required: false
|
|
69
|
+
required: false,
|
|
70
70
|
}),
|
|
71
71
|
job_title: pieces_framework_1.Property.ShortText({
|
|
72
|
-
displayName:
|
|
72
|
+
displayName: 'Job title',
|
|
73
73
|
description: "The registrant's job title.",
|
|
74
|
-
required: false
|
|
74
|
+
required: false,
|
|
75
75
|
}),
|
|
76
76
|
no_of_employees: pieces_framework_1.Property.ShortText({
|
|
77
|
-
displayName:
|
|
77
|
+
displayName: 'No of employees',
|
|
78
78
|
description: "The registrant's number of employees.",
|
|
79
|
-
required: false
|
|
79
|
+
required: false,
|
|
80
80
|
}),
|
|
81
81
|
org: pieces_framework_1.Property.ShortText({
|
|
82
|
-
displayName:
|
|
82
|
+
displayName: 'Organization',
|
|
83
83
|
description: "The registrant's organization.",
|
|
84
|
-
required: false
|
|
84
|
+
required: false,
|
|
85
85
|
}),
|
|
86
86
|
purchasing_time_frame: pieces_framework_1.Property.ShortText({
|
|
87
|
-
displayName:
|
|
87
|
+
displayName: 'Purchasing time frame',
|
|
88
88
|
description: "The registrant's purchasing time frame.",
|
|
89
|
-
required: false
|
|
89
|
+
required: false,
|
|
90
90
|
}),
|
|
91
91
|
role_in_purchase_process: pieces_framework_1.Property.ShortText({
|
|
92
|
-
displayName:
|
|
92
|
+
displayName: 'Role in purchase process',
|
|
93
93
|
description: "The registrant's role in the purchase process.",
|
|
94
|
-
required: false
|
|
95
|
-
})
|
|
94
|
+
required: false,
|
|
95
|
+
}),
|
|
96
96
|
});
|
|
97
97
|
exports.getRegistarantProps = getRegistarantProps;
|
|
98
98
|
//# sourceMappingURL=props.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"props.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/zoom/src/lib/common/props.ts"],"names":[],"mappings":";;;AAAA,qEAA0D;AAEnD,MAAM,mBAAmB,GAAG,GAAG,EAAE,CAAC,CAAC;IACxC,UAAU,EAAE,2BAAQ,CAAC,SAAS,CAAC;QAC7B,WAAW,EAAE,YAAY;QACzB,WAAW,EAAE,iBAAiB;QAC9B,QAAQ,EAAE,IAAI;KACf,CAAC;IACF,UAAU,EAAE,2BAAQ,CAAC,SAAS,CAAC;QAC7B,WAAW,EAAE,YAAY;QACzB,WAAW,EAAE,8BAA8B;QAC3C,QAAQ,EAAE,IAAI;KACf,CAAC;IACF,SAAS,EAAE,2BAAQ,CAAC,SAAS,CAAC;QAC5B,WAAW,EAAE,WAAW;QACxB,WAAW,EAAE,6BAA6B;QAC1C,QAAQ,EAAE,KAAK;KAChB,CAAC;IACF,KAAK,EAAE,2BAAQ,CAAC,SAAS,CAAC;QACxB,WAAW,EAAE,OAAO;QACpB,WAAW,EAAE,iCAAiC;QAC9C,QAAQ,EAAE,IAAI;KACf,CAAC;IACF,OAAO,EAAE,2BAAQ,CAAC,SAAS,C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