@automate.ax/catalog 0.87.7 → 0.88.0
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 +45 -0
- package/dist/catalog.js +17 -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 +18 -0
- package/src/index.ts +1 -0
- package/src/triggers/close.ts +116 -0
- package/src/triggers/index.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/catalog",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.88.0",
|
|
4
4
|
"description": "Shared integration service and trigger definitions for Automate.ax.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"./triggers/asana": "./src/triggers/asana.ts",
|
|
25
25
|
"./triggers/brevo": "./src/triggers/brevo.ts",
|
|
26
26
|
"./triggers/convex": "./src/triggers/convex.ts",
|
|
27
|
+
"./triggers/close": "./src/triggers/close.ts",
|
|
27
28
|
"./triggers/core-dashboard": "./src/triggers/core-dashboard.ts",
|
|
28
29
|
"./triggers/core-http": "./src/triggers/core-http.ts",
|
|
29
30
|
"./triggers/core-invocation": "./src/triggers/core-invocation.ts",
|
|
@@ -109,6 +110,11 @@
|
|
|
109
110
|
"types": "./dist/triggers/convex.d.ts",
|
|
110
111
|
"default": "./dist/triggers/convex.js"
|
|
111
112
|
},
|
|
113
|
+
"./triggers/close": {
|
|
114
|
+
"bun": "./src/triggers/close.ts",
|
|
115
|
+
"types": "./dist/triggers/close.d.ts",
|
|
116
|
+
"default": "./dist/triggers/close.js"
|
|
117
|
+
},
|
|
112
118
|
"./triggers/core-dashboard": {
|
|
113
119
|
"bun": "./src/triggers/core-dashboard.ts",
|
|
114
120
|
"types": "./dist/triggers/core-dashboard.d.ts",
|
package/src/catalog.ts
CHANGED
|
@@ -82,6 +82,23 @@ export const cloudflareService = defineIntegrationService({
|
|
|
82
82
|
preferredConnectionMethodId: "oauth",
|
|
83
83
|
})
|
|
84
84
|
|
|
85
|
+
export const closeService = defineIntegrationService({
|
|
86
|
+
connectionMethods: [
|
|
87
|
+
{ id: "oauth", name: "OAuth", type: "redirect" },
|
|
88
|
+
{
|
|
89
|
+
credentialUrl: "https://app.close.com/settings/developer/api-keys",
|
|
90
|
+
fields: [{ ...API_KEY_FIELD, placeholder: "Close API key" }],
|
|
91
|
+
id: "api-key",
|
|
92
|
+
name: "API key",
|
|
93
|
+
type: "form",
|
|
94
|
+
},
|
|
95
|
+
],
|
|
96
|
+
description: "Connect a Close CRM account with OAuth or an API key.",
|
|
97
|
+
id: "close",
|
|
98
|
+
name: "Close",
|
|
99
|
+
preferredConnectionMethodId: "oauth",
|
|
100
|
+
})
|
|
101
|
+
|
|
85
102
|
export const chatgptService = defineIntegrationService({
|
|
86
103
|
connectionMethods: [
|
|
87
104
|
{
|
|
@@ -461,6 +478,7 @@ export const integrationCatalog = defineIntegrationCatalog([
|
|
|
461
478
|
cerebrasService,
|
|
462
479
|
chatgptService,
|
|
463
480
|
cloudflareService,
|
|
481
|
+
closeService,
|
|
464
482
|
codexService,
|
|
465
483
|
cohereService,
|
|
466
484
|
convexService,
|
package/src/index.ts
CHANGED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import type { IntegrationAccountRequirement, TriggerDefinition } from "../types"
|
|
2
|
+
|
|
3
|
+
const CLOSE_ACCOUNT = {
|
|
4
|
+
connectionOptions: [{ requiredScopes: [] }],
|
|
5
|
+
serviceId: "close",
|
|
6
|
+
} as const satisfies IntegrationAccountRequirement
|
|
7
|
+
|
|
8
|
+
export const closeTriggerDefinitions = {
|
|
9
|
+
closeCallAnswered: { account: CLOSE_ACCOUNT, type: "close.call.answered" },
|
|
10
|
+
closeCallCompleted: { account: CLOSE_ACCOUNT, type: "close.call.completed" },
|
|
11
|
+
closeCommentCreated: {
|
|
12
|
+
account: CLOSE_ACCOUNT,
|
|
13
|
+
type: "close.comment.created",
|
|
14
|
+
},
|
|
15
|
+
closeCommentDeleted: {
|
|
16
|
+
account: CLOSE_ACCOUNT,
|
|
17
|
+
type: "close.comment.deleted",
|
|
18
|
+
},
|
|
19
|
+
closeCommentUpdated: {
|
|
20
|
+
account: CLOSE_ACCOUNT,
|
|
21
|
+
type: "close.comment.updated",
|
|
22
|
+
},
|
|
23
|
+
closeContactCreated: {
|
|
24
|
+
account: CLOSE_ACCOUNT,
|
|
25
|
+
type: "close.contact.created",
|
|
26
|
+
},
|
|
27
|
+
closeContactDeleted: {
|
|
28
|
+
account: CLOSE_ACCOUNT,
|
|
29
|
+
type: "close.contact.deleted",
|
|
30
|
+
},
|
|
31
|
+
closeContactUpdated: {
|
|
32
|
+
account: CLOSE_ACCOUNT,
|
|
33
|
+
type: "close.contact.updated",
|
|
34
|
+
},
|
|
35
|
+
closeEmailReceived: { account: CLOSE_ACCOUNT, type: "close.email.received" },
|
|
36
|
+
closeEmailSent: { account: CLOSE_ACCOUNT, type: "close.email.sent" },
|
|
37
|
+
closeEvent: { account: CLOSE_ACCOUNT, type: "close.event" },
|
|
38
|
+
closeLeadCreated: { account: CLOSE_ACCOUNT, type: "close.lead.created" },
|
|
39
|
+
closeLeadDeleted: { account: CLOSE_ACCOUNT, type: "close.lead.deleted" },
|
|
40
|
+
closeLeadMerged: { account: CLOSE_ACCOUNT, type: "close.lead.merged" },
|
|
41
|
+
closeLeadUpdated: { account: CLOSE_ACCOUNT, type: "close.lead.updated" },
|
|
42
|
+
closeMeetingCanceled: {
|
|
43
|
+
account: CLOSE_ACCOUNT,
|
|
44
|
+
type: "close.meeting.canceled",
|
|
45
|
+
},
|
|
46
|
+
closeMeetingCompleted: {
|
|
47
|
+
account: CLOSE_ACCOUNT,
|
|
48
|
+
type: "close.meeting.completed",
|
|
49
|
+
},
|
|
50
|
+
closeMeetingScheduled: {
|
|
51
|
+
account: CLOSE_ACCOUNT,
|
|
52
|
+
type: "close.meeting.scheduled",
|
|
53
|
+
},
|
|
54
|
+
closeMeetingStarted: {
|
|
55
|
+
account: CLOSE_ACCOUNT,
|
|
56
|
+
type: "close.meeting.started",
|
|
57
|
+
},
|
|
58
|
+
closeOpportunityCreated: {
|
|
59
|
+
account: CLOSE_ACCOUNT,
|
|
60
|
+
type: "close.opportunity.created",
|
|
61
|
+
},
|
|
62
|
+
closeOpportunityDeleted: {
|
|
63
|
+
account: CLOSE_ACCOUNT,
|
|
64
|
+
type: "close.opportunity.deleted",
|
|
65
|
+
},
|
|
66
|
+
closeOpportunityLost: {
|
|
67
|
+
account: CLOSE_ACCOUNT,
|
|
68
|
+
type: "close.opportunity.lost",
|
|
69
|
+
},
|
|
70
|
+
closeOpportunityUpdated: {
|
|
71
|
+
account: CLOSE_ACCOUNT,
|
|
72
|
+
type: "close.opportunity.updated",
|
|
73
|
+
},
|
|
74
|
+
closeOpportunityWon: {
|
|
75
|
+
account: CLOSE_ACCOUNT,
|
|
76
|
+
type: "close.opportunity.won",
|
|
77
|
+
},
|
|
78
|
+
closeSequenceSubscriptionCreated: {
|
|
79
|
+
account: CLOSE_ACCOUNT,
|
|
80
|
+
type: "close.sequenceSubscription.created",
|
|
81
|
+
},
|
|
82
|
+
closeSequenceSubscriptionDeleted: {
|
|
83
|
+
account: CLOSE_ACCOUNT,
|
|
84
|
+
type: "close.sequenceSubscription.deleted",
|
|
85
|
+
},
|
|
86
|
+
closeSequenceSubscriptionErrored: {
|
|
87
|
+
account: CLOSE_ACCOUNT,
|
|
88
|
+
type: "close.sequenceSubscription.errored",
|
|
89
|
+
},
|
|
90
|
+
closeSequenceSubscriptionFinished: {
|
|
91
|
+
account: CLOSE_ACCOUNT,
|
|
92
|
+
type: "close.sequenceSubscription.finished",
|
|
93
|
+
},
|
|
94
|
+
closeSequenceSubscriptionGoalReached: {
|
|
95
|
+
account: CLOSE_ACCOUNT,
|
|
96
|
+
type: "close.sequenceSubscription.goalReached",
|
|
97
|
+
},
|
|
98
|
+
closeSequenceSubscriptionPaused: {
|
|
99
|
+
account: CLOSE_ACCOUNT,
|
|
100
|
+
type: "close.sequenceSubscription.paused",
|
|
101
|
+
},
|
|
102
|
+
closeSequenceSubscriptionResumed: {
|
|
103
|
+
account: CLOSE_ACCOUNT,
|
|
104
|
+
type: "close.sequenceSubscription.resumed",
|
|
105
|
+
},
|
|
106
|
+
closeSequenceSubscriptionUpdated: {
|
|
107
|
+
account: CLOSE_ACCOUNT,
|
|
108
|
+
type: "close.sequenceSubscription.updated",
|
|
109
|
+
},
|
|
110
|
+
closeSmsReceived: { account: CLOSE_ACCOUNT, type: "close.sms.received" },
|
|
111
|
+
closeSmsSent: { account: CLOSE_ACCOUNT, type: "close.sms.sent" },
|
|
112
|
+
closeTaskCompleted: { account: CLOSE_ACCOUNT, type: "close.task.completed" },
|
|
113
|
+
closeTaskCreated: { account: CLOSE_ACCOUNT, type: "close.task.created" },
|
|
114
|
+
closeTaskDeleted: { account: CLOSE_ACCOUNT, type: "close.task.deleted" },
|
|
115
|
+
closeTaskUpdated: { account: CLOSE_ACCOUNT, type: "close.task.updated" },
|
|
116
|
+
} as const satisfies Record<string, TriggerDefinition>
|
package/src/triggers/index.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { airtableTriggerDefinitions } from "./airtable"
|
|
|
2
2
|
import { asanaTriggerDefinitions } from "./asana"
|
|
3
3
|
import { brevoTriggerDefinitions } from "./brevo"
|
|
4
4
|
import { convexTriggerDefinitions } from "./convex"
|
|
5
|
+
import { closeTriggerDefinitions } from "./close"
|
|
5
6
|
import { coreTriggerDefinitions } from "./core"
|
|
6
7
|
import { githubTriggerDefinitions } from "./github"
|
|
7
8
|
import { googleTriggerDefinitions } from "./google"
|
|
@@ -47,6 +48,7 @@ export const triggerDefinitions = {
|
|
|
47
48
|
...asanaTriggerDefinitions,
|
|
48
49
|
...brevoTriggerDefinitions,
|
|
49
50
|
...convexTriggerDefinitions,
|
|
51
|
+
...closeTriggerDefinitions,
|
|
50
52
|
...coreTriggerDefinitions,
|
|
51
53
|
...githubTriggerDefinitions,
|
|
52
54
|
...googleTriggerDefinitions,
|