@activepieces/piece-sessions-us 0.1.5 → 0.1.6
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 +7 -12
- package/src/index.js +13 -87
- package/src/index.d.ts +0 -3
- package/src/index.d.ts.map +0 -1
- package/src/index.js.map +0 -1
- package/src/lib/actions/create-event.d.ts +0 -7
- package/src/lib/actions/create-event.d.ts.map +0 -1
- package/src/lib/actions/create-event.js +0 -74
- package/src/lib/actions/create-event.js.map +0 -1
- package/src/lib/actions/create-session.d.ts +0 -7
- package/src/lib/actions/create-session.d.ts.map +0 -1
- package/src/lib/actions/create-session.js +0 -77
- package/src/lib/actions/create-session.js.map +0 -1
- package/src/lib/actions/publish-event.d.ts +0 -4
- package/src/lib/actions/publish-event.d.ts.map +0 -1
- package/src/lib/actions/publish-event.js +0 -55
- package/src/lib/actions/publish-event.js.map +0 -1
- package/src/lib/common/index.d.ts +0 -51
- package/src/lib/common/index.d.ts.map +0 -1
- package/src/lib/common/index.js +0 -153
- package/src/lib/common/index.js.map +0 -1
- package/src/lib/triggers/booking-created.d.ts +0 -10
- package/src/lib/triggers/booking-created.d.ts.map +0 -1
- package/src/lib/triggers/booking-created.js +0 -60
- package/src/lib/triggers/booking-created.js.map +0 -1
- package/src/lib/triggers/booking-ended.d.ts +0 -10
- package/src/lib/triggers/booking-ended.d.ts.map +0 -1
- package/src/lib/triggers/booking-ended.js +0 -60
- package/src/lib/triggers/booking-ended.js.map +0 -1
- package/src/lib/triggers/booking-started.d.ts +0 -10
- package/src/lib/triggers/booking-started.d.ts.map +0 -1
- package/src/lib/triggers/booking-started.js +0 -60
- package/src/lib/triggers/booking-started.js.map +0 -1
- package/src/lib/triggers/event-created.d.ts +0 -10
- package/src/lib/triggers/event-created.d.ts.map +0 -1
- package/src/lib/triggers/event-created.js +0 -46
- package/src/lib/triggers/event-created.js.map +0 -1
- package/src/lib/triggers/event-ended.d.ts +0 -10
- package/src/lib/triggers/event-ended.d.ts.map +0 -1
- package/src/lib/triggers/event-ended.js +0 -46
- package/src/lib/triggers/event-ended.js.map +0 -1
- package/src/lib/triggers/event-new-registration.d.ts +0 -10
- package/src/lib/triggers/event-new-registration.d.ts.map +0 -1
- package/src/lib/triggers/event-new-registration.js +0 -34
- package/src/lib/triggers/event-new-registration.js.map +0 -1
- package/src/lib/triggers/event-published.d.ts +0 -10
- package/src/lib/triggers/event-published.d.ts.map +0 -1
- package/src/lib/triggers/event-published.js +0 -46
- package/src/lib/triggers/event-published.js.map +0 -1
- package/src/lib/triggers/event-started.d.ts +0 -10
- package/src/lib/triggers/event-started.d.ts.map +0 -1
- package/src/lib/triggers/event-started.js +0 -46
- package/src/lib/triggers/event-started.js.map +0 -1
- package/src/lib/triggers/session-created.d.ts +0 -10
- package/src/lib/triggers/session-created.d.ts.map +0 -1
- package/src/lib/triggers/session-created.js +0 -43
- package/src/lib/triggers/session-created.js.map +0 -1
- package/src/lib/triggers/session-ended.d.ts +0 -10
- package/src/lib/triggers/session-ended.d.ts.map +0 -1
- package/src/lib/triggers/session-ended.js +0 -43
- package/src/lib/triggers/session-ended.js.map +0 -1
- package/src/lib/triggers/session-started.d.ts +0 -10
- package/src/lib/triggers/session-started.d.ts.map +0 -1
- package/src/lib/triggers/session-started.js +0 -43
- package/src/lib/triggers/session-started.js.map +0 -1
- package/src/lib/triggers/takeaway-ready.d.ts +0 -10
- package/src/lib/triggers/takeaway-ready.d.ts.map +0 -1
- package/src/lib/triggers/takeaway-ready.js +0 -39
- package/src/lib/triggers/takeaway-ready.js.map +0 -1
- package/src/lib/triggers/transcript-ready.d.ts +0 -10
- package/src/lib/triggers/transcript-ready.d.ts.map +0 -1
- package/src/lib/triggers/transcript-ready.js +0 -33
- package/src/lib/triggers/transcript-ready.js.map +0 -1
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.eventCreated = void 0;
|
|
4
|
-
const common_1 = require("../common");
|
|
5
|
-
exports.eventCreated = (0, common_1.createSessionsUsWebhookTrigger)({
|
|
6
|
-
name: 'event_created',
|
|
7
|
-
displayName: 'Event Created',
|
|
8
|
-
description: 'Triggered when a new event is created.',
|
|
9
|
-
aiMetadata: {
|
|
10
|
-
description: 'Fires when a new event (a public, registration-based gathering) is created on Sessions.us, while still in draft before it is published. The payload includes the underlying session, the event id and slug, and the owning participant.',
|
|
11
|
-
},
|
|
12
|
-
trigger: common_1.SessionsUsWebhookTrigger.EVENT_CREATED,
|
|
13
|
-
storeKey: 'sessions_event_created_trigger',
|
|
14
|
-
sampleData: {
|
|
15
|
-
session: {
|
|
16
|
-
id: '8208f783-fba9-4045-ae6e-dea64f5ab7ea',
|
|
17
|
-
name: 'My Best Event',
|
|
18
|
-
description: null,
|
|
19
|
-
quickSession: false,
|
|
20
|
-
room: null,
|
|
21
|
-
createdAt: '2023-11-30T10:46:13.675Z',
|
|
22
|
-
startAt: '2023-11-30T11:00:00.000Z',
|
|
23
|
-
actualStart: null,
|
|
24
|
-
endedAt: null,
|
|
25
|
-
booking: null,
|
|
26
|
-
event: {
|
|
27
|
-
id: '52259a5f-f706-41d9-8b58-1b8796bd0ffc',
|
|
28
|
-
slug: 'f34bd8a5-a7d9-47f2-aee9-031d10a76b75-83897/my-best-event',
|
|
29
|
-
},
|
|
30
|
-
participants: [
|
|
31
|
-
{
|
|
32
|
-
id: 'd98f984f-982b-4a17-8a3d-093a4a774b49',
|
|
33
|
-
isOwner: true,
|
|
34
|
-
guest: null,
|
|
35
|
-
user: {
|
|
36
|
-
id: '9090bd7c-0cf9-4716-837e-43f3821a65c4',
|
|
37
|
-
email: 'email@example.com',
|
|
38
|
-
lastName: 'Pieces',
|
|
39
|
-
firstName: 'Active',
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
],
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
});
|
|
46
|
-
//# sourceMappingURL=event-created.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"event-created.js","sourceRoot":"","sources":["../../../../src/lib/triggers/event-created.ts"],"names":[],"mappings":";;;AAAA,sCAGmB;AAEN,QAAA,YAAY,GAAG,IAAA,uCAA8B,EAAC;IACzD,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,eAAe;IAC5B,WAAW,EAAE,wCAAwC;IACrD,UAAU,EAAE;QACV,WAAW,EAAE,yOAAyO;KACvP;IACD,OAAO,EAAE,iCAAwB,CAAC,aAAa;IAC/C,QAAQ,EAAE,gCAAgC;IAC1C,UAAU,EAAE;QACV,OAAO,EAAE;YACP,EAAE,EAAE,sCAAsC;YAC1C,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,IAAI;YACjB,YAAY,EAAE,KAAK;YACnB,IAAI,EAAE,IAAI;YACV,SAAS,EAAE,0BAA0B;YACrC,OAAO,EAAE,0BAA0B;YACnC,WAAW,EAAE,IAAI;YACjB,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,IAAI;YACb,KAAK,EAAE;gBACL,EAAE,EAAE,sCAAsC;gBAC1C,IAAI,EAAE,0DAA0D;aACjE;YACD,YAAY,EAAE;gBACZ;oBACE,EAAE,EAAE,sCAAsC;oBAC1C,OAAO,EAAE,IAAI;oBACb,KAAK,EAAE,IAAI;oBACX,IAAI,EAAE;wBACJ,EAAE,EAAE,sCAAsC;wBAC1C,KAAK,EAAE,mBAAmB;wBAC1B,QAAQ,EAAE,QAAQ;wBAClB,SAAS,EAAE,QAAQ;qBACpB;iBACF;aACF;SACF;KACF;CACF,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const eventEnded: import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
2
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
3
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.POLLING, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
4
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
5
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
6
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
7
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
8
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
9
|
-
}>;
|
|
10
|
-
//# sourceMappingURL=event-ended.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"event-ended.d.ts","sourceRoot":"","sources":["../../../../src/lib/triggers/event-ended.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,UAAU;;;;;;;;EAwCrB,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.eventEnded = void 0;
|
|
4
|
-
const common_1 = require("../common");
|
|
5
|
-
exports.eventEnded = (0, common_1.createSessionsUsWebhookTrigger)({
|
|
6
|
-
name: 'event_ended',
|
|
7
|
-
displayName: 'Event Ended',
|
|
8
|
-
description: 'Triggered when an event ends.',
|
|
9
|
-
aiMetadata: {
|
|
10
|
-
description: 'Fires when an event finishes (the live event concludes). The payload includes the underlying session, the event id and slug, and the owning participant.',
|
|
11
|
-
},
|
|
12
|
-
trigger: common_1.SessionsUsWebhookTrigger.EVENT_ENDED,
|
|
13
|
-
storeKey: 'sessions_event_ended_trigger',
|
|
14
|
-
sampleData: {
|
|
15
|
-
session: {
|
|
16
|
-
id: '8208f783-fba9-4045-ae6e-dea64f5ab7ea',
|
|
17
|
-
name: 'My Best Event',
|
|
18
|
-
description: null,
|
|
19
|
-
quickSession: false,
|
|
20
|
-
room: null,
|
|
21
|
-
createdAt: '2023-11-30T10:46:13.675Z',
|
|
22
|
-
startAt: '2023-11-30T11:00:00.000Z',
|
|
23
|
-
actualStart: null,
|
|
24
|
-
endedAt: null,
|
|
25
|
-
booking: null,
|
|
26
|
-
event: {
|
|
27
|
-
id: '52259a5f-f706-41d9-8b58-1b8796bd0ffc',
|
|
28
|
-
slug: 'f34bd8a5-a7d9-47f2-aee9-031d10a76b75-83897/my-best-event',
|
|
29
|
-
},
|
|
30
|
-
participants: [
|
|
31
|
-
{
|
|
32
|
-
id: 'd98f984f-982b-4a17-8a3d-093a4a774b49',
|
|
33
|
-
isOwner: true,
|
|
34
|
-
guest: null,
|
|
35
|
-
user: {
|
|
36
|
-
id: '9090bd7c-0cf9-4716-837e-43f3821a65c4',
|
|
37
|
-
email: 'email@example.com',
|
|
38
|
-
lastName: 'Pieces',
|
|
39
|
-
firstName: 'Active',
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
],
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
});
|
|
46
|
-
//# sourceMappingURL=event-ended.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"event-ended.js","sourceRoot":"","sources":["../../../../src/lib/triggers/event-ended.ts"],"names":[],"mappings":";;;AAAA,sCAGmB;AAEN,QAAA,UAAU,GAAG,IAAA,uCAA8B,EAAC;IACvD,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,+BAA+B;IAC5C,UAAU,EAAE;QACV,WAAW,EAAE,0JAA0J;KACxK;IACD,OAAO,EAAE,iCAAwB,CAAC,WAAW;IAC7C,QAAQ,EAAE,8BAA8B;IACxC,UAAU,EAAE;QACV,OAAO,EAAE;YACP,EAAE,EAAE,sCAAsC;YAC1C,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,IAAI;YACjB,YAAY,EAAE,KAAK;YACnB,IAAI,EAAE,IAAI;YACV,SAAS,EAAE,0BAA0B;YACrC,OAAO,EAAE,0BAA0B;YACnC,WAAW,EAAE,IAAI;YACjB,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,IAAI;YACb,KAAK,EAAE;gBACL,EAAE,EAAE,sCAAsC;gBAC1C,IAAI,EAAE,0DAA0D;aACjE;YACD,YAAY,EAAE;gBACZ;oBACE,EAAE,EAAE,sCAAsC;oBAC1C,OAAO,EAAE,IAAI;oBACb,KAAK,EAAE,IAAI;oBACX,IAAI,EAAE;wBACJ,EAAE,EAAE,sCAAsC;wBAC1C,KAAK,EAAE,mBAAmB;wBAC1B,QAAQ,EAAE,QAAQ;wBAClB,SAAS,EAAE,QAAQ;qBACpB;iBACF;aACF;SACF;KACF;CACF,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const eventNewRegistration: import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
2
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
3
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.POLLING, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
4
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
5
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
6
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
7
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
8
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
9
|
-
}>;
|
|
10
|
-
//# sourceMappingURL=event-new-registration.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"event-new-registration.d.ts","sourceRoot":"","sources":["../../../../src/lib/triggers/event-new-registration.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB;;;;;;;;EA4B/B,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.eventNewRegistration = void 0;
|
|
4
|
-
const common_1 = require("../common");
|
|
5
|
-
exports.eventNewRegistration = (0, common_1.createSessionsUsWebhookTrigger)({
|
|
6
|
-
name: 'event_new_registration',
|
|
7
|
-
displayName: 'Event New Registration',
|
|
8
|
-
description: 'Triggered when a new registration for an event occurs.',
|
|
9
|
-
aiMetadata: {
|
|
10
|
-
description: 'Fires when a person registers for a published event. The payload includes the event and session ids plus the registered participant (name, email, and their submitted registration form answers).',
|
|
11
|
-
},
|
|
12
|
-
trigger: common_1.SessionsUsWebhookTrigger.EVENT_NEW_REGISTRATION,
|
|
13
|
-
storeKey: 'sessions_event_new_registration_trigger',
|
|
14
|
-
sampleData: {
|
|
15
|
-
eventId: '52259a5f-f706-41d9-8b58-1b8796bd0ffc',
|
|
16
|
-
sessionId: '8208f783-fba9-4045-ae6e-dea64f5ab7ea',
|
|
17
|
-
registeredParticipant: {
|
|
18
|
-
id: '5164d6de-5f72-4990-8a42-8b5c9b7d5670',
|
|
19
|
-
email: 'email@example.com',
|
|
20
|
-
firstName: 'Active Pieces',
|
|
21
|
-
form: [
|
|
22
|
-
{
|
|
23
|
-
question: 'Name',
|
|
24
|
-
answer: 'Active Pieces',
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
question: 'Email',
|
|
28
|
-
answer: 'email@example.com',
|
|
29
|
-
},
|
|
30
|
-
],
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
});
|
|
34
|
-
//# sourceMappingURL=event-new-registration.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"event-new-registration.js","sourceRoot":"","sources":["../../../../src/lib/triggers/event-new-registration.ts"],"names":[],"mappings":";;;AAAA,sCAGmB;AAEN,QAAA,oBAAoB,GAAG,IAAA,uCAA8B,EAAC;IACjE,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EAAE,wBAAwB;IACrC,WAAW,EAAE,wDAAwD;IACrE,UAAU,EAAE;QACV,WAAW,EAAE,mMAAmM;KACjN;IACD,OAAO,EAAE,iCAAwB,CAAC,sBAAsB;IACxD,QAAQ,EAAE,yCAAyC;IACnD,UAAU,EAAE;QACV,OAAO,EAAE,sCAAsC;QAC/C,SAAS,EAAE,sCAAsC;QACjD,qBAAqB,EAAE;YACrB,EAAE,EAAE,sCAAsC;YAC1C,KAAK,EAAE,mBAAmB;YAC1B,SAAS,EAAE,eAAe;YAC1B,IAAI,EAAE;gBACJ;oBACE,QAAQ,EAAE,MAAM;oBAChB,MAAM,EAAE,eAAe;iBACxB;gBACD;oBACE,QAAQ,EAAE,OAAO;oBACjB,MAAM,EAAE,mBAAmB;iBAC5B;aACF;SACF;KACF;CACF,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const eventPublished: import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
2
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
3
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.POLLING, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
4
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
5
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
6
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
7
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
8
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
9
|
-
}>;
|
|
10
|
-
//# sourceMappingURL=event-published.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"event-published.d.ts","sourceRoot":"","sources":["../../../../src/lib/triggers/event-published.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,cAAc;;;;;;;;EAwCzB,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.eventPublished = void 0;
|
|
4
|
-
const common_1 = require("../common");
|
|
5
|
-
exports.eventPublished = (0, common_1.createSessionsUsWebhookTrigger)({
|
|
6
|
-
name: 'event_published',
|
|
7
|
-
displayName: 'Event Published',
|
|
8
|
-
description: 'Triggered when an event is published.',
|
|
9
|
-
aiMetadata: {
|
|
10
|
-
description: 'Fires when an event goes from draft to published, meaning it is now live and open for registration. The payload includes the underlying session, the event id and slug, and the owning participant.',
|
|
11
|
-
},
|
|
12
|
-
trigger: common_1.SessionsUsWebhookTrigger.EVENT_PUBLISHED,
|
|
13
|
-
storeKey: 'sessions_event_published_trigger',
|
|
14
|
-
sampleData: {
|
|
15
|
-
session: {
|
|
16
|
-
id: '8208f783-fba9-4045-ae6e-dea64f5ab7ea',
|
|
17
|
-
name: 'My Best Event',
|
|
18
|
-
description: null,
|
|
19
|
-
quickSession: false,
|
|
20
|
-
room: null,
|
|
21
|
-
createdAt: '2023-11-30T10:46:13.675Z',
|
|
22
|
-
startAt: '2023-11-30T11:00:00.000Z',
|
|
23
|
-
actualStart: null,
|
|
24
|
-
endedAt: null,
|
|
25
|
-
booking: null,
|
|
26
|
-
event: {
|
|
27
|
-
id: '52259a5f-f706-41d9-8b58-1b8796bd0ffc',
|
|
28
|
-
slug: 'f34bd8a5-a7d9-47f2-aee9-031d10a76b75-83897/my-best-event',
|
|
29
|
-
},
|
|
30
|
-
participants: [
|
|
31
|
-
{
|
|
32
|
-
id: 'd98f984f-982b-4a17-8a3d-093a4a774b49',
|
|
33
|
-
isOwner: true,
|
|
34
|
-
guest: null,
|
|
35
|
-
user: {
|
|
36
|
-
id: '9090bd7c-0cf9-4716-837e-43f3821a65c4',
|
|
37
|
-
email: 'email@example.com',
|
|
38
|
-
lastName: 'Pieces',
|
|
39
|
-
firstName: 'Active',
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
],
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
});
|
|
46
|
-
//# sourceMappingURL=event-published.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"event-published.js","sourceRoot":"","sources":["../../../../src/lib/triggers/event-published.ts"],"names":[],"mappings":";;;AAAA,sCAGmB;AAEN,QAAA,cAAc,GAAG,IAAA,uCAA8B,EAAC;IAC3D,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,iBAAiB;IAC9B,WAAW,EAAE,uCAAuC;IACpD,UAAU,EAAE;QACV,WAAW,EAAE,qMAAqM;KACnN;IACD,OAAO,EAAE,iCAAwB,CAAC,eAAe;IACjD,QAAQ,EAAE,kCAAkC;IAC5C,UAAU,EAAE;QACV,OAAO,EAAE;YACP,EAAE,EAAE,sCAAsC;YAC1C,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,IAAI;YACjB,YAAY,EAAE,KAAK;YACnB,IAAI,EAAE,IAAI;YACV,SAAS,EAAE,0BAA0B;YACrC,OAAO,EAAE,0BAA0B;YACnC,WAAW,EAAE,IAAI;YACjB,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,IAAI;YACb,KAAK,EAAE;gBACL,EAAE,EAAE,sCAAsC;gBAC1C,IAAI,EAAE,0DAA0D;aACjE;YACD,YAAY,EAAE;gBACZ;oBACE,EAAE,EAAE,sCAAsC;oBAC1C,OAAO,EAAE,IAAI;oBACb,KAAK,EAAE,IAAI;oBACX,IAAI,EAAE;wBACJ,EAAE,EAAE,sCAAsC;wBAC1C,KAAK,EAAE,mBAAmB;wBAC1B,QAAQ,EAAE,QAAQ;wBAClB,SAAS,EAAE,QAAQ;qBACpB;iBACF;aACF;SACF;KACF;CACF,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const eventStarted: import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
2
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
3
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.POLLING, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
4
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
5
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
6
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
7
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
8
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
9
|
-
}>;
|
|
10
|
-
//# sourceMappingURL=event-started.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"event-started.d.ts","sourceRoot":"","sources":["../../../../src/lib/triggers/event-started.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY;;;;;;;;EAwCvB,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.eventStarted = void 0;
|
|
4
|
-
const common_1 = require("../common");
|
|
5
|
-
exports.eventStarted = (0, common_1.createSessionsUsWebhookTrigger)({
|
|
6
|
-
name: 'event_started',
|
|
7
|
-
displayName: 'Event Started',
|
|
8
|
-
description: 'Triggered when an event starts.',
|
|
9
|
-
aiMetadata: {
|
|
10
|
-
description: 'Fires when a published event begins (goes live). The payload includes the underlying session, the event id and slug, and the owning participant.',
|
|
11
|
-
},
|
|
12
|
-
trigger: common_1.SessionsUsWebhookTrigger.EVENT_STARTED,
|
|
13
|
-
storeKey: 'sessions_event_started_trigger',
|
|
14
|
-
sampleData: {
|
|
15
|
-
session: {
|
|
16
|
-
id: '8208f783-fba9-4045-ae6e-dea64f5ab7ea',
|
|
17
|
-
name: 'My Best Event',
|
|
18
|
-
description: null,
|
|
19
|
-
quickSession: false,
|
|
20
|
-
room: null,
|
|
21
|
-
createdAt: '2023-11-30T10:46:13.675Z',
|
|
22
|
-
startAt: '2023-11-30T11:00:00.000Z',
|
|
23
|
-
actualStart: null,
|
|
24
|
-
endedAt: null,
|
|
25
|
-
booking: null,
|
|
26
|
-
event: {
|
|
27
|
-
id: '52259a5f-f706-41d9-8b58-1b8796bd0ffc',
|
|
28
|
-
slug: 'f34bd8a5-a7d9-47f2-aee9-031d10a76b75-83897/my-best-event',
|
|
29
|
-
},
|
|
30
|
-
participants: [
|
|
31
|
-
{
|
|
32
|
-
id: 'd98f984f-982b-4a17-8a3d-093a4a774b49',
|
|
33
|
-
isOwner: true,
|
|
34
|
-
guest: null,
|
|
35
|
-
user: {
|
|
36
|
-
id: '9090bd7c-0cf9-4716-837e-43f3821a65c4',
|
|
37
|
-
email: 'email@example.com',
|
|
38
|
-
lastName: 'Pieces',
|
|
39
|
-
firstName: 'Active',
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
],
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
});
|
|
46
|
-
//# sourceMappingURL=event-started.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"event-started.js","sourceRoot":"","sources":["../../../../src/lib/triggers/event-started.ts"],"names":[],"mappings":";;;AAAA,sCAGmB;AAEN,QAAA,YAAY,GAAG,IAAA,uCAA8B,EAAC;IACzD,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,eAAe;IAC5B,WAAW,EAAE,iCAAiC;IAC9C,UAAU,EAAE;QACV,WAAW,EAAE,kJAAkJ;KAChK;IACD,OAAO,EAAE,iCAAwB,CAAC,aAAa;IAC/C,QAAQ,EAAE,gCAAgC;IAC1C,UAAU,EAAE;QACV,OAAO,EAAE;YACP,EAAE,EAAE,sCAAsC;YAC1C,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,IAAI;YACjB,YAAY,EAAE,KAAK;YACnB,IAAI,EAAE,IAAI;YACV,SAAS,EAAE,0BAA0B;YACrC,OAAO,EAAE,0BAA0B;YACnC,WAAW,EAAE,IAAI;YACjB,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,IAAI;YACb,KAAK,EAAE;gBACL,EAAE,EAAE,sCAAsC;gBAC1C,IAAI,EAAE,0DAA0D;aACjE;YACD,YAAY,EAAE;gBACZ;oBACE,EAAE,EAAE,sCAAsC;oBAC1C,OAAO,EAAE,IAAI;oBACb,KAAK,EAAE,IAAI;oBACX,IAAI,EAAE;wBACJ,EAAE,EAAE,sCAAsC;wBAC1C,KAAK,EAAE,mBAAmB;wBAC1B,QAAQ,EAAE,QAAQ;wBAClB,SAAS,EAAE,QAAQ;qBACpB;iBACF;aACF;SACF;KACF;CACF,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const sessionCreated: import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
2
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
3
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.POLLING, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
4
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
5
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
6
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
7
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
8
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
9
|
-
}>;
|
|
10
|
-
//# sourceMappingURL=session-created.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session-created.d.ts","sourceRoot":"","sources":["../../../../src/lib/triggers/session-created.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,cAAc;;;;;;;;EAqCzB,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.sessionCreated = void 0;
|
|
4
|
-
const common_1 = require("../common");
|
|
5
|
-
exports.sessionCreated = (0, common_1.createSessionsUsWebhookTrigger)({
|
|
6
|
-
name: 'session_created',
|
|
7
|
-
displayName: 'Session Created',
|
|
8
|
-
description: 'Triggered when a new session is created.',
|
|
9
|
-
aiMetadata: {
|
|
10
|
-
description: 'Fires when a new session (a private video meeting) is created on Sessions.us. The payload includes the session details and its participants.',
|
|
11
|
-
},
|
|
12
|
-
trigger: common_1.SessionsUsWebhookTrigger.SESSION_CREATED,
|
|
13
|
-
storeKey: 'sessions_session_created_trigger',
|
|
14
|
-
sampleData: {
|
|
15
|
-
session: {
|
|
16
|
-
id: '5645d810-4e29-4c2c-b9a5-84d71a6429dd',
|
|
17
|
-
name: 'My Talking Session',
|
|
18
|
-
description: '',
|
|
19
|
-
quickSession: false,
|
|
20
|
-
room: null,
|
|
21
|
-
createdAt: '2023-11-30T10:30:16.535Z',
|
|
22
|
-
startAt: '2023-11-30T10:31:00.000Z',
|
|
23
|
-
actualStart: null,
|
|
24
|
-
endedAt: null,
|
|
25
|
-
booking: null,
|
|
26
|
-
event: null,
|
|
27
|
-
participants: [
|
|
28
|
-
{
|
|
29
|
-
id: '0f2aced6-e099-424b-9448-4dd94d9ba3a0',
|
|
30
|
-
isOwner: true,
|
|
31
|
-
guest: null,
|
|
32
|
-
user: {
|
|
33
|
-
id: '9090bd7c-0cf9-4716-837e-43f3821a65c4',
|
|
34
|
-
email: 'email@example.com',
|
|
35
|
-
lastName: 'Pieces',
|
|
36
|
-
firstName: 'Active',
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
});
|
|
43
|
-
//# sourceMappingURL=session-created.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session-created.js","sourceRoot":"","sources":["../../../../src/lib/triggers/session-created.ts"],"names":[],"mappings":";;;AAAA,sCAGmB;AAEN,QAAA,cAAc,GAAG,IAAA,uCAA8B,EAAC;IAC3D,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,iBAAiB;IAC9B,WAAW,EAAE,0CAA0C;IACvD,UAAU,EAAE;QACV,WAAW,EAAE,8IAA8I;KAC5J;IACD,OAAO,EAAE,iCAAwB,CAAC,eAAe;IACjD,QAAQ,EAAE,kCAAkC;IAC5C,UAAU,EAAE;QACV,OAAO,EAAE;YACP,EAAE,EAAE,sCAAsC;YAC1C,IAAI,EAAE,oBAAoB;YAC1B,WAAW,EAAE,EAAE;YACf,YAAY,EAAE,KAAK;YACnB,IAAI,EAAE,IAAI;YACV,SAAS,EAAE,0BAA0B;YACrC,OAAO,EAAE,0BAA0B;YACnC,WAAW,EAAE,IAAI;YACjB,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,IAAI;YACb,KAAK,EAAE,IAAI;YACX,YAAY,EAAE;gBACZ;oBACE,EAAE,EAAE,sCAAsC;oBAC1C,OAAO,EAAE,IAAI;oBACb,KAAK,EAAE,IAAI;oBACX,IAAI,EAAE;wBACJ,EAAE,EAAE,sCAAsC;wBAC1C,KAAK,EAAE,mBAAmB;wBAC1B,QAAQ,EAAE,QAAQ;wBAClB,SAAS,EAAE,QAAQ;qBACpB;iBACF;aACF;SACF;KACF;CACF,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const sessionEnded: import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
2
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
3
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.POLLING, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
4
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
5
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
6
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
7
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
8
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
9
|
-
}>;
|
|
10
|
-
//# sourceMappingURL=session-ended.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session-ended.d.ts","sourceRoot":"","sources":["../../../../src/lib/triggers/session-ended.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY;;;;;;;;EAqCvB,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.sessionEnded = void 0;
|
|
4
|
-
const common_1 = require("../common");
|
|
5
|
-
exports.sessionEnded = (0, common_1.createSessionsUsWebhookTrigger)({
|
|
6
|
-
name: 'session_ended',
|
|
7
|
-
displayName: 'Session Ended',
|
|
8
|
-
description: 'Triggered when a session has ended.',
|
|
9
|
-
aiMetadata: {
|
|
10
|
-
description: 'Fires when a session finishes (the meeting ends). The payload includes the session details and its participants.',
|
|
11
|
-
},
|
|
12
|
-
trigger: common_1.SessionsUsWebhookTrigger.SESSION_ENDED,
|
|
13
|
-
storeKey: 'sessions_session_ended_trigger',
|
|
14
|
-
sampleData: {
|
|
15
|
-
session: {
|
|
16
|
-
id: '5645d810-4e29-4c2c-b9a5-84d71a6429dd',
|
|
17
|
-
name: 'My Talking Session',
|
|
18
|
-
description: '',
|
|
19
|
-
quickSession: false,
|
|
20
|
-
room: null,
|
|
21
|
-
createdAt: '2023-11-30T10:30:16.535Z',
|
|
22
|
-
startAt: '2023-11-30T10:31:00.000Z',
|
|
23
|
-
actualStart: null,
|
|
24
|
-
endedAt: null,
|
|
25
|
-
booking: null,
|
|
26
|
-
event: null,
|
|
27
|
-
participants: [
|
|
28
|
-
{
|
|
29
|
-
id: '0f2aced6-e099-424b-9448-4dd94d9ba3a0',
|
|
30
|
-
isOwner: true,
|
|
31
|
-
guest: null,
|
|
32
|
-
user: {
|
|
33
|
-
id: '9090bd7c-0cf9-4716-837e-43f3821a65c4',
|
|
34
|
-
email: 'email@example.com',
|
|
35
|
-
lastName: 'Pieces',
|
|
36
|
-
firstName: 'Active',
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
});
|
|
43
|
-
//# sourceMappingURL=session-ended.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session-ended.js","sourceRoot":"","sources":["../../../../src/lib/triggers/session-ended.ts"],"names":[],"mappings":";;;AAAA,sCAGmB;AAEN,QAAA,YAAY,GAAG,IAAA,uCAA8B,EAAC;IACzD,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,eAAe;IAC5B,WAAW,EAAE,qCAAqC;IAClD,UAAU,EAAE;QACV,WAAW,EAAE,kHAAkH;KAChI;IACD,OAAO,EAAE,iCAAwB,CAAC,aAAa;IAC/C,QAAQ,EAAE,gCAAgC;IAC1C,UAAU,EAAE;QACV,OAAO,EAAE;YACP,EAAE,EAAE,sCAAsC;YAC1C,IAAI,EAAE,oBAAoB;YAC1B,WAAW,EAAE,EAAE;YACf,YAAY,EAAE,KAAK;YACnB,IAAI,EAAE,IAAI;YACV,SAAS,EAAE,0BAA0B;YACrC,OAAO,EAAE,0BAA0B;YACnC,WAAW,EAAE,IAAI;YACjB,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,IAAI;YACb,KAAK,EAAE,IAAI;YACX,YAAY,EAAE;gBACZ;oBACE,EAAE,EAAE,sCAAsC;oBAC1C,OAAO,EAAE,IAAI;oBACb,KAAK,EAAE,IAAI;oBACX,IAAI,EAAE;wBACJ,EAAE,EAAE,sCAAsC;wBAC1C,KAAK,EAAE,mBAAmB;wBAC1B,QAAQ,EAAE,QAAQ;wBAClB,SAAS,EAAE,QAAQ;qBACpB;iBACF;aACF;SACF;KACF;CACF,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const sessionStarted: import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
2
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
3
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.POLLING, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
4
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
5
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
6
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
7
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
8
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
9
|
-
}>;
|
|
10
|
-
//# sourceMappingURL=session-started.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session-started.d.ts","sourceRoot":"","sources":["../../../../src/lib/triggers/session-started.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,cAAc;;;;;;;;EAqCzB,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.sessionStarted = void 0;
|
|
4
|
-
const common_1 = require("../common");
|
|
5
|
-
exports.sessionStarted = (0, common_1.createSessionsUsWebhookTrigger)({
|
|
6
|
-
name: 'session_started',
|
|
7
|
-
displayName: 'Session Started',
|
|
8
|
-
description: 'Triggered when a session starts.',
|
|
9
|
-
aiMetadata: {
|
|
10
|
-
description: 'Fires when a session goes live (the meeting begins). The payload includes the session details and its participants.',
|
|
11
|
-
},
|
|
12
|
-
trigger: common_1.SessionsUsWebhookTrigger.SESSION_STARTED,
|
|
13
|
-
storeKey: 'sessions_session_started_trigger',
|
|
14
|
-
sampleData: {
|
|
15
|
-
session: {
|
|
16
|
-
id: '5645d810-4e29-4c2c-b9a5-84d71a6429dd',
|
|
17
|
-
name: 'My Talking Session',
|
|
18
|
-
description: '',
|
|
19
|
-
quickSession: false,
|
|
20
|
-
room: null,
|
|
21
|
-
createdAt: '2023-11-30T10:30:16.535Z',
|
|
22
|
-
startAt: '2023-11-30T10:31:00.000Z',
|
|
23
|
-
actualStart: null,
|
|
24
|
-
endedAt: null,
|
|
25
|
-
booking: null,
|
|
26
|
-
event: null,
|
|
27
|
-
participants: [
|
|
28
|
-
{
|
|
29
|
-
id: '0f2aced6-e099-424b-9448-4dd94d9ba3a0',
|
|
30
|
-
isOwner: true,
|
|
31
|
-
guest: null,
|
|
32
|
-
user: {
|
|
33
|
-
id: '9090bd7c-0cf9-4716-837e-43f3821a65c4',
|
|
34
|
-
email: 'email@example.com',
|
|
35
|
-
lastName: 'Pieces',
|
|
36
|
-
firstName: 'Active',
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
});
|
|
43
|
-
//# sourceMappingURL=session-started.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session-started.js","sourceRoot":"","sources":["../../../../src/lib/triggers/session-started.ts"],"names":[],"mappings":";;;AAAA,sCAGmB;AAEN,QAAA,cAAc,GAAG,IAAA,uCAA8B,EAAC;IAC3D,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,iBAAiB;IAC9B,WAAW,EAAE,kCAAkC;IAC/C,UAAU,EAAE;QACV,WAAW,EAAE,qHAAqH;KACnI;IACD,OAAO,EAAE,iCAAwB,CAAC,eAAe;IACjD,QAAQ,EAAE,kCAAkC;IAC5C,UAAU,EAAE;QACV,OAAO,EAAE;YACP,EAAE,EAAE,sCAAsC;YAC1C,IAAI,EAAE,oBAAoB;YAC1B,WAAW,EAAE,EAAE;YACf,YAAY,EAAE,KAAK;YACnB,IAAI,EAAE,IAAI;YACV,SAAS,EAAE,0BAA0B;YACrC,OAAO,EAAE,0BAA0B;YACnC,WAAW,EAAE,IAAI;YACjB,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,IAAI;YACb,KAAK,EAAE,IAAI;YACX,YAAY,EAAE;gBACZ;oBACE,EAAE,EAAE,sCAAsC;oBAC1C,OAAO,EAAE,IAAI;oBACb,KAAK,EAAE,IAAI;oBACX,IAAI,EAAE;wBACJ,EAAE,EAAE,sCAAsC;wBAC1C,KAAK,EAAE,mBAAmB;wBAC1B,QAAQ,EAAE,QAAQ;wBAClB,SAAS,EAAE,QAAQ;qBACpB;iBACF;aACF;SACF;KACF;CACF,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const takeawayReady: import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
2
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
3
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.POLLING, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
4
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
5
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
6
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
7
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
8
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
9
|
-
}>;
|
|
10
|
-
//# sourceMappingURL=takeaway-ready.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"takeaway-ready.d.ts","sourceRoot":"","sources":["../../../../src/lib/triggers/takeaway-ready.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,aAAa;;;;;;;;EAiCxB,CAAC"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.takeawayReady = void 0;
|
|
4
|
-
const common_1 = require("../common");
|
|
5
|
-
exports.takeawayReady = (0, common_1.createSessionsUsWebhookTrigger)({
|
|
6
|
-
name: 'takeaway_ready',
|
|
7
|
-
displayName: 'Takeaway Ready',
|
|
8
|
-
description: 'Triggered when a takeaway becomes available.',
|
|
9
|
-
aiMetadata: {
|
|
10
|
-
description: 'Fires when the AI-generated takeaways (summary notes) for a session have finished processing and are available. The payload includes the session id and the takeaways as both plain text and rich document content.',
|
|
11
|
-
},
|
|
12
|
-
trigger: common_1.SessionsUsWebhookTrigger.TAKEAWAY_READY,
|
|
13
|
-
storeKey: 'sessions_takeaway_ready_trigger',
|
|
14
|
-
sampleData: {
|
|
15
|
-
session: {
|
|
16
|
-
id: 'e5ebb4a1-a5a5-4a10-b18b-e1a89ddac27e',
|
|
17
|
-
takeawaysText: 'Hello',
|
|
18
|
-
takeawaysRaw: {
|
|
19
|
-
type: 'doc',
|
|
20
|
-
content: [
|
|
21
|
-
{
|
|
22
|
-
type: 'paragraph',
|
|
23
|
-
attrs: {
|
|
24
|
-
textAlign: 'left',
|
|
25
|
-
indent: 0,
|
|
26
|
-
},
|
|
27
|
-
content: [
|
|
28
|
-
{
|
|
29
|
-
type: 'text',
|
|
30
|
-
text: 'Hello',
|
|
31
|
-
},
|
|
32
|
-
],
|
|
33
|
-
},
|
|
34
|
-
],
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
});
|
|
39
|
-
//# sourceMappingURL=takeaway-ready.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"takeaway-ready.js","sourceRoot":"","sources":["../../../../src/lib/triggers/takeaway-ready.ts"],"names":[],"mappings":";;;AAAA,sCAGmB;AAEN,QAAA,aAAa,GAAG,IAAA,uCAA8B,EAAC;IAC1D,IAAI,EAAE,gBAAgB;IACtB,WAAW,EAAE,gBAAgB;IAC7B,WAAW,EAAE,8CAA8C;IAC3D,UAAU,EAAE;QACV,WAAW,EAAE,qNAAqN;KACnO;IACD,OAAO,EAAE,iCAAwB,CAAC,cAAc;IAChD,QAAQ,EAAE,iCAAiC;IAC3C,UAAU,EAAE;QACV,OAAO,EAAE;YACP,EAAE,EAAE,sCAAsC;YAC1C,aAAa,EAAE,OAAO;YACtB,YAAY,EAAE;gBACZ,IAAI,EAAE,KAAK;gBACX,OAAO,EAAE;oBACP;wBACE,IAAI,EAAE,WAAW;wBACjB,KAAK,EAAE;4BACL,SAAS,EAAE,MAAM;4BACjB,MAAM,EAAE,CAAC;yBACV;wBACD,OAAO,EAAE;4BACP;gCACE,IAAI,EAAE,MAAM;gCACZ,IAAI,EAAE,OAAO;6BACd;yBACF;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const transcriptReady: import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
2
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
3
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.POLLING, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
4
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
5
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
6
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
7
|
-
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/shared").TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
8
|
-
permission: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
9
|
-
}>;
|
|
10
|
-
//# sourceMappingURL=transcript-ready.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transcript-ready.d.ts","sourceRoot":"","sources":["../../../../src/lib/triggers/transcript-ready.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,eAAe;;;;;;;;EA2B1B,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.transcriptReady = void 0;
|
|
4
|
-
const common_1 = require("../common");
|
|
5
|
-
exports.transcriptReady = (0, common_1.createSessionsUsWebhookTrigger)({
|
|
6
|
-
name: 'transcript_ready',
|
|
7
|
-
displayName: 'Transcript Ready',
|
|
8
|
-
description: 'Triggered when a session has ended.',
|
|
9
|
-
aiMetadata: {
|
|
10
|
-
description: 'Fires when the transcript for a session has finished processing and is available. The payload includes the session id and the transcript segments (text, language, speaker participant id, and timestamps).',
|
|
11
|
-
},
|
|
12
|
-
trigger: common_1.SessionsUsWebhookTrigger.TRANSCRIPT_READY,
|
|
13
|
-
storeKey: 'sessions_transcript_ready_trigger',
|
|
14
|
-
sampleData: {
|
|
15
|
-
session: {
|
|
16
|
-
id: '8208f783-fba9-4045-ae6e-dea64f5ab7ea',
|
|
17
|
-
transcripts: [
|
|
18
|
-
{
|
|
19
|
-
content: [
|
|
20
|
-
{
|
|
21
|
-
text: 'Hello, my name is...',
|
|
22
|
-
language: 'en',
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
participantId: 'd98f984f-982b-4a17-8a3d-093a4a774b49',
|
|
26
|
-
sourceTimestamp: '2023-11-30T10:50:26.363Z',
|
|
27
|
-
sourceLanguage: 'en',
|
|
28
|
-
},
|
|
29
|
-
],
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
});
|
|
33
|
-
//# sourceMappingURL=transcript-ready.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transcript-ready.js","sourceRoot":"","sources":["../../../../src/lib/triggers/transcript-ready.ts"],"names":[],"mappings":";;;AAAA,sCAGmB;AAEN,QAAA,eAAe,GAAG,IAAA,uCAA8B,EAAC;IAC5D,IAAI,EAAE,kBAAkB;IACxB,WAAW,EAAE,kBAAkB;IAC/B,WAAW,EAAE,qCAAqC;IAClD,UAAU,EAAE;QACV,WAAW,EAAE,6MAA6M;KAC3N;IACD,OAAO,EAAE,iCAAwB,CAAC,gBAAgB;IAClD,QAAQ,EAAE,mCAAmC;IAC7C,UAAU,EAAE;QACV,OAAO,EAAE;YACP,EAAE,EAAE,sCAAsC;YAC1C,WAAW,EAAE;gBACX;oBACE,OAAO,EAAE;wBACP;4BACE,IAAI,EAAE,sBAAsB;4BAC5B,QAAQ,EAAE,IAAI;yBACf;qBACF;oBACD,aAAa,EAAE,sCAAsC;oBACrD,eAAe,EAAE,0BAA0B;oBAC3C,cAAc,EAAE,IAAI;iBACrB;aACF;SACF;KACF;CACF,CAAC,CAAC"}
|