@automate.ax/catalog 0.87.7 → 0.88.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/dist/catalog.d.ts +124 -0
- package/dist/catalog.js +66 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/triggers/close.d.ts +344 -0
- package/dist/triggers/close.js +113 -0
- package/dist/triggers/index.d.ts +684 -0
- package/dist/triggers/index.js +2 -0
- package/package.json +7 -1
- package/src/catalog.ts +71 -0
- package/src/index.ts +2 -0
- package/src/triggers/close.ts +116 -0
- package/src/triggers/index.ts +2 -0
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
const CLOSE_ACCOUNT = {
|
|
2
|
+
connectionOptions: [{ requiredScopes: [] }],
|
|
3
|
+
serviceId: "close",
|
|
4
|
+
};
|
|
5
|
+
export const closeTriggerDefinitions = {
|
|
6
|
+
closeCallAnswered: { account: CLOSE_ACCOUNT, type: "close.call.answered" },
|
|
7
|
+
closeCallCompleted: { account: CLOSE_ACCOUNT, type: "close.call.completed" },
|
|
8
|
+
closeCommentCreated: {
|
|
9
|
+
account: CLOSE_ACCOUNT,
|
|
10
|
+
type: "close.comment.created",
|
|
11
|
+
},
|
|
12
|
+
closeCommentDeleted: {
|
|
13
|
+
account: CLOSE_ACCOUNT,
|
|
14
|
+
type: "close.comment.deleted",
|
|
15
|
+
},
|
|
16
|
+
closeCommentUpdated: {
|
|
17
|
+
account: CLOSE_ACCOUNT,
|
|
18
|
+
type: "close.comment.updated",
|
|
19
|
+
},
|
|
20
|
+
closeContactCreated: {
|
|
21
|
+
account: CLOSE_ACCOUNT,
|
|
22
|
+
type: "close.contact.created",
|
|
23
|
+
},
|
|
24
|
+
closeContactDeleted: {
|
|
25
|
+
account: CLOSE_ACCOUNT,
|
|
26
|
+
type: "close.contact.deleted",
|
|
27
|
+
},
|
|
28
|
+
closeContactUpdated: {
|
|
29
|
+
account: CLOSE_ACCOUNT,
|
|
30
|
+
type: "close.contact.updated",
|
|
31
|
+
},
|
|
32
|
+
closeEmailReceived: { account: CLOSE_ACCOUNT, type: "close.email.received" },
|
|
33
|
+
closeEmailSent: { account: CLOSE_ACCOUNT, type: "close.email.sent" },
|
|
34
|
+
closeEvent: { account: CLOSE_ACCOUNT, type: "close.event" },
|
|
35
|
+
closeLeadCreated: { account: CLOSE_ACCOUNT, type: "close.lead.created" },
|
|
36
|
+
closeLeadDeleted: { account: CLOSE_ACCOUNT, type: "close.lead.deleted" },
|
|
37
|
+
closeLeadMerged: { account: CLOSE_ACCOUNT, type: "close.lead.merged" },
|
|
38
|
+
closeLeadUpdated: { account: CLOSE_ACCOUNT, type: "close.lead.updated" },
|
|
39
|
+
closeMeetingCanceled: {
|
|
40
|
+
account: CLOSE_ACCOUNT,
|
|
41
|
+
type: "close.meeting.canceled",
|
|
42
|
+
},
|
|
43
|
+
closeMeetingCompleted: {
|
|
44
|
+
account: CLOSE_ACCOUNT,
|
|
45
|
+
type: "close.meeting.completed",
|
|
46
|
+
},
|
|
47
|
+
closeMeetingScheduled: {
|
|
48
|
+
account: CLOSE_ACCOUNT,
|
|
49
|
+
type: "close.meeting.scheduled",
|
|
50
|
+
},
|
|
51
|
+
closeMeetingStarted: {
|
|
52
|
+
account: CLOSE_ACCOUNT,
|
|
53
|
+
type: "close.meeting.started",
|
|
54
|
+
},
|
|
55
|
+
closeOpportunityCreated: {
|
|
56
|
+
account: CLOSE_ACCOUNT,
|
|
57
|
+
type: "close.opportunity.created",
|
|
58
|
+
},
|
|
59
|
+
closeOpportunityDeleted: {
|
|
60
|
+
account: CLOSE_ACCOUNT,
|
|
61
|
+
type: "close.opportunity.deleted",
|
|
62
|
+
},
|
|
63
|
+
closeOpportunityLost: {
|
|
64
|
+
account: CLOSE_ACCOUNT,
|
|
65
|
+
type: "close.opportunity.lost",
|
|
66
|
+
},
|
|
67
|
+
closeOpportunityUpdated: {
|
|
68
|
+
account: CLOSE_ACCOUNT,
|
|
69
|
+
type: "close.opportunity.updated",
|
|
70
|
+
},
|
|
71
|
+
closeOpportunityWon: {
|
|
72
|
+
account: CLOSE_ACCOUNT,
|
|
73
|
+
type: "close.opportunity.won",
|
|
74
|
+
},
|
|
75
|
+
closeSequenceSubscriptionCreated: {
|
|
76
|
+
account: CLOSE_ACCOUNT,
|
|
77
|
+
type: "close.sequenceSubscription.created",
|
|
78
|
+
},
|
|
79
|
+
closeSequenceSubscriptionDeleted: {
|
|
80
|
+
account: CLOSE_ACCOUNT,
|
|
81
|
+
type: "close.sequenceSubscription.deleted",
|
|
82
|
+
},
|
|
83
|
+
closeSequenceSubscriptionErrored: {
|
|
84
|
+
account: CLOSE_ACCOUNT,
|
|
85
|
+
type: "close.sequenceSubscription.errored",
|
|
86
|
+
},
|
|
87
|
+
closeSequenceSubscriptionFinished: {
|
|
88
|
+
account: CLOSE_ACCOUNT,
|
|
89
|
+
type: "close.sequenceSubscription.finished",
|
|
90
|
+
},
|
|
91
|
+
closeSequenceSubscriptionGoalReached: {
|
|
92
|
+
account: CLOSE_ACCOUNT,
|
|
93
|
+
type: "close.sequenceSubscription.goalReached",
|
|
94
|
+
},
|
|
95
|
+
closeSequenceSubscriptionPaused: {
|
|
96
|
+
account: CLOSE_ACCOUNT,
|
|
97
|
+
type: "close.sequenceSubscription.paused",
|
|
98
|
+
},
|
|
99
|
+
closeSequenceSubscriptionResumed: {
|
|
100
|
+
account: CLOSE_ACCOUNT,
|
|
101
|
+
type: "close.sequenceSubscription.resumed",
|
|
102
|
+
},
|
|
103
|
+
closeSequenceSubscriptionUpdated: {
|
|
104
|
+
account: CLOSE_ACCOUNT,
|
|
105
|
+
type: "close.sequenceSubscription.updated",
|
|
106
|
+
},
|
|
107
|
+
closeSmsReceived: { account: CLOSE_ACCOUNT, type: "close.sms.received" },
|
|
108
|
+
closeSmsSent: { account: CLOSE_ACCOUNT, type: "close.sms.sent" },
|
|
109
|
+
closeTaskCompleted: { account: CLOSE_ACCOUNT, type: "close.task.completed" },
|
|
110
|
+
closeTaskCreated: { account: CLOSE_ACCOUNT, type: "close.task.created" },
|
|
111
|
+
closeTaskDeleted: { account: CLOSE_ACCOUNT, type: "close.task.deleted" },
|
|
112
|
+
closeTaskUpdated: { account: CLOSE_ACCOUNT, type: "close.task.updated" },
|
|
113
|
+
};
|