@activepieces/piece-zoom 0.2.0 → 0.2.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 +5 -5
- package/src/index.d.ts +1 -1
- package/src/index.js +2 -2
- 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 +6 -5
- 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 +14 -13
- package/src/lib/actions/create-meeting.js.map +1 -1
- package/src/lib/common/models.d.ts +1 -1
- package/src/lib/common/props.d.ts +20 -20
- package/src/lib/common/props.js +20 -20
- package/src/lib/common/props.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/piece-zoom",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@sinclair/typebox": "0.
|
|
5
|
+
"@sinclair/typebox": "0.26.8",
|
|
6
6
|
"axios": "1.2.4",
|
|
7
|
-
"cron-validator": "1.3.1",
|
|
8
7
|
"nanoid": "3.3.4",
|
|
9
|
-
"@activepieces/framework": "0.
|
|
10
|
-
"@activepieces/shared": "0.
|
|
8
|
+
"@activepieces/pieces-framework": "0.3.13",
|
|
9
|
+
"@activepieces/shared": "0.3.11",
|
|
10
|
+
"@activepieces/pieces-common": "0.0.1",
|
|
11
11
|
"tslib": "2.4.1"
|
|
12
12
|
},
|
|
13
13
|
"main": "./src/index.js",
|
package/src/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const zoom: import("@activepieces/framework").Piece;
|
|
1
|
+
export declare const zoom: import("@activepieces/pieces-framework").Piece;
|
package/src/index.js
CHANGED
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.zoom = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
|
-
const
|
|
6
|
+
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
7
7
|
const create_meeting_1 = require("./lib/actions/create-meeting");
|
|
8
8
|
const create_meeting_registrant_1 = require("./lib/actions/create-meeting-registrant");
|
|
9
|
-
exports.zoom = (0,
|
|
9
|
+
exports.zoom = (0, pieces_framework_1.createPiece)({
|
|
10
10
|
name: 'zoom',
|
|
11
11
|
displayName: "Zoom",
|
|
12
12
|
logoUrl: 'https://cdn.activepieces.com/pieces/zoom.png',
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/pieces/zoom/src/index.ts"],"names":[],"mappings":";;;;AAAA,2EAA0C;AAC1C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/pieces/zoom/src/index.ts"],"names":[],"mappings":";;;;AAAA,2EAA0C;AAC1C,qEAA6D;AAC7D,iEAAiE;AACjE,uFAAsF;AAEzE,QAAA,IAAI,GAAG,IAAA,8BAAW,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const zoomCreateMeetingRegistrant: import("@activepieces/framework").Action;
|
|
1
|
+
export declare const zoomCreateMeetingRegistrant: import("@activepieces/pieces-framework").Action;
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.zoomCreateMeetingRegistrant = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const
|
|
5
|
+
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
|
+
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
6
7
|
const props_1 = require("../common/props");
|
|
7
|
-
exports.zoomCreateMeetingRegistrant = (0,
|
|
8
|
+
exports.zoomCreateMeetingRegistrant = (0, pieces_framework_1.createAction)({
|
|
8
9
|
name: 'zoom_create_meeting_registrant',
|
|
9
10
|
displayName: 'Create Zoom Meeting Registrant',
|
|
10
11
|
description: "Create and submit a user's registration to a meeting.",
|
|
@@ -31,16 +32,16 @@ exports.zoomCreateMeetingRegistrant = (0, framework_1.createAction)({
|
|
|
31
32
|
delete body['authentication'];
|
|
32
33
|
delete body['meeting_id'];
|
|
33
34
|
const request = {
|
|
34
|
-
method:
|
|
35
|
+
method: pieces_common_1.HttpMethod.POST,
|
|
35
36
|
url: `https://api.zoom.us/v2/meetings/${context.propsValue.meeting_id}/registrants`,
|
|
36
37
|
body,
|
|
37
38
|
authentication: {
|
|
38
|
-
type:
|
|
39
|
+
type: pieces_common_1.AuthenticationType.BEARER_TOKEN,
|
|
39
40
|
token: context.propsValue.authentication.access_token
|
|
40
41
|
},
|
|
41
42
|
queryParams: {}
|
|
42
43
|
};
|
|
43
|
-
const result = yield
|
|
44
|
+
const result = yield pieces_common_1.httpClient.sendRequest(request);
|
|
44
45
|
console.debug("Meeting registration response", result);
|
|
45
46
|
if (result.status === 201) {
|
|
46
47
|
return result.body;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-meeting-registrant.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/zoom/src/lib/actions/create-meeting-registrant.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"create-meeting-registrant.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/zoom/src/lib/actions/create-meeting-registrant.ts"],"names":[],"mappings":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pB;iBAAM;gBACL,OAAO,MAAM,CAAC;aACf;QACH,CAAC;KAAA;CACF,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const zoomCreateMeeting: import("@activepieces/framework").Action;
|
|
1
|
+
export declare const zoomCreateMeeting: import("@activepieces/pieces-framework").Action;
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.zoomCreateMeeting = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const
|
|
5
|
+
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
|
+
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
6
7
|
const props_1 = require("../common/props");
|
|
7
8
|
const defaults = {
|
|
8
9
|
"agenda": "My Meeting",
|
|
@@ -32,48 +33,48 @@ const defaults = {
|
|
|
32
33
|
"type": 2
|
|
33
34
|
};
|
|
34
35
|
const action = () => {
|
|
35
|
-
return (0,
|
|
36
|
+
return (0, pieces_framework_1.createAction)({
|
|
36
37
|
name: 'zoom_create_meeting',
|
|
37
38
|
displayName: 'Create Zoom Meeting',
|
|
38
39
|
description: 'Create a new Zoom Meeting',
|
|
39
40
|
props: {
|
|
40
41
|
authentication: props_1.zoomAuth,
|
|
41
|
-
topic:
|
|
42
|
+
topic: pieces_framework_1.Property.ShortText({
|
|
42
43
|
displayName: "Meeting's topic",
|
|
43
44
|
description: "The meeting's topic",
|
|
44
45
|
required: true,
|
|
45
46
|
}),
|
|
46
|
-
start_time:
|
|
47
|
+
start_time: pieces_framework_1.Property.ShortText({
|
|
47
48
|
displayName: 'Start Time',
|
|
48
49
|
description: 'Meeting start date-time',
|
|
49
50
|
required: false,
|
|
50
51
|
}),
|
|
51
|
-
duration:
|
|
52
|
+
duration: pieces_framework_1.Property.Number({
|
|
52
53
|
displayName: 'Duration (in Minutes)',
|
|
53
54
|
description: 'Duration of the meeting',
|
|
54
55
|
required: false,
|
|
55
56
|
}),
|
|
56
|
-
agenda:
|
|
57
|
+
agenda: pieces_framework_1.Property.LongText({
|
|
57
58
|
displayName: 'Agenda',
|
|
58
59
|
description: "The meeting's agenda",
|
|
59
60
|
required: false,
|
|
60
61
|
}),
|
|
61
|
-
password:
|
|
62
|
+
password: pieces_framework_1.Property.ShortText({
|
|
62
63
|
displayName: 'Password',
|
|
63
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.",
|
|
64
65
|
required: false,
|
|
65
66
|
}),
|
|
66
|
-
pre_schedule:
|
|
67
|
+
pre_schedule: pieces_framework_1.Property.Checkbox({
|
|
67
68
|
displayName: 'Pre Schedule',
|
|
68
69
|
description: "Whether the prescheduled meeting was created via the GSuite app.",
|
|
69
70
|
required: false,
|
|
70
71
|
}),
|
|
71
|
-
schedule_for:
|
|
72
|
+
schedule_for: pieces_framework_1.Property.ShortText({
|
|
72
73
|
displayName: 'Schedule for',
|
|
73
74
|
description: 'The email address or user ID of the user to schedule a meeting for.',
|
|
74
75
|
required: false,
|
|
75
76
|
}),
|
|
76
|
-
join_url:
|
|
77
|
+
join_url: pieces_framework_1.Property.LongText({
|
|
77
78
|
displayName: 'Join URL',
|
|
78
79
|
description: 'URL for participants to join the meeting.',
|
|
79
80
|
required: false,
|
|
@@ -217,16 +218,16 @@ const action = () => {
|
|
|
217
218
|
const body = Object.assign(Object.assign({}, defaults), context.propsValue);
|
|
218
219
|
delete body['authentication'];
|
|
219
220
|
const request = {
|
|
220
|
-
method:
|
|
221
|
+
method: pieces_common_1.HttpMethod.POST,
|
|
221
222
|
url: `https://api.zoom.us/v2/users/me/meetings`,
|
|
222
223
|
body: body,
|
|
223
224
|
authentication: {
|
|
224
|
-
type:
|
|
225
|
+
type: pieces_common_1.AuthenticationType.BEARER_TOKEN,
|
|
225
226
|
token: context.propsValue.authentication.access_token
|
|
226
227
|
},
|
|
227
228
|
queryParams: {}
|
|
228
229
|
};
|
|
229
|
-
const result = yield
|
|
230
|
+
const result = yield pieces_common_1.httpClient.sendRequest(request);
|
|
230
231
|
console.debug("Meeting creation response", result);
|
|
231
232
|
if (result.status === 201) {
|
|
232
233
|
return result.body;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-meeting.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/zoom/src/lib/actions/create-meeting.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"create-meeting.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/zoom/src/lib/actions/create-meeting.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,+DAAsG;AAEtG,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,+BAAY,EAAC;QAClB,IAAI,EAAE,qBAAqB;QAC3B,WAAW,EAAE,qBAAqB;QAClC,WAAW,EAAE,2BAA2B;QACxC,KAAK,EAAE;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BAAiB,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,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,UAAU,CAAC,cAAe,CAAC,YAAY;qBACvD;oBACD,WAAW,EAAE,EAAE;iBAChB,CAAA;gBAED,MAAM,MAAM,GAAG,MAAM,0BAAU,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"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export declare const zoomAuth: import("@activepieces/framework").OAuth2Property<true>;
|
|
1
|
+
export declare const zoomAuth: import("@activepieces/pieces-framework").OAuth2Property<true, import("@activepieces/pieces-framework").OAuth2Props>;
|
|
2
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>;
|
|
3
|
+
authentication: import("@activepieces/pieces-framework").OAuth2Property<true, import("@activepieces/pieces-framework").OAuth2Props>;
|
|
4
|
+
meeting_id: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
|
+
first_name: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
6
|
+
last_name: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
7
|
+
email: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
8
|
+
address: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
9
|
+
city: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
10
|
+
state: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
11
|
+
zip: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
12
|
+
country: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
13
|
+
phone: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
14
|
+
comments: import("@activepieces/pieces-framework").LongTextProperty<false>;
|
|
15
|
+
custom_questions: import("@activepieces/pieces-framework").ObjectProperty<false>;
|
|
16
|
+
industry: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
17
|
+
job_title: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
18
|
+
no_of_employees: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
19
|
+
org: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
20
|
+
purchasing_time_frame: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
21
|
+
role_in_purchase_process: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
22
22
|
};
|
package/src/lib/common/props.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRegistarantProps = exports.zoomAuth = void 0;
|
|
4
|
-
const
|
|
5
|
-
exports.zoomAuth =
|
|
4
|
+
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
5
|
+
exports.zoomAuth = pieces_framework_1.Property.OAuth2({
|
|
6
6
|
description: "",
|
|
7
7
|
displayName: 'Authentication',
|
|
8
8
|
authUrl: "https://zoom.us/oauth/authorize",
|
|
@@ -14,92 +14,92 @@ exports.zoomAuth = framework_1.Property.OAuth2({
|
|
|
14
14
|
});
|
|
15
15
|
const getRegistarantProps = () => ({
|
|
16
16
|
authentication: exports.zoomAuth,
|
|
17
|
-
meeting_id:
|
|
17
|
+
meeting_id: pieces_framework_1.Property.ShortText({
|
|
18
18
|
displayName: "Meeting ID",
|
|
19
19
|
description: "The meeting ID.",
|
|
20
20
|
required: true
|
|
21
21
|
}),
|
|
22
|
-
first_name:
|
|
22
|
+
first_name: pieces_framework_1.Property.ShortText({
|
|
23
23
|
displayName: "First name",
|
|
24
24
|
description: "The registrant's first name.",
|
|
25
25
|
required: true
|
|
26
26
|
}),
|
|
27
|
-
last_name:
|
|
27
|
+
last_name: pieces_framework_1.Property.ShortText({
|
|
28
28
|
displayName: "Last name",
|
|
29
29
|
description: "The registrant's last name.",
|
|
30
30
|
required: false
|
|
31
31
|
}),
|
|
32
|
-
email:
|
|
32
|
+
email: pieces_framework_1.Property.ShortText({
|
|
33
33
|
displayName: "Email",
|
|
34
34
|
description: "The registrant's email address.",
|
|
35
35
|
required: true
|
|
36
36
|
}),
|
|
37
|
-
address:
|
|
37
|
+
address: pieces_framework_1.Property.ShortText({
|
|
38
38
|
displayName: "Address",
|
|
39
39
|
description: "The registrant's address",
|
|
40
40
|
required: false
|
|
41
41
|
}),
|
|
42
|
-
city:
|
|
42
|
+
city: pieces_framework_1.Property.ShortText({
|
|
43
43
|
displayName: "City",
|
|
44
44
|
description: "The registrant's city",
|
|
45
45
|
required: false
|
|
46
46
|
}),
|
|
47
|
-
state:
|
|
47
|
+
state: pieces_framework_1.Property.ShortText({
|
|
48
48
|
displayName: "State",
|
|
49
49
|
description: "The registrant's state or province.",
|
|
50
50
|
required: false
|
|
51
51
|
}),
|
|
52
|
-
zip:
|
|
52
|
+
zip: pieces_framework_1.Property.ShortText({
|
|
53
53
|
displayName: "Zip",
|
|
54
54
|
description: "The registrant's zip or postal code.",
|
|
55
55
|
required: false
|
|
56
56
|
}),
|
|
57
|
-
country:
|
|
57
|
+
country: pieces_framework_1.Property.ShortText({
|
|
58
58
|
displayName: "Country",
|
|
59
59
|
description: "The registrant's two-letter country code.",
|
|
60
60
|
required: false
|
|
61
61
|
}),
|
|
62
|
-
phone:
|
|
62
|
+
phone: pieces_framework_1.Property.ShortText({
|
|
63
63
|
displayName: "Phone",
|
|
64
64
|
description: "The registrant's phone number.",
|
|
65
65
|
required: false
|
|
66
66
|
}),
|
|
67
|
-
comments:
|
|
67
|
+
comments: pieces_framework_1.Property.LongText({
|
|
68
68
|
displayName: "Comments",
|
|
69
69
|
description: "The registrant's questions and comments.",
|
|
70
70
|
required: false
|
|
71
71
|
}),
|
|
72
|
-
custom_questions:
|
|
72
|
+
custom_questions: pieces_framework_1.Property.Object({
|
|
73
73
|
displayName: "Custom questions",
|
|
74
74
|
description: "",
|
|
75
75
|
required: false
|
|
76
76
|
}),
|
|
77
|
-
industry:
|
|
77
|
+
industry: pieces_framework_1.Property.ShortText({
|
|
78
78
|
displayName: "Industry",
|
|
79
79
|
description: "The registrant's industry.",
|
|
80
80
|
required: false
|
|
81
81
|
}),
|
|
82
|
-
job_title:
|
|
82
|
+
job_title: pieces_framework_1.Property.ShortText({
|
|
83
83
|
displayName: "Job title",
|
|
84
84
|
description: "The registrant's job title.",
|
|
85
85
|
required: false
|
|
86
86
|
}),
|
|
87
|
-
no_of_employees:
|
|
87
|
+
no_of_employees: pieces_framework_1.Property.ShortText({
|
|
88
88
|
displayName: "No of employees",
|
|
89
89
|
description: "The registrant's number of employees.",
|
|
90
90
|
required: false
|
|
91
91
|
}),
|
|
92
|
-
org:
|
|
92
|
+
org: pieces_framework_1.Property.ShortText({
|
|
93
93
|
displayName: "Organization",
|
|
94
94
|
description: "The registrant's organization.",
|
|
95
95
|
required: false
|
|
96
96
|
}),
|
|
97
|
-
purchasing_time_frame:
|
|
97
|
+
purchasing_time_frame: pieces_framework_1.Property.ShortText({
|
|
98
98
|
displayName: "Purchasing time frame",
|
|
99
99
|
description: "The registrant's purchasing time frame.",
|
|
100
100
|
required: false
|
|
101
101
|
}),
|
|
102
|
-
role_in_purchase_process:
|
|
102
|
+
role_in_purchase_process: pieces_framework_1.Property.ShortText({
|
|
103
103
|
displayName: "Role in purchase process",
|
|
104
104
|
description: "The registrant's role in the purchase process.",
|
|
105
105
|
required: false
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/zoom/src/lib/common/props.ts"],"names":[],"mappings":";;;AA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