@venturialstd/workflow 0.1.1 → 0.1.3
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/dist/constants/workflow.constant.d.ts +2 -1
- package/dist/constants/workflow.constant.d.ts.map +1 -1
- package/dist/constants/workflow.constant.js +1 -0
- package/dist/constants/workflow.constant.js.map +1 -1
- package/dist/dtos/create-workflow-webhook.dto.d.ts +9 -0
- package/dist/dtos/create-workflow-webhook.dto.d.ts.map +1 -0
- package/dist/dtos/create-workflow-webhook.dto.js +48 -0
- package/dist/dtos/create-workflow-webhook.dto.js.map +1 -0
- package/dist/dtos/index.d.ts +1 -0
- package/dist/dtos/index.d.ts.map +1 -1
- package/dist/dtos/index.js +1 -0
- package/dist/dtos/index.js.map +1 -1
- package/dist/entities/workflow-webhook.entity.d.ts +22 -0
- package/dist/entities/workflow-webhook.entity.d.ts.map +1 -0
- package/dist/entities/workflow-webhook.entity.js +103 -0
- package/dist/entities/workflow-webhook.entity.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/modules/conditional/services/evaluate-condition.service.d.ts.map +1 -1
- package/dist/modules/conditional/services/evaluate-condition.service.js +39 -23
- package/dist/modules/conditional/services/evaluate-condition.service.js.map +1 -1
- package/dist/modules/index.d.ts +1 -0
- package/dist/modules/index.d.ts.map +1 -1
- package/dist/modules/index.js +5 -1
- package/dist/modules/index.js.map +1 -1
- package/dist/modules/twilio/actions/cancel-verification.action.d.ts +3 -0
- package/dist/modules/twilio/actions/cancel-verification.action.d.ts.map +1 -0
- package/dist/modules/twilio/actions/cancel-verification.action.js +56 -0
- package/dist/modules/twilio/actions/cancel-verification.action.js.map +1 -0
- package/dist/modules/twilio/actions/create-conversation.action.d.ts +3 -0
- package/dist/modules/twilio/actions/create-conversation.action.d.ts.map +1 -0
- package/dist/modules/twilio/actions/create-conversation.action.js +79 -0
- package/dist/modules/twilio/actions/create-conversation.action.js.map +1 -0
- package/dist/modules/twilio/actions/create-video-room.action.d.ts +3 -0
- package/dist/modules/twilio/actions/create-video-room.action.d.ts.map +1 -0
- package/dist/modules/twilio/actions/create-video-room.action.js +89 -0
- package/dist/modules/twilio/actions/create-video-room.action.js.map +1 -0
- package/dist/modules/twilio/actions/delete-call.action.d.ts +3 -0
- package/dist/modules/twilio/actions/delete-call.action.d.ts.map +1 -0
- package/dist/modules/twilio/actions/delete-call.action.js +40 -0
- package/dist/modules/twilio/actions/delete-call.action.js.map +1 -0
- package/dist/modules/twilio/actions/delete-message.action.d.ts +3 -0
- package/dist/modules/twilio/actions/delete-message.action.d.ts.map +1 -0
- package/dist/modules/twilio/actions/delete-message.action.js +40 -0
- package/dist/modules/twilio/actions/delete-message.action.js.map +1 -0
- package/dist/modules/twilio/actions/fetch-call-recordings.action.d.ts +3 -0
- package/dist/modules/twilio/actions/fetch-call-recordings.action.d.ts.map +1 -0
- package/dist/modules/twilio/actions/fetch-call-recordings.action.js +46 -0
- package/dist/modules/twilio/actions/fetch-call-recordings.action.js.map +1 -0
- package/dist/modules/twilio/actions/fetch-call.action.d.ts +3 -0
- package/dist/modules/twilio/actions/fetch-call.action.d.ts.map +1 -0
- package/dist/modules/twilio/actions/fetch-call.action.js +52 -0
- package/dist/modules/twilio/actions/fetch-call.action.js.map +1 -0
- package/dist/modules/twilio/actions/fetch-message.action.d.ts +3 -0
- package/dist/modules/twilio/actions/fetch-message.action.d.ts.map +1 -0
- package/dist/modules/twilio/actions/fetch-message.action.js +58 -0
- package/dist/modules/twilio/actions/fetch-message.action.js.map +1 -0
- package/dist/modules/twilio/actions/fetch-verification.action.d.ts +3 -0
- package/dist/modules/twilio/actions/fetch-verification.action.d.ts.map +1 -0
- package/dist/modules/twilio/actions/fetch-verification.action.js +62 -0
- package/dist/modules/twilio/actions/fetch-verification.action.js.map +1 -0
- package/dist/modules/twilio/actions/generate-twiml-dial.action.d.ts +3 -0
- package/dist/modules/twilio/actions/generate-twiml-dial.action.d.ts.map +1 -0
- package/dist/modules/twilio/actions/generate-twiml-dial.action.js +72 -0
- package/dist/modules/twilio/actions/generate-twiml-dial.action.js.map +1 -0
- package/dist/modules/twilio/actions/generate-twiml-say.action.d.ts +3 -0
- package/dist/modules/twilio/actions/generate-twiml-say.action.d.ts.map +1 -0
- package/dist/modules/twilio/actions/generate-twiml-say.action.js +68 -0
- package/dist/modules/twilio/actions/generate-twiml-say.action.js.map +1 -0
- package/dist/modules/twilio/actions/index.d.ts +20 -0
- package/dist/modules/twilio/actions/index.d.ts.map +1 -1
- package/dist/modules/twilio/actions/index.js +20 -0
- package/dist/modules/twilio/actions/index.js.map +1 -1
- package/dist/modules/twilio/actions/list-calls.action.d.ts +3 -0
- package/dist/modules/twilio/actions/list-calls.action.d.ts.map +1 -0
- package/dist/modules/twilio/actions/list-calls.action.js +80 -0
- package/dist/modules/twilio/actions/list-calls.action.js.map +1 -0
- package/dist/modules/twilio/actions/list-messages.action.d.ts +3 -0
- package/dist/modules/twilio/actions/list-messages.action.d.ts.map +1 -0
- package/dist/modules/twilio/actions/list-messages.action.js +89 -0
- package/dist/modules/twilio/actions/list-messages.action.js.map +1 -0
- package/dist/modules/twilio/actions/lookup-phone-number.action.d.ts +3 -0
- package/dist/modules/twilio/actions/lookup-phone-number.action.d.ts.map +1 -0
- package/dist/modules/twilio/actions/lookup-phone-number.action.js +79 -0
- package/dist/modules/twilio/actions/lookup-phone-number.action.js.map +1 -0
- package/dist/modules/twilio/actions/make-call.action.d.ts +3 -0
- package/dist/modules/twilio/actions/make-call.action.d.ts.map +1 -0
- package/dist/modules/twilio/actions/make-call.action.js +109 -0
- package/dist/modules/twilio/actions/make-call.action.js.map +1 -0
- package/dist/modules/twilio/actions/send-conversation-message.action.d.ts +3 -0
- package/dist/modules/twilio/actions/send-conversation-message.action.d.ts.map +1 -0
- package/dist/modules/twilio/actions/send-conversation-message.action.js +72 -0
- package/dist/modules/twilio/actions/send-conversation-message.action.js.map +1 -0
- package/dist/modules/twilio/actions/send-sms.action.d.ts.map +1 -1
- package/dist/modules/twilio/actions/send-sms.action.js.map +1 -1
- package/dist/modules/twilio/actions/send-verification.action.d.ts +3 -0
- package/dist/modules/twilio/actions/send-verification.action.d.ts.map +1 -0
- package/dist/modules/twilio/actions/send-verification.action.js +99 -0
- package/dist/modules/twilio/actions/send-verification.action.js.map +1 -0
- package/dist/modules/twilio/actions/update-call.action.d.ts +3 -0
- package/dist/modules/twilio/actions/update-call.action.d.ts.map +1 -0
- package/dist/modules/twilio/actions/update-call.action.js +72 -0
- package/dist/modules/twilio/actions/update-call.action.js.map +1 -0
- package/dist/modules/twilio/actions/update-message.action.d.ts +3 -0
- package/dist/modules/twilio/actions/update-message.action.d.ts.map +1 -0
- package/dist/modules/twilio/actions/update-message.action.js +57 -0
- package/dist/modules/twilio/actions/update-message.action.js.map +1 -0
- package/dist/modules/twilio/actions/verify-code.action.d.ts +3 -0
- package/dist/modules/twilio/actions/verify-code.action.d.ts.map +1 -0
- package/dist/modules/twilio/actions/verify-code.action.js +72 -0
- package/dist/modules/twilio/actions/verify-code.action.js.map +1 -0
- package/dist/modules/twilio/services/cancel-verification.service.d.ts +8 -0
- package/dist/modules/twilio/services/cancel-verification.service.d.ts.map +1 -0
- package/dist/modules/twilio/services/cancel-verification.service.js +53 -0
- package/dist/modules/twilio/services/cancel-verification.service.js.map +1 -0
- package/dist/modules/twilio/services/create-conversation.service.d.ts +8 -0
- package/dist/modules/twilio/services/create-conversation.service.d.ts.map +1 -0
- package/dist/modules/twilio/services/create-conversation.service.js +56 -0
- package/dist/modules/twilio/services/create-conversation.service.js.map +1 -0
- package/dist/modules/twilio/services/create-video-room.service.d.ts +8 -0
- package/dist/modules/twilio/services/create-video-room.service.d.ts.map +1 -0
- package/dist/modules/twilio/services/create-video-room.service.js +57 -0
- package/dist/modules/twilio/services/create-video-room.service.js.map +1 -0
- package/dist/modules/twilio/services/delete-call.service.d.ts +8 -0
- package/dist/modules/twilio/services/delete-call.service.d.ts.map +1 -0
- package/dist/modules/twilio/services/delete-call.service.js +48 -0
- package/dist/modules/twilio/services/delete-call.service.js.map +1 -0
- package/dist/modules/twilio/services/delete-message.service.d.ts +8 -0
- package/dist/modules/twilio/services/delete-message.service.d.ts.map +1 -0
- package/dist/modules/twilio/services/delete-message.service.js +43 -0
- package/dist/modules/twilio/services/delete-message.service.js.map +1 -0
- package/dist/modules/twilio/services/fetch-call-recordings.service.d.ts +8 -0
- package/dist/modules/twilio/services/fetch-call-recordings.service.d.ts.map +1 -0
- package/dist/modules/twilio/services/fetch-call-recordings.service.js +56 -0
- package/dist/modules/twilio/services/fetch-call-recordings.service.js.map +1 -0
- package/dist/modules/twilio/services/fetch-call.service.d.ts +8 -0
- package/dist/modules/twilio/services/fetch-call.service.d.ts.map +1 -0
- package/dist/modules/twilio/services/fetch-call.service.js +52 -0
- package/dist/modules/twilio/services/fetch-call.service.js.map +1 -0
- package/dist/modules/twilio/services/fetch-message.service.d.ts +8 -0
- package/dist/modules/twilio/services/fetch-message.service.d.ts.map +1 -0
- package/dist/modules/twilio/services/fetch-message.service.js +60 -0
- package/dist/modules/twilio/services/fetch-message.service.js.map +1 -0
- package/dist/modules/twilio/services/fetch-verification.service.d.ts +8 -0
- package/dist/modules/twilio/services/fetch-verification.service.d.ts.map +1 -0
- package/dist/modules/twilio/services/fetch-verification.service.js +58 -0
- package/dist/modules/twilio/services/fetch-verification.service.js.map +1 -0
- package/dist/modules/twilio/services/generate-twiml-dial.service.d.ts +8 -0
- package/dist/modules/twilio/services/generate-twiml-dial.service.d.ts.map +1 -0
- package/dist/modules/twilio/services/generate-twiml-dial.service.js +43 -0
- package/dist/modules/twilio/services/generate-twiml-dial.service.js.map +1 -0
- package/dist/modules/twilio/services/generate-twiml-say.service.d.ts +8 -0
- package/dist/modules/twilio/services/generate-twiml-say.service.d.ts.map +1 -0
- package/dist/modules/twilio/services/generate-twiml-say.service.js +41 -0
- package/dist/modules/twilio/services/generate-twiml-say.service.js.map +1 -0
- package/dist/modules/twilio/services/index.d.ts +20 -0
- package/dist/modules/twilio/services/index.d.ts.map +1 -1
- package/dist/modules/twilio/services/index.js +20 -0
- package/dist/modules/twilio/services/index.js.map +1 -1
- package/dist/modules/twilio/services/list-calls.service.d.ts +8 -0
- package/dist/modules/twilio/services/list-calls.service.d.ts.map +1 -0
- package/dist/modules/twilio/services/list-calls.service.js +62 -0
- package/dist/modules/twilio/services/list-calls.service.js.map +1 -0
- package/dist/modules/twilio/services/list-messages.service.d.ts +8 -0
- package/dist/modules/twilio/services/list-messages.service.d.ts.map +1 -0
- package/dist/modules/twilio/services/list-messages.service.js +65 -0
- package/dist/modules/twilio/services/list-messages.service.js.map +1 -0
- package/dist/modules/twilio/services/lookup-phone-number.service.d.ts +8 -0
- package/dist/modules/twilio/services/lookup-phone-number.service.d.ts.map +1 -0
- package/dist/modules/twilio/services/lookup-phone-number.service.js +61 -0
- package/dist/modules/twilio/services/lookup-phone-number.service.js.map +1 -0
- package/dist/modules/twilio/services/make-call.service.d.ts +8 -0
- package/dist/modules/twilio/services/make-call.service.d.ts.map +1 -0
- package/dist/modules/twilio/services/make-call.service.js +80 -0
- package/dist/modules/twilio/services/make-call.service.js.map +1 -0
- package/dist/modules/twilio/services/send-conversation-message.service.d.ts +8 -0
- package/dist/modules/twilio/services/send-conversation-message.service.d.ts.map +1 -0
- package/dist/modules/twilio/services/send-conversation-message.service.js +61 -0
- package/dist/modules/twilio/services/send-conversation-message.service.js.map +1 -0
- package/dist/modules/twilio/services/send-sms.service.d.ts.map +1 -1
- package/dist/modules/twilio/services/send-verification.service.d.ts +8 -0
- package/dist/modules/twilio/services/send-verification.service.d.ts.map +1 -0
- package/dist/modules/twilio/services/send-verification.service.js +64 -0
- package/dist/modules/twilio/services/send-verification.service.js.map +1 -0
- package/dist/modules/twilio/services/update-call.service.d.ts +8 -0
- package/dist/modules/twilio/services/update-call.service.d.ts.map +1 -0
- package/dist/modules/twilio/services/update-call.service.js +62 -0
- package/dist/modules/twilio/services/update-call.service.js.map +1 -0
- package/dist/modules/twilio/services/update-message.service.d.ts +8 -0
- package/dist/modules/twilio/services/update-message.service.d.ts.map +1 -0
- package/dist/modules/twilio/services/update-message.service.js +54 -0
- package/dist/modules/twilio/services/update-message.service.js.map +1 -0
- package/dist/modules/twilio/services/verify-code.service.d.ts +8 -0
- package/dist/modules/twilio/services/verify-code.service.d.ts.map +1 -0
- package/dist/modules/twilio/services/verify-code.service.js +62 -0
- package/dist/modules/twilio/services/verify-code.service.js.map +1 -0
- package/dist/modules/twilio/twilio-nest.module.d.ts.map +1 -1
- package/dist/modules/twilio/twilio-nest.module.js +51 -3
- package/dist/modules/twilio/twilio-nest.module.js.map +1 -1
- package/dist/modules/twilio/twilio.module.d.ts.map +1 -1
- package/dist/modules/twilio/twilio.module.js +24 -2
- package/dist/modules/twilio/twilio.module.js.map +1 -1
- package/dist/modules/types.d.ts +3 -1
- package/dist/modules/types.d.ts.map +1 -1
- package/dist/modules/types.js.map +1 -1
- package/dist/modules/webhook/controllers/index.d.ts +2 -0
- package/dist/modules/webhook/controllers/index.d.ts.map +1 -0
- package/dist/modules/webhook/controllers/index.js +18 -0
- package/dist/modules/webhook/controllers/index.js.map +1 -0
- package/dist/modules/webhook/controllers/webhook-receiver.controller.d.ts +12 -0
- package/dist/modules/webhook/controllers/webhook-receiver.controller.d.ts.map +1 -0
- package/dist/modules/webhook/controllers/webhook-receiver.controller.js +122 -0
- package/dist/modules/webhook/controllers/webhook-receiver.controller.js.map +1 -0
- package/dist/modules/webhook/credentials.d.ts +3 -0
- package/dist/modules/webhook/credentials.d.ts.map +1 -0
- package/dist/modules/webhook/credentials.js +5 -0
- package/dist/modules/webhook/credentials.js.map +1 -0
- package/dist/modules/webhook/services/index.d.ts +2 -0
- package/dist/modules/webhook/services/index.d.ts.map +1 -0
- package/dist/modules/webhook/services/index.js +18 -0
- package/dist/modules/webhook/services/index.js.map +1 -0
- package/dist/modules/webhook/services/webhook-received.service.d.ts +10 -0
- package/dist/modules/webhook/services/webhook-received.service.d.ts.map +1 -0
- package/dist/modules/webhook/services/webhook-received.service.js +94 -0
- package/dist/modules/webhook/services/webhook-received.service.js.map +1 -0
- package/dist/modules/webhook/triggers/index.d.ts +2 -0
- package/dist/modules/webhook/triggers/index.d.ts.map +1 -0
- package/dist/modules/webhook/triggers/index.js +18 -0
- package/dist/modules/webhook/triggers/index.js.map +1 -0
- package/dist/modules/webhook/triggers/webhook-received.trigger.d.ts +3 -0
- package/dist/modules/webhook/triggers/webhook-received.trigger.d.ts.map +1 -0
- package/dist/modules/webhook/triggers/webhook-received.trigger.js +78 -0
- package/dist/modules/webhook/triggers/webhook-received.trigger.js.map +1 -0
- package/dist/modules/webhook/webhook-nest.module.d.ts +3 -0
- package/dist/modules/webhook/webhook-nest.module.d.ts.map +1 -0
- package/dist/modules/webhook/webhook-nest.module.js +32 -0
- package/dist/modules/webhook/webhook-nest.module.js.map +1 -0
- package/dist/modules/webhook/webhook.module.d.ts +3 -0
- package/dist/modules/webhook/webhook.module.d.ts.map +1 -0
- package/dist/modules/webhook/webhook.module.js +16 -0
- package/dist/modules/webhook/webhook.module.js.map +1 -0
- package/dist/services/workflow-execution.service.d.ts +14 -1
- package/dist/services/workflow-execution.service.d.ts.map +1 -1
- package/dist/services/workflow-execution.service.js +319 -2
- package/dist/services/workflow-execution.service.js.map +1 -1
- package/dist/services/workflow-webhook.service.d.ts +13 -0
- package/dist/services/workflow-webhook.service.d.ts.map +1 -0
- package/dist/services/workflow-webhook.service.js +72 -0
- package/dist/services/workflow-webhook.service.js.map +1 -0
- package/dist/workflow-core.module.d.ts.map +1 -1
- package/dist/workflow-core.module.js +5 -0
- package/dist/workflow-core.module.js.map +1 -1
- package/dist/workflow.module.d.ts.map +1 -1
- package/dist/workflow.module.js +3 -0
- package/dist/workflow.module.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createConversationAction = void 0;
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
|
+
const create_conversation_service_1 = require("../services/create-conversation.service");
|
|
6
|
+
exports.createConversationAction = {
|
|
7
|
+
key: 'create-conversation',
|
|
8
|
+
name: 'Create Conversation',
|
|
9
|
+
description: 'Create a new Twilio conversation',
|
|
10
|
+
category: types_1.NODE_CATEGORY.ACTION,
|
|
11
|
+
icon: '💬',
|
|
12
|
+
serviceClass: create_conversation_service_1.CreateConversationService,
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
id: 'friendlyName',
|
|
16
|
+
name: 'Friendly Name',
|
|
17
|
+
description: 'A human-readable name for the conversation',
|
|
18
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
19
|
+
validation: {
|
|
20
|
+
required: false,
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
id: 'uniqueName',
|
|
25
|
+
name: 'Unique Name',
|
|
26
|
+
description: 'A unique identifier for the conversation',
|
|
27
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
28
|
+
validation: {
|
|
29
|
+
required: false,
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
id: 'attributes',
|
|
34
|
+
name: 'Attributes',
|
|
35
|
+
description: 'JSON string of custom attributes',
|
|
36
|
+
type: types_1.FIELD_TYPE.JSON,
|
|
37
|
+
validation: {
|
|
38
|
+
required: false,
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
id: 'state',
|
|
43
|
+
name: 'State',
|
|
44
|
+
description: 'Conversation state',
|
|
45
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
46
|
+
validation: {
|
|
47
|
+
required: false,
|
|
48
|
+
enum: ['inactive', 'active', 'closed'],
|
|
49
|
+
},
|
|
50
|
+
options: [
|
|
51
|
+
{ label: 'Inactive', value: 'inactive' },
|
|
52
|
+
{ label: 'Active', value: 'active' },
|
|
53
|
+
{ label: 'Closed', value: 'closed' },
|
|
54
|
+
],
|
|
55
|
+
defaultValue: 'active',
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
outputs: [
|
|
59
|
+
{
|
|
60
|
+
id: 'conversationSid',
|
|
61
|
+
name: 'Conversation SID',
|
|
62
|
+
description: 'Twilio conversation SID',
|
|
63
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
id: 'friendlyName',
|
|
67
|
+
name: 'Friendly Name',
|
|
68
|
+
description: 'Conversation friendly name',
|
|
69
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
id: 'state',
|
|
73
|
+
name: 'State',
|
|
74
|
+
description: 'Conversation state',
|
|
75
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
};
|
|
79
|
+
//# sourceMappingURL=create-conversation.action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-conversation.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/create-conversation.action.ts"],"names":[],"mappings":";;;AAAA,uCAAuG;AACvG,yFAAoF;AAEvE,QAAA,wBAAwB,GAA0B;IAC7D,GAAG,EAAE,qBAAqB;IAC1B,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE,kCAAkC;IAC/C,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,uDAA+E;IAC7F,MAAM,EAAE;QACN;YACE,EAAE,EAAE,cAAc;YAClB,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,4CAA4C;YACzD,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;SACF;QACD;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,0CAA0C;YACvD,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;SACF;QACD;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,kBAAU,CAAC,IAAI;YACrB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;SACF;QACD;YACE,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,oBAAoB;YACjC,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,UAAU,EAAE,QAAQ,EAAE,QAAQ,CAAC;aACvC;YACD,OAAO,EAAE;gBACP,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;gBACxC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;gBACpC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;aACrC;YACD,YAAY,EAAE,QAAQ;SACvB;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,iBAAiB;YACrB,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,cAAc;YAClB,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,oBAAoB;YACjC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-video-room.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/create-video-room.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGvG,eAAO,MAAM,qBAAqB,EAAE,qBAkFnC,CAAC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createVideoRoomAction = void 0;
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
|
+
const create_video_room_service_1 = require("../services/create-video-room.service");
|
|
6
|
+
exports.createVideoRoomAction = {
|
|
7
|
+
key: 'create-video-room',
|
|
8
|
+
name: 'Create Video Room',
|
|
9
|
+
description: 'Create a Twilio Video room',
|
|
10
|
+
category: types_1.NODE_CATEGORY.ACTION,
|
|
11
|
+
icon: '🎥',
|
|
12
|
+
serviceClass: create_video_room_service_1.CreateVideoRoomService,
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
id: 'uniqueName',
|
|
16
|
+
name: 'Unique Name',
|
|
17
|
+
description: 'A unique identifier for the room',
|
|
18
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
19
|
+
validation: {
|
|
20
|
+
required: false,
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
id: 'type',
|
|
25
|
+
name: 'Room Type',
|
|
26
|
+
description: 'Type of room',
|
|
27
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
28
|
+
validation: {
|
|
29
|
+
required: false,
|
|
30
|
+
enum: ['go', 'peer-to-peer', 'group', 'group-small'],
|
|
31
|
+
},
|
|
32
|
+
options: [
|
|
33
|
+
{ label: 'Go', value: 'go' },
|
|
34
|
+
{ label: 'Peer-to-Peer', value: 'peer-to-peer' },
|
|
35
|
+
{ label: 'Group', value: 'group' },
|
|
36
|
+
{ label: 'Group Small', value: 'group-small' },
|
|
37
|
+
],
|
|
38
|
+
defaultValue: 'group',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
id: 'maxParticipants',
|
|
42
|
+
name: 'Max Participants',
|
|
43
|
+
description: 'Maximum number of participants',
|
|
44
|
+
type: types_1.FIELD_TYPE.NUMBER,
|
|
45
|
+
validation: {
|
|
46
|
+
required: false,
|
|
47
|
+
min: 2,
|
|
48
|
+
max: 50,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
id: 'recordParticipantsOnConnect',
|
|
53
|
+
name: 'Record on Connect',
|
|
54
|
+
description: 'Whether to record participants when they connect',
|
|
55
|
+
type: types_1.FIELD_TYPE.BOOLEAN,
|
|
56
|
+
validation: {
|
|
57
|
+
required: false,
|
|
58
|
+
},
|
|
59
|
+
defaultValue: false,
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
outputs: [
|
|
63
|
+
{
|
|
64
|
+
id: 'roomSid',
|
|
65
|
+
name: 'Room SID',
|
|
66
|
+
description: 'Twilio room SID',
|
|
67
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
id: 'uniqueName',
|
|
71
|
+
name: 'Unique Name',
|
|
72
|
+
description: 'Room unique name',
|
|
73
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
id: 'status',
|
|
77
|
+
name: 'Status',
|
|
78
|
+
description: 'Room status',
|
|
79
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
id: 'type',
|
|
83
|
+
name: 'Type',
|
|
84
|
+
description: 'Room type',
|
|
85
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
86
|
+
},
|
|
87
|
+
],
|
|
88
|
+
};
|
|
89
|
+
//# sourceMappingURL=create-video-room.action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-video-room.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/create-video-room.action.ts"],"names":[],"mappings":";;;AAAA,uCAAuG;AACvG,qFAA+E;AAElE,QAAA,qBAAqB,GAA0B;IAC1D,GAAG,EAAE,mBAAmB;IACxB,IAAI,EAAE,mBAAmB;IACzB,WAAW,EAAE,4BAA4B;IACzC,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,kDAA4E;IAC1F,MAAM,EAAE;QACN;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;SACF;QACD;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,IAAI,EAAE,cAAc,EAAE,OAAO,EAAE,aAAa,CAAC;aACrD;YACD,OAAO,EAAE;gBACP,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE;gBAC5B,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;gBAChD,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;gBAClC,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;aAC/C;YACD,YAAY,EAAE,OAAO;SACtB;QACD;YACE,EAAE,EAAE,iBAAiB;YACrB,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;gBACf,GAAG,EAAE,CAAC;gBACN,GAAG,EAAE,EAAE;aACR;SACF;QACD;YACE,EAAE,EAAE,6BAA6B;YACjC,IAAI,EAAE,mBAAmB;YACzB,WAAW,EAAE,kDAAkD;YAC/D,IAAI,EAAE,kBAAU,CAAC,OAAO;YACxB,UAAU,EAAE;gBACV,QAAQ,EAAE,KAAK;aAChB;YACD,YAAY,EAAE,KAAK;SACpB;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iBAAiB;YAC9B,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-call.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/delete-call.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGvG,eAAO,MAAM,gBAAgB,EAAE,qBAiC9B,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deleteCallAction = void 0;
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
|
+
const delete_call_service_1 = require("../services/delete-call.service");
|
|
6
|
+
exports.deleteCallAction = {
|
|
7
|
+
key: 'delete-call',
|
|
8
|
+
name: 'Delete Call',
|
|
9
|
+
description: 'Delete a call by SID',
|
|
10
|
+
category: types_1.NODE_CATEGORY.ACTION,
|
|
11
|
+
icon: '🗑️',
|
|
12
|
+
serviceClass: delete_call_service_1.DeleteCallService,
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
id: 'callSid',
|
|
16
|
+
name: 'Call SID',
|
|
17
|
+
description: 'The SID of the call to delete',
|
|
18
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
19
|
+
validation: {
|
|
20
|
+
required: true,
|
|
21
|
+
},
|
|
22
|
+
placeholder: 'CA...',
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
outputs: [
|
|
26
|
+
{
|
|
27
|
+
id: 'callSid',
|
|
28
|
+
name: 'Call SID',
|
|
29
|
+
description: 'The deleted call SID',
|
|
30
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
id: 'deleted',
|
|
34
|
+
name: 'Deleted',
|
|
35
|
+
description: 'Whether the call was deleted',
|
|
36
|
+
type: types_1.FIELD_TYPE.BOOLEAN,
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=delete-call.action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-call.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/delete-call.action.ts"],"names":[],"mappings":";;;AAAA,uCAAuG;AACvG,yEAAoE;AAEvD,QAAA,gBAAgB,GAA0B;IACrD,GAAG,EAAE,aAAa;IAClB,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,sBAAsB;IACnC,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,KAAK;IACX,YAAY,EAAE,uCAAuE;IACrF,MAAM,EAAE;QACN;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,OAAO;SACrB;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,kBAAU,CAAC,OAAO;SACzB;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-message.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/delete-message.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGvG,eAAO,MAAM,mBAAmB,EAAE,qBAiCjC,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deleteMessageAction = void 0;
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
|
+
const delete_message_service_1 = require("../services/delete-message.service");
|
|
6
|
+
exports.deleteMessageAction = {
|
|
7
|
+
key: 'delete-message',
|
|
8
|
+
name: 'Delete Message',
|
|
9
|
+
description: 'Delete a message by SID',
|
|
10
|
+
category: types_1.NODE_CATEGORY.ACTION,
|
|
11
|
+
icon: '🗑️',
|
|
12
|
+
serviceClass: delete_message_service_1.DeleteMessageService,
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
id: 'messageSid',
|
|
16
|
+
name: 'Message SID',
|
|
17
|
+
description: 'The SID of the message to delete',
|
|
18
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
19
|
+
validation: {
|
|
20
|
+
required: true,
|
|
21
|
+
},
|
|
22
|
+
placeholder: 'SM...',
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
outputs: [
|
|
26
|
+
{
|
|
27
|
+
id: 'messageSid',
|
|
28
|
+
name: 'Message SID',
|
|
29
|
+
description: 'The deleted message SID',
|
|
30
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
id: 'deleted',
|
|
34
|
+
name: 'Deleted',
|
|
35
|
+
description: 'Whether the message was deleted',
|
|
36
|
+
type: types_1.FIELD_TYPE.BOOLEAN,
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=delete-message.action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-message.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/delete-message.action.ts"],"names":[],"mappings":";;;AAAA,uCAAuG;AACvG,+EAA0E;AAE7D,QAAA,mBAAmB,GAA0B;IACxD,GAAG,EAAE,gBAAgB;IACrB,IAAI,EAAE,gBAAgB;IACtB,WAAW,EAAE,yBAAyB;IACtC,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,KAAK;IACX,YAAY,EAAE,6CAA0E;IACxF,MAAM,EAAE;QACN;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,OAAO;SACrB;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,kBAAU,CAAC,OAAO;SACzB;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-call-recordings.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/fetch-call-recordings.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGvG,eAAO,MAAM,yBAAyB,EAAE,qBAuCvC,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fetchCallRecordingsAction = void 0;
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
|
+
const fetch_call_recordings_service_1 = require("../services/fetch-call-recordings.service");
|
|
6
|
+
exports.fetchCallRecordingsAction = {
|
|
7
|
+
key: 'fetch-call-recordings',
|
|
8
|
+
name: 'Fetch Call Recordings',
|
|
9
|
+
description: 'Fetch recordings for a specific call',
|
|
10
|
+
category: types_1.NODE_CATEGORY.ACTION,
|
|
11
|
+
icon: '🎙️',
|
|
12
|
+
serviceClass: fetch_call_recordings_service_1.FetchCallRecordingsService,
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
id: 'callSid',
|
|
16
|
+
name: 'Call SID',
|
|
17
|
+
description: 'The SID of the call',
|
|
18
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
19
|
+
validation: {
|
|
20
|
+
required: true,
|
|
21
|
+
},
|
|
22
|
+
placeholder: 'CA...',
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
outputs: [
|
|
26
|
+
{
|
|
27
|
+
id: 'callSid',
|
|
28
|
+
name: 'Call SID',
|
|
29
|
+
description: 'Call SID',
|
|
30
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
id: 'recordings',
|
|
34
|
+
name: 'Recordings',
|
|
35
|
+
description: 'Array of recording objects',
|
|
36
|
+
type: types_1.FIELD_TYPE.ARRAY,
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
id: 'count',
|
|
40
|
+
name: 'Count',
|
|
41
|
+
description: 'Number of recordings',
|
|
42
|
+
type: types_1.FIELD_TYPE.NUMBER,
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=fetch-call-recordings.action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-call-recordings.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/fetch-call-recordings.action.ts"],"names":[],"mappings":";;;AAAA,uCAAuG;AACvG,6FAAuF;AAE1E,QAAA,yBAAyB,GAA0B;IAC9D,GAAG,EAAE,uBAAuB;IAC5B,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EAAE,sCAAsC;IACnD,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,KAAK;IACX,YAAY,EAAE,0DAAgF;IAC9F,MAAM,EAAE;QACN;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,OAAO;SACrB;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,kBAAU,CAAC,KAAK;SACvB;QACD;YACE,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-call.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/fetch-call.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGvG,eAAO,MAAM,eAAe,EAAE,qBA6C7B,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fetchCallAction = void 0;
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
|
+
const fetch_call_service_1 = require("../services/fetch-call.service");
|
|
6
|
+
exports.fetchCallAction = {
|
|
7
|
+
key: 'fetch-call',
|
|
8
|
+
name: 'Fetch Call',
|
|
9
|
+
description: 'Fetch a specific call by SID',
|
|
10
|
+
category: types_1.NODE_CATEGORY.ACTION,
|
|
11
|
+
icon: '🔍',
|
|
12
|
+
serviceClass: fetch_call_service_1.FetchCallService,
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
id: 'callSid',
|
|
16
|
+
name: 'Call SID',
|
|
17
|
+
description: 'The SID of the call to fetch',
|
|
18
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
19
|
+
validation: {
|
|
20
|
+
required: true,
|
|
21
|
+
},
|
|
22
|
+
placeholder: 'CA...',
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
outputs: [
|
|
26
|
+
{
|
|
27
|
+
id: 'callSid',
|
|
28
|
+
name: 'Call SID',
|
|
29
|
+
description: 'Twilio call SID',
|
|
30
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
id: 'status',
|
|
34
|
+
name: 'Status',
|
|
35
|
+
description: 'Call status',
|
|
36
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
id: 'duration',
|
|
40
|
+
name: 'Duration',
|
|
41
|
+
description: 'Call duration in seconds',
|
|
42
|
+
type: types_1.FIELD_TYPE.NUMBER,
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
id: 'price',
|
|
46
|
+
name: 'Price',
|
|
47
|
+
description: 'Call price',
|
|
48
|
+
type: types_1.FIELD_TYPE.NUMBER,
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=fetch-call.action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-call.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/fetch-call.action.ts"],"names":[],"mappings":";;;AAAA,uCAAuG;AACvG,uEAAkE;AAErD,QAAA,eAAe,GAA0B;IACpD,GAAG,EAAE,YAAY;IACjB,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,8BAA8B;IAC3C,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,qCAAsE;IACpF,MAAM,EAAE;QACN;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,OAAO;SACrB;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iBAAiB;YAC9B,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,UAAU;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,YAAY;YACzB,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-message.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/fetch-message.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGvG,eAAO,MAAM,kBAAkB,EAAE,qBAmDhC,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fetchMessageAction = void 0;
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
|
+
const fetch_message_service_1 = require("../services/fetch-message.service");
|
|
6
|
+
exports.fetchMessageAction = {
|
|
7
|
+
key: 'fetch-message',
|
|
8
|
+
name: 'Fetch Message',
|
|
9
|
+
description: 'Fetch a specific message by SID',
|
|
10
|
+
category: types_1.NODE_CATEGORY.ACTION,
|
|
11
|
+
icon: '🔍',
|
|
12
|
+
serviceClass: fetch_message_service_1.FetchMessageService,
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
id: 'messageSid',
|
|
16
|
+
name: 'Message SID',
|
|
17
|
+
description: 'The SID of the message to fetch',
|
|
18
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
19
|
+
validation: {
|
|
20
|
+
required: true,
|
|
21
|
+
},
|
|
22
|
+
placeholder: 'SM...',
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
outputs: [
|
|
26
|
+
{
|
|
27
|
+
id: 'messageSid',
|
|
28
|
+
name: 'Message SID',
|
|
29
|
+
description: 'Twilio message SID',
|
|
30
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
id: 'status',
|
|
34
|
+
name: 'Status',
|
|
35
|
+
description: 'Message delivery status',
|
|
36
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
id: 'to',
|
|
40
|
+
name: 'To',
|
|
41
|
+
description: 'Recipient phone number',
|
|
42
|
+
type: types_1.FIELD_TYPE.PHONE,
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
id: 'from',
|
|
46
|
+
name: 'From',
|
|
47
|
+
description: 'Sender phone number',
|
|
48
|
+
type: types_1.FIELD_TYPE.PHONE,
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
id: 'body',
|
|
52
|
+
name: 'Body',
|
|
53
|
+
description: 'Message body',
|
|
54
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=fetch-message.action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-message.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/fetch-message.action.ts"],"names":[],"mappings":";;;AAAA,uCAAuG;AACvG,6EAAwE;AAE3D,QAAA,kBAAkB,GAA0B;IACvD,GAAG,EAAE,eAAe;IACpB,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,iCAAiC;IAC9C,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,2CAAyE;IACvF,MAAM,EAAE;QACN;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,OAAO;SACrB;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,oBAAoB;YACjC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,IAAI;YACR,IAAI,EAAE,IAAI;YACV,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,kBAAU,CAAC,KAAK;SACvB;QACD;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,kBAAU,CAAC,KAAK;SACvB;QACD;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-verification.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/fetch-verification.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGvG,eAAO,MAAM,uBAAuB,EAAE,qBAuDrC,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fetchVerificationAction = void 0;
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
|
+
const fetch_verification_service_1 = require("../services/fetch-verification.service");
|
|
6
|
+
exports.fetchVerificationAction = {
|
|
7
|
+
key: 'fetch-verification',
|
|
8
|
+
name: 'Fetch Verification',
|
|
9
|
+
description: 'Fetch a verification by SID',
|
|
10
|
+
category: types_1.NODE_CATEGORY.ACTION,
|
|
11
|
+
icon: '🔍',
|
|
12
|
+
serviceClass: fetch_verification_service_1.FetchVerificationService,
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
id: 'serviceSid',
|
|
16
|
+
name: 'Verify Service SID',
|
|
17
|
+
description: 'Twilio Verify Service SID',
|
|
18
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
19
|
+
validation: {
|
|
20
|
+
required: true,
|
|
21
|
+
},
|
|
22
|
+
placeholder: 'VA...',
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
id: 'verificationSid',
|
|
26
|
+
name: 'Verification SID',
|
|
27
|
+
description: 'The SID of the verification to fetch',
|
|
28
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
29
|
+
validation: {
|
|
30
|
+
required: true,
|
|
31
|
+
},
|
|
32
|
+
placeholder: 'VE...',
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
outputs: [
|
|
36
|
+
{
|
|
37
|
+
id: 'verificationSid',
|
|
38
|
+
name: 'Verification SID',
|
|
39
|
+
description: 'Twilio verification SID',
|
|
40
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
id: 'status',
|
|
44
|
+
name: 'Status',
|
|
45
|
+
description: 'Verification status',
|
|
46
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
id: 'to',
|
|
50
|
+
name: 'To',
|
|
51
|
+
description: 'Recipient phone number or email',
|
|
52
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
id: 'channel',
|
|
56
|
+
name: 'Channel',
|
|
57
|
+
description: 'Channel used',
|
|
58
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
59
|
+
},
|
|
60
|
+
],
|
|
61
|
+
};
|
|
62
|
+
//# sourceMappingURL=fetch-verification.action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-verification.action.js","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/fetch-verification.action.ts"],"names":[],"mappings":";;;AAAA,uCAAuG;AACvG,uFAAkF;AAErE,QAAA,uBAAuB,GAA0B;IAC5D,GAAG,EAAE,oBAAoB;IACzB,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE,6BAA6B;IAC1C,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,qDAA8E;IAC5F,MAAM,EAAE;QACN;YACE,EAAE,EAAE,YAAY;YAChB,IAAI,EAAE,oBAAoB;YAC1B,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,OAAO;SACrB;QACD;YACE,EAAE,EAAE,iBAAiB;YACrB,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,OAAO;SACrB;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,iBAAiB;YACrB,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,IAAI;YACR,IAAI,EAAE,IAAI;YACV,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-twiml-dial.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/twilio/actions/generate-twiml-dial.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGvG,eAAO,MAAM,uBAAuB,EAAE,qBAiErC,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.generateTwiMLDialAction = void 0;
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
|
+
const generate_twiml_dial_service_1 = require("../services/generate-twiml-dial.service");
|
|
6
|
+
exports.generateTwiMLDialAction = {
|
|
7
|
+
key: 'generate-twiml-dial',
|
|
8
|
+
name: 'Generate TwiML Dial',
|
|
9
|
+
description: 'Generate TwiML with a Dial verb',
|
|
10
|
+
category: types_1.NODE_CATEGORY.ACTION,
|
|
11
|
+
icon: '📞',
|
|
12
|
+
serviceClass: generate_twiml_dial_service_1.GenerateTwiMLDialService,
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
id: 'number',
|
|
16
|
+
name: 'Phone Number',
|
|
17
|
+
description: 'Phone number to dial (E.164 format)',
|
|
18
|
+
type: types_1.FIELD_TYPE.PHONE,
|
|
19
|
+
validation: {
|
|
20
|
+
required: true,
|
|
21
|
+
pattern: '^\\+[1-9]\\d{1,14}$',
|
|
22
|
+
},
|
|
23
|
+
placeholder: '+1234567890',
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
id: 'callerId',
|
|
27
|
+
name: 'Caller ID',
|
|
28
|
+
description: 'Caller ID to display (optional)',
|
|
29
|
+
type: types_1.FIELD_TYPE.PHONE,
|
|
30
|
+
validation: {
|
|
31
|
+
required: false,
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
id: 'timeout',
|
|
36
|
+
name: 'Timeout',
|
|
37
|
+
description: 'Call timeout in seconds',
|
|
38
|
+
type: types_1.FIELD_TYPE.NUMBER,
|
|
39
|
+
validation: {
|
|
40
|
+
required: false,
|
|
41
|
+
min: 1,
|
|
42
|
+
max: 600,
|
|
43
|
+
},
|
|
44
|
+
defaultValue: 30,
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
id: 'record',
|
|
48
|
+
name: 'Record',
|
|
49
|
+
description: 'Whether to record the call',
|
|
50
|
+
type: types_1.FIELD_TYPE.BOOLEAN,
|
|
51
|
+
validation: {
|
|
52
|
+
required: false,
|
|
53
|
+
},
|
|
54
|
+
defaultValue: false,
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
outputs: [
|
|
58
|
+
{
|
|
59
|
+
id: 'twiml',
|
|
60
|
+
name: 'TwiML',
|
|
61
|
+
description: 'Generated TwiML XML',
|
|
62
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
id: 'number',
|
|
66
|
+
name: 'Number',
|
|
67
|
+
description: 'Phone number dialed',
|
|
68
|
+
type: types_1.FIELD_TYPE.PHONE,
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
};
|
|
72
|
+
//# sourceMappingURL=generate-twiml-dial.action.js.map
|