@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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/catalog",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.88.1",
|
|
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
|
{
|
|
@@ -293,6 +310,58 @@ export const openaiService = defineApiKeyService({
|
|
|
293
310
|
placeholder: "sk-...",
|
|
294
311
|
})
|
|
295
312
|
|
|
313
|
+
export const onePasswordService = defineIntegrationService({
|
|
314
|
+
connectionMethods: [
|
|
315
|
+
{
|
|
316
|
+
credentialUrl: "https://www.1password.dev/service-accounts/get-started",
|
|
317
|
+
fields: [
|
|
318
|
+
{
|
|
319
|
+
description:
|
|
320
|
+
"Create an immutable service account with access to only the vaults and Environments this automation needs.",
|
|
321
|
+
input: "password",
|
|
322
|
+
label: "Service account token",
|
|
323
|
+
name: "serviceAccountToken",
|
|
324
|
+
placeholder: "ops_...",
|
|
325
|
+
required: true,
|
|
326
|
+
},
|
|
327
|
+
],
|
|
328
|
+
id: "service-account",
|
|
329
|
+
name: "Service account",
|
|
330
|
+
type: "form",
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
credentialUrl: "https://www.1password.dev/events-api/get-started",
|
|
334
|
+
fields: [
|
|
335
|
+
{
|
|
336
|
+
default: "https://events.1password.com",
|
|
337
|
+
description:
|
|
338
|
+
"Use the Events API URL shown by 1Password for your account region.",
|
|
339
|
+
input: "url",
|
|
340
|
+
label: "Events API URL",
|
|
341
|
+
name: "baseUrl",
|
|
342
|
+
placeholder: "https://events.1password.com",
|
|
343
|
+
required: true,
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
input: "password",
|
|
347
|
+
label: "Events API bearer token",
|
|
348
|
+
name: "bearerToken",
|
|
349
|
+
placeholder: "Paste the Events Reporting token",
|
|
350
|
+
required: true,
|
|
351
|
+
},
|
|
352
|
+
],
|
|
353
|
+
id: "events-api-token",
|
|
354
|
+
name: "Events API token",
|
|
355
|
+
type: "form",
|
|
356
|
+
},
|
|
357
|
+
],
|
|
358
|
+
description:
|
|
359
|
+
"Connect a 1Password service account for secrets automation or an Events API token for account activity.",
|
|
360
|
+
id: "1password",
|
|
361
|
+
name: "1Password",
|
|
362
|
+
preferredConnectionMethodId: "service-account",
|
|
363
|
+
})
|
|
364
|
+
|
|
296
365
|
export const openrouterService = defineApiKeyService({
|
|
297
366
|
description: "Connect an OpenRouter API key.",
|
|
298
367
|
id: "openrouter",
|
|
@@ -461,6 +530,7 @@ export const integrationCatalog = defineIntegrationCatalog([
|
|
|
461
530
|
cerebrasService,
|
|
462
531
|
chatgptService,
|
|
463
532
|
cloudflareService,
|
|
533
|
+
closeService,
|
|
464
534
|
codexService,
|
|
465
535
|
cohereService,
|
|
466
536
|
convexService,
|
|
@@ -478,6 +548,7 @@ export const integrationCatalog = defineIntegrationCatalog([
|
|
|
478
548
|
millionverifierService,
|
|
479
549
|
mistralService,
|
|
480
550
|
openaiService,
|
|
551
|
+
onePasswordService,
|
|
481
552
|
openrouterService,
|
|
482
553
|
perplexityService,
|
|
483
554
|
postgresService,
|
package/src/index.ts
CHANGED
|
@@ -7,6 +7,7 @@ export {
|
|
|
7
7
|
cerebrasService,
|
|
8
8
|
chatgptService,
|
|
9
9
|
cloudflareService,
|
|
10
|
+
closeService,
|
|
10
11
|
codexService,
|
|
11
12
|
cohereService,
|
|
12
13
|
convexService,
|
|
@@ -26,6 +27,7 @@ export {
|
|
|
26
27
|
millionverifierService,
|
|
27
28
|
mistralService,
|
|
28
29
|
openaiService,
|
|
30
|
+
onePasswordService,
|
|
29
31
|
openrouterService,
|
|
30
32
|
perplexityService,
|
|
31
33
|
postgresService,
|
|
@@ -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,
|