@automate.ax/catalog 0.144.2 → 0.145.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 +35 -0
- package/dist/catalog.js +23 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/triggers/calcom.d.ts +292 -0
- package/dist/triggers/calcom.js +43 -0
- package/dist/triggers/index.d.ts +580 -0
- package/dist/triggers/index.js +2 -0
- package/package.json +7 -1
- package/src/catalog.ts +24 -0
- package/src/index.ts +1 -0
- package/src/triggers/calcom.ts +61 -0
- package/src/triggers/index.ts +2 -0
package/dist/catalog.d.ts
CHANGED
|
@@ -995,6 +995,24 @@ export declare const tidycalService: {
|
|
|
995
995
|
readonly name: "TidyCal";
|
|
996
996
|
readonly preferredConnectionMethodId: "oauth";
|
|
997
997
|
};
|
|
998
|
+
export declare const calcomService: {
|
|
999
|
+
readonly connectionMethods: readonly [{
|
|
1000
|
+
readonly credentialUrl: "https://app.cal.com/settings/developer/api-keys";
|
|
1001
|
+
readonly fields: readonly [{
|
|
1002
|
+
readonly input: "password";
|
|
1003
|
+
readonly label: "API key";
|
|
1004
|
+
readonly name: "apiKey";
|
|
1005
|
+
readonly placeholder: "cal_... or cal_live_...";
|
|
1006
|
+
readonly required: true;
|
|
1007
|
+
}];
|
|
1008
|
+
readonly id: "api-key";
|
|
1009
|
+
readonly name: "API key";
|
|
1010
|
+
readonly type: "form";
|
|
1011
|
+
}];
|
|
1012
|
+
readonly description: "Connect Cal.com with an API key.";
|
|
1013
|
+
readonly id: "calcom";
|
|
1014
|
+
readonly name: "Cal.com";
|
|
1015
|
+
};
|
|
998
1016
|
export declare const togetheraiService: {
|
|
999
1017
|
readonly id: "togetherai";
|
|
1000
1018
|
readonly name: string;
|
|
@@ -1298,6 +1316,23 @@ export declare const integrationCatalog: readonly [{
|
|
|
1298
1316
|
readonly type: "form";
|
|
1299
1317
|
readonly credentialUrl?: string | undefined;
|
|
1300
1318
|
}];
|
|
1319
|
+
}, {
|
|
1320
|
+
readonly connectionMethods: readonly [{
|
|
1321
|
+
readonly credentialUrl: "https://app.cal.com/settings/developer/api-keys";
|
|
1322
|
+
readonly fields: readonly [{
|
|
1323
|
+
readonly input: "password";
|
|
1324
|
+
readonly label: "API key";
|
|
1325
|
+
readonly name: "apiKey";
|
|
1326
|
+
readonly placeholder: "cal_... or cal_live_...";
|
|
1327
|
+
readonly required: true;
|
|
1328
|
+
}];
|
|
1329
|
+
readonly id: "api-key";
|
|
1330
|
+
readonly name: "API key";
|
|
1331
|
+
readonly type: "form";
|
|
1332
|
+
}];
|
|
1333
|
+
readonly description: "Connect Cal.com with an API key.";
|
|
1334
|
+
readonly id: "calcom";
|
|
1335
|
+
readonly name: "Cal.com";
|
|
1301
1336
|
}, {
|
|
1302
1337
|
readonly id: "cerebras";
|
|
1303
1338
|
readonly name: string;
|
package/dist/catalog.js
CHANGED
|
@@ -727,6 +727,28 @@ export const tidycalService = defineIntegrationService({
|
|
|
727
727
|
name: "TidyCal",
|
|
728
728
|
preferredConnectionMethodId: "oauth",
|
|
729
729
|
});
|
|
730
|
+
export const calcomService = defineIntegrationService({
|
|
731
|
+
connectionMethods: [
|
|
732
|
+
{
|
|
733
|
+
credentialUrl: "https://app.cal.com/settings/developer/api-keys",
|
|
734
|
+
fields: [
|
|
735
|
+
{
|
|
736
|
+
input: "password",
|
|
737
|
+
label: "API key",
|
|
738
|
+
name: "apiKey",
|
|
739
|
+
placeholder: "cal_... or cal_live_...",
|
|
740
|
+
required: true,
|
|
741
|
+
},
|
|
742
|
+
],
|
|
743
|
+
id: "api-key",
|
|
744
|
+
name: "API key",
|
|
745
|
+
type: "form",
|
|
746
|
+
},
|
|
747
|
+
],
|
|
748
|
+
description: "Connect Cal.com with an API key.",
|
|
749
|
+
id: "calcom",
|
|
750
|
+
name: "Cal.com",
|
|
751
|
+
});
|
|
730
752
|
export const togetheraiService = defineApiKeyService({
|
|
731
753
|
description: "Connect a Together AI API key.",
|
|
732
754
|
id: "togetherai",
|
|
@@ -798,6 +820,7 @@ export const integrationCatalog = defineIntegrationCatalog([
|
|
|
798
820
|
axiomService,
|
|
799
821
|
brevoService,
|
|
800
822
|
browserbaseService,
|
|
823
|
+
calcomService,
|
|
801
824
|
cerebrasService,
|
|
802
825
|
chatgptService,
|
|
803
826
|
cloudflareService,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { airtableService, anthropicService, apolloService, apifyService, asanaService, calendlyService, automateService, axiomService, brevoService, browserbaseService, cerebrasService, chatgptService, cloudflareService, metaAdsService, closeService, closeBotService, clickUpService, codexService, cohereService, convexService, discordService, deepinfraService, deepseekService, firecrawlService, fireworksService, getIntegrationService, githubService, googleGenaiService, googleService, groqService, huggingfaceService, hubspotService, integrationCatalog, jobNimbusService, linearService, microsoftService, millionverifierService, mistralService, notionService, openaiService, onePasswordService, openrouterService, perplexityService, postgresService, redditService, resendService, scrapflyService, slackService, stripeService, tidycalService, togetheraiService, trelloService, vercelAiGatewayService, vercelService, webflowService, whatsappService, xaiService, type IntegrationServiceId, } from "./catalog.js";
|
|
1
|
+
export { airtableService, anthropicService, apolloService, apifyService, asanaService, calendlyService, automateService, axiomService, brevoService, calcomService, browserbaseService, cerebrasService, chatgptService, cloudflareService, metaAdsService, closeService, closeBotService, clickUpService, codexService, cohereService, convexService, discordService, deepinfraService, deepseekService, firecrawlService, fireworksService, getIntegrationService, githubService, googleGenaiService, googleService, groqService, huggingfaceService, hubspotService, integrationCatalog, jobNimbusService, linearService, microsoftService, millionverifierService, mistralService, notionService, openaiService, onePasswordService, openrouterService, perplexityService, postgresService, redditService, resendService, scrapflyService, slackService, stripeService, tidycalService, togetheraiService, trelloService, vercelAiGatewayService, vercelService, webflowService, whatsappService, xaiService, type IntegrationServiceId, } from "./catalog.js";
|
|
2
2
|
export { defineIntegrationCatalog, defineIntegrationService, integrationScope, type IntegrationAccountConnectionOption, type IntegrationAccountRequirement, type IntegrationConnectionDefinition, type IntegrationConnectionNotice, type IntegrationFormField, type IntegrationScopeRequirement, type IntegrationServiceDefinition, type ScopeRequirementGroup, type TriggerAccountRequirement, type TriggerDefinition, type TriggerPresentation, type TriggerPresentationContext, type TriggerPresentationDetail, type TriggerScopePresentation, type TriggerPresentationValue, } from "./types.js";
|
|
3
3
|
export { getDashboardRunEndpoint, getDashboardRunEndpointKey, getHttpTriggerEndpoint, getHttpTriggerEndpointKey, getMailhookAddress, getMailhookAddressKey, DASHBOARD_RUN_CONFIG_SCHEMA, DASHBOARD_RUN_FIELDS_SCHEMA, getDashboardRunFieldDefaultValue, isDashboardRunFieldValueValid, getTriggerDefinition, getTriggerName, getTriggerPresentation, isTriggerVisible, PLATFORM_EMAIL_DOMAIN, triggerCatalog, triggerDefinitions, type DashboardRunConfig, type DashboardRunEndpointOptions, type DashboardRunField, type DashboardRunFieldValue, type HttpTriggerEndpointOptions, type HttpTriggerScope, type MailhookAddressOptions, type MailhookScope, type TriggerType, } from "./triggers/index.js";
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { airtableService, anthropicService, apolloService, apifyService, asanaService, calendlyService, automateService, axiomService, brevoService, browserbaseService, cerebrasService, chatgptService, cloudflareService, metaAdsService, closeService, closeBotService, clickUpService, codexService, cohereService, convexService, discordService, deepinfraService, deepseekService, firecrawlService, fireworksService, getIntegrationService, githubService, googleGenaiService, googleService, groqService, huggingfaceService, hubspotService, integrationCatalog, jobNimbusService, linearService, microsoftService, millionverifierService, mistralService, notionService, openaiService, onePasswordService, openrouterService, perplexityService, postgresService, redditService, resendService, scrapflyService, slackService, stripeService, tidycalService, togetheraiService, trelloService, vercelAiGatewayService, vercelService, webflowService, whatsappService, xaiService, } from "./catalog.js";
|
|
1
|
+
export { airtableService, anthropicService, apolloService, apifyService, asanaService, calendlyService, automateService, axiomService, brevoService, calcomService, browserbaseService, cerebrasService, chatgptService, cloudflareService, metaAdsService, closeService, closeBotService, clickUpService, codexService, cohereService, convexService, discordService, deepinfraService, deepseekService, firecrawlService, fireworksService, getIntegrationService, githubService, googleGenaiService, googleService, groqService, huggingfaceService, hubspotService, integrationCatalog, jobNimbusService, linearService, microsoftService, millionverifierService, mistralService, notionService, openaiService, onePasswordService, openrouterService, perplexityService, postgresService, redditService, resendService, scrapflyService, slackService, stripeService, tidycalService, togetheraiService, trelloService, vercelAiGatewayService, vercelService, webflowService, whatsappService, xaiService, } from "./catalog.js";
|
|
2
2
|
export { defineIntegrationCatalog, defineIntegrationService, integrationScope, } from "./types.js";
|
|
3
3
|
export { getDashboardRunEndpoint, getDashboardRunEndpointKey, getHttpTriggerEndpoint, getHttpTriggerEndpointKey, getMailhookAddress, getMailhookAddressKey, DASHBOARD_RUN_CONFIG_SCHEMA, DASHBOARD_RUN_FIELDS_SCHEMA, getDashboardRunFieldDefaultValue, isDashboardRunFieldValueValid, getTriggerDefinition, getTriggerName, getTriggerPresentation, isTriggerVisible, PLATFORM_EMAIL_DOMAIN, triggerCatalog, triggerDefinitions, } from "./triggers/index.js";
|
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
export declare const calcomTriggerDefinitions: {
|
|
2
|
+
readonly calcomAfterGuestsCalVideoNoShow: {
|
|
3
|
+
readonly account: {
|
|
4
|
+
readonly connectionOptions: readonly [{
|
|
5
|
+
readonly connectionMethodId: "api-key";
|
|
6
|
+
readonly requiredScopes: readonly [];
|
|
7
|
+
}];
|
|
8
|
+
readonly serviceId: "calcom";
|
|
9
|
+
};
|
|
10
|
+
readonly type: "calcom.afterGuestsCalVideoNoShow";
|
|
11
|
+
};
|
|
12
|
+
readonly calcomAfterHostsCalVideoNoShow: {
|
|
13
|
+
readonly account: {
|
|
14
|
+
readonly connectionOptions: readonly [{
|
|
15
|
+
readonly connectionMethodId: "api-key";
|
|
16
|
+
readonly requiredScopes: readonly [];
|
|
17
|
+
}];
|
|
18
|
+
readonly serviceId: "calcom";
|
|
19
|
+
};
|
|
20
|
+
readonly type: "calcom.afterHostsCalVideoNoShow";
|
|
21
|
+
};
|
|
22
|
+
readonly calcomBookingCancelled: {
|
|
23
|
+
readonly account: {
|
|
24
|
+
readonly connectionOptions: readonly [{
|
|
25
|
+
readonly connectionMethodId: "api-key";
|
|
26
|
+
readonly requiredScopes: readonly [];
|
|
27
|
+
}];
|
|
28
|
+
readonly serviceId: "calcom";
|
|
29
|
+
};
|
|
30
|
+
readonly type: "calcom.booking.cancelled";
|
|
31
|
+
};
|
|
32
|
+
readonly calcomBookingCreated: {
|
|
33
|
+
readonly account: {
|
|
34
|
+
readonly connectionOptions: readonly [{
|
|
35
|
+
readonly connectionMethodId: "api-key";
|
|
36
|
+
readonly requiredScopes: readonly [];
|
|
37
|
+
}];
|
|
38
|
+
readonly serviceId: "calcom";
|
|
39
|
+
};
|
|
40
|
+
readonly type: "calcom.booking.created";
|
|
41
|
+
};
|
|
42
|
+
readonly calcomBookingLocationUpdated: {
|
|
43
|
+
readonly account: {
|
|
44
|
+
readonly connectionOptions: readonly [{
|
|
45
|
+
readonly connectionMethodId: "api-key";
|
|
46
|
+
readonly requiredScopes: readonly [];
|
|
47
|
+
}];
|
|
48
|
+
readonly serviceId: "calcom";
|
|
49
|
+
};
|
|
50
|
+
readonly type: "calcom.booking.locationUpdated";
|
|
51
|
+
};
|
|
52
|
+
readonly calcomBookingNoShowUpdated: {
|
|
53
|
+
readonly account: {
|
|
54
|
+
readonly connectionOptions: readonly [{
|
|
55
|
+
readonly connectionMethodId: "api-key";
|
|
56
|
+
readonly requiredScopes: readonly [];
|
|
57
|
+
}];
|
|
58
|
+
readonly serviceId: "calcom";
|
|
59
|
+
};
|
|
60
|
+
readonly type: "calcom.booking.noShowUpdated";
|
|
61
|
+
};
|
|
62
|
+
readonly calcomBookingPaid: {
|
|
63
|
+
readonly account: {
|
|
64
|
+
readonly connectionOptions: readonly [{
|
|
65
|
+
readonly connectionMethodId: "api-key";
|
|
66
|
+
readonly requiredScopes: readonly [];
|
|
67
|
+
}];
|
|
68
|
+
readonly serviceId: "calcom";
|
|
69
|
+
};
|
|
70
|
+
readonly type: "calcom.booking.paid";
|
|
71
|
+
};
|
|
72
|
+
readonly calcomBookingPaymentInitiated: {
|
|
73
|
+
readonly account: {
|
|
74
|
+
readonly connectionOptions: readonly [{
|
|
75
|
+
readonly connectionMethodId: "api-key";
|
|
76
|
+
readonly requiredScopes: readonly [];
|
|
77
|
+
}];
|
|
78
|
+
readonly serviceId: "calcom";
|
|
79
|
+
};
|
|
80
|
+
readonly type: "calcom.booking.paymentInitiated";
|
|
81
|
+
};
|
|
82
|
+
readonly calcomBookingReassigned: {
|
|
83
|
+
readonly account: {
|
|
84
|
+
readonly connectionOptions: readonly [{
|
|
85
|
+
readonly connectionMethodId: "api-key";
|
|
86
|
+
readonly requiredScopes: readonly [];
|
|
87
|
+
}];
|
|
88
|
+
readonly serviceId: "calcom";
|
|
89
|
+
};
|
|
90
|
+
readonly type: "calcom.booking.reassigned";
|
|
91
|
+
};
|
|
92
|
+
readonly calcomBookingRejected: {
|
|
93
|
+
readonly account: {
|
|
94
|
+
readonly connectionOptions: readonly [{
|
|
95
|
+
readonly connectionMethodId: "api-key";
|
|
96
|
+
readonly requiredScopes: readonly [];
|
|
97
|
+
}];
|
|
98
|
+
readonly serviceId: "calcom";
|
|
99
|
+
};
|
|
100
|
+
readonly type: "calcom.booking.rejected";
|
|
101
|
+
};
|
|
102
|
+
readonly calcomBookingRequested: {
|
|
103
|
+
readonly account: {
|
|
104
|
+
readonly connectionOptions: readonly [{
|
|
105
|
+
readonly connectionMethodId: "api-key";
|
|
106
|
+
readonly requiredScopes: readonly [];
|
|
107
|
+
}];
|
|
108
|
+
readonly serviceId: "calcom";
|
|
109
|
+
};
|
|
110
|
+
readonly type: "calcom.booking.requested";
|
|
111
|
+
};
|
|
112
|
+
readonly calcomBookingRescheduled: {
|
|
113
|
+
readonly account: {
|
|
114
|
+
readonly connectionOptions: readonly [{
|
|
115
|
+
readonly connectionMethodId: "api-key";
|
|
116
|
+
readonly requiredScopes: readonly [];
|
|
117
|
+
}];
|
|
118
|
+
readonly serviceId: "calcom";
|
|
119
|
+
};
|
|
120
|
+
readonly type: "calcom.booking.rescheduled";
|
|
121
|
+
};
|
|
122
|
+
readonly calcomCalendarEntryRejected: {
|
|
123
|
+
readonly account: {
|
|
124
|
+
readonly connectionOptions: readonly [{
|
|
125
|
+
readonly connectionMethodId: "api-key";
|
|
126
|
+
readonly requiredScopes: readonly [];
|
|
127
|
+
}];
|
|
128
|
+
readonly serviceId: "calcom";
|
|
129
|
+
};
|
|
130
|
+
readonly type: "calcom.calendarEntryRejected";
|
|
131
|
+
};
|
|
132
|
+
readonly calcomDelegationCredentialError: {
|
|
133
|
+
readonly account: {
|
|
134
|
+
readonly connectionOptions: readonly [{
|
|
135
|
+
readonly connectionMethodId: "api-key";
|
|
136
|
+
readonly requiredScopes: readonly [];
|
|
137
|
+
}];
|
|
138
|
+
readonly serviceId: "calcom";
|
|
139
|
+
};
|
|
140
|
+
readonly type: "calcom.delegationCredential.error";
|
|
141
|
+
};
|
|
142
|
+
readonly calcomDelegationCredentialRotationRequired: {
|
|
143
|
+
readonly account: {
|
|
144
|
+
readonly connectionOptions: readonly [{
|
|
145
|
+
readonly connectionMethodId: "api-key";
|
|
146
|
+
readonly requiredScopes: readonly [];
|
|
147
|
+
}];
|
|
148
|
+
readonly serviceId: "calcom";
|
|
149
|
+
};
|
|
150
|
+
readonly type: "calcom.delegationCredential.rotationRequired";
|
|
151
|
+
};
|
|
152
|
+
readonly calcomDelegationCredentialSecretRotated: {
|
|
153
|
+
readonly account: {
|
|
154
|
+
readonly connectionOptions: readonly [{
|
|
155
|
+
readonly connectionMethodId: "api-key";
|
|
156
|
+
readonly requiredScopes: readonly [];
|
|
157
|
+
}];
|
|
158
|
+
readonly serviceId: "calcom";
|
|
159
|
+
};
|
|
160
|
+
readonly type: "calcom.delegationCredential.secretRotated";
|
|
161
|
+
};
|
|
162
|
+
readonly calcomDelegationCredentialSecretRotationFailed: {
|
|
163
|
+
readonly account: {
|
|
164
|
+
readonly connectionOptions: readonly [{
|
|
165
|
+
readonly connectionMethodId: "api-key";
|
|
166
|
+
readonly requiredScopes: readonly [];
|
|
167
|
+
}];
|
|
168
|
+
readonly serviceId: "calcom";
|
|
169
|
+
};
|
|
170
|
+
readonly type: "calcom.delegationCredential.secretRotationFailed";
|
|
171
|
+
};
|
|
172
|
+
readonly calcomEvent: {
|
|
173
|
+
readonly account: {
|
|
174
|
+
readonly connectionOptions: readonly [{
|
|
175
|
+
readonly connectionMethodId: "api-key";
|
|
176
|
+
readonly requiredScopes: readonly [];
|
|
177
|
+
}];
|
|
178
|
+
readonly serviceId: "calcom";
|
|
179
|
+
};
|
|
180
|
+
readonly type: "calcom.event";
|
|
181
|
+
};
|
|
182
|
+
readonly calcomFormSubmitted: {
|
|
183
|
+
readonly account: {
|
|
184
|
+
readonly connectionOptions: readonly [{
|
|
185
|
+
readonly connectionMethodId: "api-key";
|
|
186
|
+
readonly requiredScopes: readonly [];
|
|
187
|
+
}];
|
|
188
|
+
readonly serviceId: "calcom";
|
|
189
|
+
};
|
|
190
|
+
readonly type: "calcom.form.submitted";
|
|
191
|
+
};
|
|
192
|
+
readonly calcomFormSubmittedWithoutEvent: {
|
|
193
|
+
readonly account: {
|
|
194
|
+
readonly connectionOptions: readonly [{
|
|
195
|
+
readonly connectionMethodId: "api-key";
|
|
196
|
+
readonly requiredScopes: readonly [];
|
|
197
|
+
}];
|
|
198
|
+
readonly serviceId: "calcom";
|
|
199
|
+
};
|
|
200
|
+
readonly type: "calcom.form.submittedWithoutEvent";
|
|
201
|
+
};
|
|
202
|
+
readonly calcomInstantMeetingAccepted: {
|
|
203
|
+
readonly account: {
|
|
204
|
+
readonly connectionOptions: readonly [{
|
|
205
|
+
readonly connectionMethodId: "api-key";
|
|
206
|
+
readonly requiredScopes: readonly [];
|
|
207
|
+
}];
|
|
208
|
+
readonly serviceId: "calcom";
|
|
209
|
+
};
|
|
210
|
+
readonly type: "calcom.instantMeeting.accepted";
|
|
211
|
+
};
|
|
212
|
+
readonly calcomInstantMeetingCreated: {
|
|
213
|
+
readonly account: {
|
|
214
|
+
readonly connectionOptions: readonly [{
|
|
215
|
+
readonly connectionMethodId: "api-key";
|
|
216
|
+
readonly requiredScopes: readonly [];
|
|
217
|
+
}];
|
|
218
|
+
readonly serviceId: "calcom";
|
|
219
|
+
};
|
|
220
|
+
readonly type: "calcom.instantMeeting.created";
|
|
221
|
+
};
|
|
222
|
+
readonly calcomMeetingEnded: {
|
|
223
|
+
readonly account: {
|
|
224
|
+
readonly connectionOptions: readonly [{
|
|
225
|
+
readonly connectionMethodId: "api-key";
|
|
226
|
+
readonly requiredScopes: readonly [];
|
|
227
|
+
}];
|
|
228
|
+
readonly serviceId: "calcom";
|
|
229
|
+
};
|
|
230
|
+
readonly type: "calcom.meeting.ended";
|
|
231
|
+
};
|
|
232
|
+
readonly calcomMeetingStarted: {
|
|
233
|
+
readonly account: {
|
|
234
|
+
readonly connectionOptions: readonly [{
|
|
235
|
+
readonly connectionMethodId: "api-key";
|
|
236
|
+
readonly requiredScopes: readonly [];
|
|
237
|
+
}];
|
|
238
|
+
readonly serviceId: "calcom";
|
|
239
|
+
};
|
|
240
|
+
readonly type: "calcom.meeting.started";
|
|
241
|
+
};
|
|
242
|
+
readonly calcomOutOfOfficeCreated: {
|
|
243
|
+
readonly account: {
|
|
244
|
+
readonly connectionOptions: readonly [{
|
|
245
|
+
readonly connectionMethodId: "api-key";
|
|
246
|
+
readonly requiredScopes: readonly [];
|
|
247
|
+
}];
|
|
248
|
+
readonly serviceId: "calcom";
|
|
249
|
+
};
|
|
250
|
+
readonly type: "calcom.outOfOffice.created";
|
|
251
|
+
};
|
|
252
|
+
readonly calcomRecordingReady: {
|
|
253
|
+
readonly account: {
|
|
254
|
+
readonly connectionOptions: readonly [{
|
|
255
|
+
readonly connectionMethodId: "api-key";
|
|
256
|
+
readonly requiredScopes: readonly [];
|
|
257
|
+
}];
|
|
258
|
+
readonly serviceId: "calcom";
|
|
259
|
+
};
|
|
260
|
+
readonly type: "calcom.recording.ready";
|
|
261
|
+
};
|
|
262
|
+
readonly calcomRecordingTranscriptionGenerated: {
|
|
263
|
+
readonly account: {
|
|
264
|
+
readonly connectionOptions: readonly [{
|
|
265
|
+
readonly connectionMethodId: "api-key";
|
|
266
|
+
readonly requiredScopes: readonly [];
|
|
267
|
+
}];
|
|
268
|
+
readonly serviceId: "calcom";
|
|
269
|
+
};
|
|
270
|
+
readonly type: "calcom.recording.transcriptionGenerated";
|
|
271
|
+
};
|
|
272
|
+
readonly calcomRoutingFormFallbackHit: {
|
|
273
|
+
readonly account: {
|
|
274
|
+
readonly connectionOptions: readonly [{
|
|
275
|
+
readonly connectionMethodId: "api-key";
|
|
276
|
+
readonly requiredScopes: readonly [];
|
|
277
|
+
}];
|
|
278
|
+
readonly serviceId: "calcom";
|
|
279
|
+
};
|
|
280
|
+
readonly type: "calcom.routingForm.fallbackHit";
|
|
281
|
+
};
|
|
282
|
+
readonly calcomWrongAssignmentReported: {
|
|
283
|
+
readonly account: {
|
|
284
|
+
readonly connectionOptions: readonly [{
|
|
285
|
+
readonly connectionMethodId: "api-key";
|
|
286
|
+
readonly requiredScopes: readonly [];
|
|
287
|
+
}];
|
|
288
|
+
readonly serviceId: "calcom";
|
|
289
|
+
};
|
|
290
|
+
readonly type: "calcom.wrongAssignmentReported";
|
|
291
|
+
};
|
|
292
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
const CALCOM_ACCOUNT = {
|
|
2
|
+
connectionOptions: [{ connectionMethodId: "api-key", requiredScopes: [] }],
|
|
3
|
+
serviceId: "calcom",
|
|
4
|
+
};
|
|
5
|
+
export const calcomTriggerDefinitions = {
|
|
6
|
+
calcomAfterGuestsCalVideoNoShow: definition("calcom.afterGuestsCalVideoNoShow"),
|
|
7
|
+
calcomAfterHostsCalVideoNoShow: definition("calcom.afterHostsCalVideoNoShow"),
|
|
8
|
+
calcomBookingCancelled: definition("calcom.booking.cancelled"),
|
|
9
|
+
calcomBookingCreated: definition("calcom.booking.created"),
|
|
10
|
+
calcomBookingLocationUpdated: definition("calcom.booking.locationUpdated"),
|
|
11
|
+
calcomBookingNoShowUpdated: definition("calcom.booking.noShowUpdated"),
|
|
12
|
+
calcomBookingPaid: definition("calcom.booking.paid"),
|
|
13
|
+
calcomBookingPaymentInitiated: definition("calcom.booking.paymentInitiated"),
|
|
14
|
+
calcomBookingReassigned: definition("calcom.booking.reassigned"),
|
|
15
|
+
calcomBookingRejected: definition("calcom.booking.rejected"),
|
|
16
|
+
calcomBookingRequested: definition("calcom.booking.requested"),
|
|
17
|
+
calcomBookingRescheduled: definition("calcom.booking.rescheduled"),
|
|
18
|
+
calcomCalendarEntryRejected: definition("calcom.calendarEntryRejected"),
|
|
19
|
+
calcomDelegationCredentialError: definition("calcom.delegationCredential.error"),
|
|
20
|
+
calcomDelegationCredentialRotationRequired: definition("calcom.delegationCredential.rotationRequired"),
|
|
21
|
+
calcomDelegationCredentialSecretRotated: definition("calcom.delegationCredential.secretRotated"),
|
|
22
|
+
calcomDelegationCredentialSecretRotationFailed: definition("calcom.delegationCredential.secretRotationFailed"),
|
|
23
|
+
calcomEvent: definition("calcom.event"),
|
|
24
|
+
calcomFormSubmitted: definition("calcom.form.submitted"),
|
|
25
|
+
calcomFormSubmittedWithoutEvent: definition("calcom.form.submittedWithoutEvent"),
|
|
26
|
+
calcomInstantMeetingAccepted: definition("calcom.instantMeeting.accepted"),
|
|
27
|
+
calcomInstantMeetingCreated: definition("calcom.instantMeeting.created"),
|
|
28
|
+
calcomMeetingEnded: definition("calcom.meeting.ended"),
|
|
29
|
+
calcomMeetingStarted: definition("calcom.meeting.started"),
|
|
30
|
+
calcomOutOfOfficeCreated: definition("calcom.outOfOffice.created"),
|
|
31
|
+
calcomRecordingReady: definition("calcom.recording.ready"),
|
|
32
|
+
calcomRecordingTranscriptionGenerated: definition("calcom.recording.transcriptionGenerated"),
|
|
33
|
+
calcomRoutingFormFallbackHit: definition("calcom.routingForm.fallbackHit"),
|
|
34
|
+
calcomWrongAssignmentReported: definition("calcom.wrongAssignmentReported"),
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Builds a Cal.com managed-webhook trigger definition.
|
|
38
|
+
*
|
|
39
|
+
* @param type Platform event type.
|
|
40
|
+
*/
|
|
41
|
+
function definition(type) {
|
|
42
|
+
return { account: CALCOM_ACCOUNT, type };
|
|
43
|
+
}
|
package/dist/triggers/index.d.ts
CHANGED
|
@@ -7304,6 +7304,296 @@ export declare const triggerDefinitions: {
|
|
|
7304
7304
|
readonly name: "Convex event";
|
|
7305
7305
|
readonly type: "convex.event.received";
|
|
7306
7306
|
};
|
|
7307
|
+
readonly calcomAfterGuestsCalVideoNoShow: {
|
|
7308
|
+
readonly account: {
|
|
7309
|
+
readonly connectionOptions: readonly [{
|
|
7310
|
+
readonly connectionMethodId: "api-key";
|
|
7311
|
+
readonly requiredScopes: readonly [];
|
|
7312
|
+
}];
|
|
7313
|
+
readonly serviceId: "calcom";
|
|
7314
|
+
};
|
|
7315
|
+
readonly type: "calcom.afterGuestsCalVideoNoShow";
|
|
7316
|
+
};
|
|
7317
|
+
readonly calcomAfterHostsCalVideoNoShow: {
|
|
7318
|
+
readonly account: {
|
|
7319
|
+
readonly connectionOptions: readonly [{
|
|
7320
|
+
readonly connectionMethodId: "api-key";
|
|
7321
|
+
readonly requiredScopes: readonly [];
|
|
7322
|
+
}];
|
|
7323
|
+
readonly serviceId: "calcom";
|
|
7324
|
+
};
|
|
7325
|
+
readonly type: "calcom.afterHostsCalVideoNoShow";
|
|
7326
|
+
};
|
|
7327
|
+
readonly calcomBookingCancelled: {
|
|
7328
|
+
readonly account: {
|
|
7329
|
+
readonly connectionOptions: readonly [{
|
|
7330
|
+
readonly connectionMethodId: "api-key";
|
|
7331
|
+
readonly requiredScopes: readonly [];
|
|
7332
|
+
}];
|
|
7333
|
+
readonly serviceId: "calcom";
|
|
7334
|
+
};
|
|
7335
|
+
readonly type: "calcom.booking.cancelled";
|
|
7336
|
+
};
|
|
7337
|
+
readonly calcomBookingCreated: {
|
|
7338
|
+
readonly account: {
|
|
7339
|
+
readonly connectionOptions: readonly [{
|
|
7340
|
+
readonly connectionMethodId: "api-key";
|
|
7341
|
+
readonly requiredScopes: readonly [];
|
|
7342
|
+
}];
|
|
7343
|
+
readonly serviceId: "calcom";
|
|
7344
|
+
};
|
|
7345
|
+
readonly type: "calcom.booking.created";
|
|
7346
|
+
};
|
|
7347
|
+
readonly calcomBookingLocationUpdated: {
|
|
7348
|
+
readonly account: {
|
|
7349
|
+
readonly connectionOptions: readonly [{
|
|
7350
|
+
readonly connectionMethodId: "api-key";
|
|
7351
|
+
readonly requiredScopes: readonly [];
|
|
7352
|
+
}];
|
|
7353
|
+
readonly serviceId: "calcom";
|
|
7354
|
+
};
|
|
7355
|
+
readonly type: "calcom.booking.locationUpdated";
|
|
7356
|
+
};
|
|
7357
|
+
readonly calcomBookingNoShowUpdated: {
|
|
7358
|
+
readonly account: {
|
|
7359
|
+
readonly connectionOptions: readonly [{
|
|
7360
|
+
readonly connectionMethodId: "api-key";
|
|
7361
|
+
readonly requiredScopes: readonly [];
|
|
7362
|
+
}];
|
|
7363
|
+
readonly serviceId: "calcom";
|
|
7364
|
+
};
|
|
7365
|
+
readonly type: "calcom.booking.noShowUpdated";
|
|
7366
|
+
};
|
|
7367
|
+
readonly calcomBookingPaid: {
|
|
7368
|
+
readonly account: {
|
|
7369
|
+
readonly connectionOptions: readonly [{
|
|
7370
|
+
readonly connectionMethodId: "api-key";
|
|
7371
|
+
readonly requiredScopes: readonly [];
|
|
7372
|
+
}];
|
|
7373
|
+
readonly serviceId: "calcom";
|
|
7374
|
+
};
|
|
7375
|
+
readonly type: "calcom.booking.paid";
|
|
7376
|
+
};
|
|
7377
|
+
readonly calcomBookingPaymentInitiated: {
|
|
7378
|
+
readonly account: {
|
|
7379
|
+
readonly connectionOptions: readonly [{
|
|
7380
|
+
readonly connectionMethodId: "api-key";
|
|
7381
|
+
readonly requiredScopes: readonly [];
|
|
7382
|
+
}];
|
|
7383
|
+
readonly serviceId: "calcom";
|
|
7384
|
+
};
|
|
7385
|
+
readonly type: "calcom.booking.paymentInitiated";
|
|
7386
|
+
};
|
|
7387
|
+
readonly calcomBookingReassigned: {
|
|
7388
|
+
readonly account: {
|
|
7389
|
+
readonly connectionOptions: readonly [{
|
|
7390
|
+
readonly connectionMethodId: "api-key";
|
|
7391
|
+
readonly requiredScopes: readonly [];
|
|
7392
|
+
}];
|
|
7393
|
+
readonly serviceId: "calcom";
|
|
7394
|
+
};
|
|
7395
|
+
readonly type: "calcom.booking.reassigned";
|
|
7396
|
+
};
|
|
7397
|
+
readonly calcomBookingRejected: {
|
|
7398
|
+
readonly account: {
|
|
7399
|
+
readonly connectionOptions: readonly [{
|
|
7400
|
+
readonly connectionMethodId: "api-key";
|
|
7401
|
+
readonly requiredScopes: readonly [];
|
|
7402
|
+
}];
|
|
7403
|
+
readonly serviceId: "calcom";
|
|
7404
|
+
};
|
|
7405
|
+
readonly type: "calcom.booking.rejected";
|
|
7406
|
+
};
|
|
7407
|
+
readonly calcomBookingRequested: {
|
|
7408
|
+
readonly account: {
|
|
7409
|
+
readonly connectionOptions: readonly [{
|
|
7410
|
+
readonly connectionMethodId: "api-key";
|
|
7411
|
+
readonly requiredScopes: readonly [];
|
|
7412
|
+
}];
|
|
7413
|
+
readonly serviceId: "calcom";
|
|
7414
|
+
};
|
|
7415
|
+
readonly type: "calcom.booking.requested";
|
|
7416
|
+
};
|
|
7417
|
+
readonly calcomBookingRescheduled: {
|
|
7418
|
+
readonly account: {
|
|
7419
|
+
readonly connectionOptions: readonly [{
|
|
7420
|
+
readonly connectionMethodId: "api-key";
|
|
7421
|
+
readonly requiredScopes: readonly [];
|
|
7422
|
+
}];
|
|
7423
|
+
readonly serviceId: "calcom";
|
|
7424
|
+
};
|
|
7425
|
+
readonly type: "calcom.booking.rescheduled";
|
|
7426
|
+
};
|
|
7427
|
+
readonly calcomCalendarEntryRejected: {
|
|
7428
|
+
readonly account: {
|
|
7429
|
+
readonly connectionOptions: readonly [{
|
|
7430
|
+
readonly connectionMethodId: "api-key";
|
|
7431
|
+
readonly requiredScopes: readonly [];
|
|
7432
|
+
}];
|
|
7433
|
+
readonly serviceId: "calcom";
|
|
7434
|
+
};
|
|
7435
|
+
readonly type: "calcom.calendarEntryRejected";
|
|
7436
|
+
};
|
|
7437
|
+
readonly calcomDelegationCredentialError: {
|
|
7438
|
+
readonly account: {
|
|
7439
|
+
readonly connectionOptions: readonly [{
|
|
7440
|
+
readonly connectionMethodId: "api-key";
|
|
7441
|
+
readonly requiredScopes: readonly [];
|
|
7442
|
+
}];
|
|
7443
|
+
readonly serviceId: "calcom";
|
|
7444
|
+
};
|
|
7445
|
+
readonly type: "calcom.delegationCredential.error";
|
|
7446
|
+
};
|
|
7447
|
+
readonly calcomDelegationCredentialRotationRequired: {
|
|
7448
|
+
readonly account: {
|
|
7449
|
+
readonly connectionOptions: readonly [{
|
|
7450
|
+
readonly connectionMethodId: "api-key";
|
|
7451
|
+
readonly requiredScopes: readonly [];
|
|
7452
|
+
}];
|
|
7453
|
+
readonly serviceId: "calcom";
|
|
7454
|
+
};
|
|
7455
|
+
readonly type: "calcom.delegationCredential.rotationRequired";
|
|
7456
|
+
};
|
|
7457
|
+
readonly calcomDelegationCredentialSecretRotated: {
|
|
7458
|
+
readonly account: {
|
|
7459
|
+
readonly connectionOptions: readonly [{
|
|
7460
|
+
readonly connectionMethodId: "api-key";
|
|
7461
|
+
readonly requiredScopes: readonly [];
|
|
7462
|
+
}];
|
|
7463
|
+
readonly serviceId: "calcom";
|
|
7464
|
+
};
|
|
7465
|
+
readonly type: "calcom.delegationCredential.secretRotated";
|
|
7466
|
+
};
|
|
7467
|
+
readonly calcomDelegationCredentialSecretRotationFailed: {
|
|
7468
|
+
readonly account: {
|
|
7469
|
+
readonly connectionOptions: readonly [{
|
|
7470
|
+
readonly connectionMethodId: "api-key";
|
|
7471
|
+
readonly requiredScopes: readonly [];
|
|
7472
|
+
}];
|
|
7473
|
+
readonly serviceId: "calcom";
|
|
7474
|
+
};
|
|
7475
|
+
readonly type: "calcom.delegationCredential.secretRotationFailed";
|
|
7476
|
+
};
|
|
7477
|
+
readonly calcomEvent: {
|
|
7478
|
+
readonly account: {
|
|
7479
|
+
readonly connectionOptions: readonly [{
|
|
7480
|
+
readonly connectionMethodId: "api-key";
|
|
7481
|
+
readonly requiredScopes: readonly [];
|
|
7482
|
+
}];
|
|
7483
|
+
readonly serviceId: "calcom";
|
|
7484
|
+
};
|
|
7485
|
+
readonly type: "calcom.event";
|
|
7486
|
+
};
|
|
7487
|
+
readonly calcomFormSubmitted: {
|
|
7488
|
+
readonly account: {
|
|
7489
|
+
readonly connectionOptions: readonly [{
|
|
7490
|
+
readonly connectionMethodId: "api-key";
|
|
7491
|
+
readonly requiredScopes: readonly [];
|
|
7492
|
+
}];
|
|
7493
|
+
readonly serviceId: "calcom";
|
|
7494
|
+
};
|
|
7495
|
+
readonly type: "calcom.form.submitted";
|
|
7496
|
+
};
|
|
7497
|
+
readonly calcomFormSubmittedWithoutEvent: {
|
|
7498
|
+
readonly account: {
|
|
7499
|
+
readonly connectionOptions: readonly [{
|
|
7500
|
+
readonly connectionMethodId: "api-key";
|
|
7501
|
+
readonly requiredScopes: readonly [];
|
|
7502
|
+
}];
|
|
7503
|
+
readonly serviceId: "calcom";
|
|
7504
|
+
};
|
|
7505
|
+
readonly type: "calcom.form.submittedWithoutEvent";
|
|
7506
|
+
};
|
|
7507
|
+
readonly calcomInstantMeetingAccepted: {
|
|
7508
|
+
readonly account: {
|
|
7509
|
+
readonly connectionOptions: readonly [{
|
|
7510
|
+
readonly connectionMethodId: "api-key";
|
|
7511
|
+
readonly requiredScopes: readonly [];
|
|
7512
|
+
}];
|
|
7513
|
+
readonly serviceId: "calcom";
|
|
7514
|
+
};
|
|
7515
|
+
readonly type: "calcom.instantMeeting.accepted";
|
|
7516
|
+
};
|
|
7517
|
+
readonly calcomInstantMeetingCreated: {
|
|
7518
|
+
readonly account: {
|
|
7519
|
+
readonly connectionOptions: readonly [{
|
|
7520
|
+
readonly connectionMethodId: "api-key";
|
|
7521
|
+
readonly requiredScopes: readonly [];
|
|
7522
|
+
}];
|
|
7523
|
+
readonly serviceId: "calcom";
|
|
7524
|
+
};
|
|
7525
|
+
readonly type: "calcom.instantMeeting.created";
|
|
7526
|
+
};
|
|
7527
|
+
readonly calcomMeetingEnded: {
|
|
7528
|
+
readonly account: {
|
|
7529
|
+
readonly connectionOptions: readonly [{
|
|
7530
|
+
readonly connectionMethodId: "api-key";
|
|
7531
|
+
readonly requiredScopes: readonly [];
|
|
7532
|
+
}];
|
|
7533
|
+
readonly serviceId: "calcom";
|
|
7534
|
+
};
|
|
7535
|
+
readonly type: "calcom.meeting.ended";
|
|
7536
|
+
};
|
|
7537
|
+
readonly calcomMeetingStarted: {
|
|
7538
|
+
readonly account: {
|
|
7539
|
+
readonly connectionOptions: readonly [{
|
|
7540
|
+
readonly connectionMethodId: "api-key";
|
|
7541
|
+
readonly requiredScopes: readonly [];
|
|
7542
|
+
}];
|
|
7543
|
+
readonly serviceId: "calcom";
|
|
7544
|
+
};
|
|
7545
|
+
readonly type: "calcom.meeting.started";
|
|
7546
|
+
};
|
|
7547
|
+
readonly calcomOutOfOfficeCreated: {
|
|
7548
|
+
readonly account: {
|
|
7549
|
+
readonly connectionOptions: readonly [{
|
|
7550
|
+
readonly connectionMethodId: "api-key";
|
|
7551
|
+
readonly requiredScopes: readonly [];
|
|
7552
|
+
}];
|
|
7553
|
+
readonly serviceId: "calcom";
|
|
7554
|
+
};
|
|
7555
|
+
readonly type: "calcom.outOfOffice.created";
|
|
7556
|
+
};
|
|
7557
|
+
readonly calcomRecordingReady: {
|
|
7558
|
+
readonly account: {
|
|
7559
|
+
readonly connectionOptions: readonly [{
|
|
7560
|
+
readonly connectionMethodId: "api-key";
|
|
7561
|
+
readonly requiredScopes: readonly [];
|
|
7562
|
+
}];
|
|
7563
|
+
readonly serviceId: "calcom";
|
|
7564
|
+
};
|
|
7565
|
+
readonly type: "calcom.recording.ready";
|
|
7566
|
+
};
|
|
7567
|
+
readonly calcomRecordingTranscriptionGenerated: {
|
|
7568
|
+
readonly account: {
|
|
7569
|
+
readonly connectionOptions: readonly [{
|
|
7570
|
+
readonly connectionMethodId: "api-key";
|
|
7571
|
+
readonly requiredScopes: readonly [];
|
|
7572
|
+
}];
|
|
7573
|
+
readonly serviceId: "calcom";
|
|
7574
|
+
};
|
|
7575
|
+
readonly type: "calcom.recording.transcriptionGenerated";
|
|
7576
|
+
};
|
|
7577
|
+
readonly calcomRoutingFormFallbackHit: {
|
|
7578
|
+
readonly account: {
|
|
7579
|
+
readonly connectionOptions: readonly [{
|
|
7580
|
+
readonly connectionMethodId: "api-key";
|
|
7581
|
+
readonly requiredScopes: readonly [];
|
|
7582
|
+
}];
|
|
7583
|
+
readonly serviceId: "calcom";
|
|
7584
|
+
};
|
|
7585
|
+
readonly type: "calcom.routingForm.fallbackHit";
|
|
7586
|
+
};
|
|
7587
|
+
readonly calcomWrongAssignmentReported: {
|
|
7588
|
+
readonly account: {
|
|
7589
|
+
readonly connectionOptions: readonly [{
|
|
7590
|
+
readonly connectionMethodId: "api-key";
|
|
7591
|
+
readonly requiredScopes: readonly [];
|
|
7592
|
+
}];
|
|
7593
|
+
readonly serviceId: "calcom";
|
|
7594
|
+
};
|
|
7595
|
+
readonly type: "calcom.wrongAssignmentReported";
|
|
7596
|
+
};
|
|
7307
7597
|
readonly brevoEvent: {
|
|
7308
7598
|
type: "brevo.event";
|
|
7309
7599
|
name?: string | undefined;
|
|
@@ -10020,6 +10310,296 @@ export declare const triggerCatalog: ({
|
|
|
10020
10310
|
}];
|
|
10021
10311
|
readonly serviceId: "brevo";
|
|
10022
10312
|
};
|
|
10313
|
+
} | {
|
|
10314
|
+
name: string;
|
|
10315
|
+
account: {
|
|
10316
|
+
readonly connectionOptions: readonly [{
|
|
10317
|
+
readonly connectionMethodId: "api-key";
|
|
10318
|
+
readonly requiredScopes: readonly [];
|
|
10319
|
+
}];
|
|
10320
|
+
readonly serviceId: "calcom";
|
|
10321
|
+
};
|
|
10322
|
+
type: "calcom.afterGuestsCalVideoNoShow";
|
|
10323
|
+
} | {
|
|
10324
|
+
name: string;
|
|
10325
|
+
account: {
|
|
10326
|
+
readonly connectionOptions: readonly [{
|
|
10327
|
+
readonly connectionMethodId: "api-key";
|
|
10328
|
+
readonly requiredScopes: readonly [];
|
|
10329
|
+
}];
|
|
10330
|
+
readonly serviceId: "calcom";
|
|
10331
|
+
};
|
|
10332
|
+
type: "calcom.afterHostsCalVideoNoShow";
|
|
10333
|
+
} | {
|
|
10334
|
+
name: string;
|
|
10335
|
+
account: {
|
|
10336
|
+
readonly connectionOptions: readonly [{
|
|
10337
|
+
readonly connectionMethodId: "api-key";
|
|
10338
|
+
readonly requiredScopes: readonly [];
|
|
10339
|
+
}];
|
|
10340
|
+
readonly serviceId: "calcom";
|
|
10341
|
+
};
|
|
10342
|
+
type: "calcom.booking.cancelled";
|
|
10343
|
+
} | {
|
|
10344
|
+
name: string;
|
|
10345
|
+
account: {
|
|
10346
|
+
readonly connectionOptions: readonly [{
|
|
10347
|
+
readonly connectionMethodId: "api-key";
|
|
10348
|
+
readonly requiredScopes: readonly [];
|
|
10349
|
+
}];
|
|
10350
|
+
readonly serviceId: "calcom";
|
|
10351
|
+
};
|
|
10352
|
+
type: "calcom.booking.created";
|
|
10353
|
+
} | {
|
|
10354
|
+
name: string;
|
|
10355
|
+
account: {
|
|
10356
|
+
readonly connectionOptions: readonly [{
|
|
10357
|
+
readonly connectionMethodId: "api-key";
|
|
10358
|
+
readonly requiredScopes: readonly [];
|
|
10359
|
+
}];
|
|
10360
|
+
readonly serviceId: "calcom";
|
|
10361
|
+
};
|
|
10362
|
+
type: "calcom.booking.locationUpdated";
|
|
10363
|
+
} | {
|
|
10364
|
+
name: string;
|
|
10365
|
+
account: {
|
|
10366
|
+
readonly connectionOptions: readonly [{
|
|
10367
|
+
readonly connectionMethodId: "api-key";
|
|
10368
|
+
readonly requiredScopes: readonly [];
|
|
10369
|
+
}];
|
|
10370
|
+
readonly serviceId: "calcom";
|
|
10371
|
+
};
|
|
10372
|
+
type: "calcom.booking.noShowUpdated";
|
|
10373
|
+
} | {
|
|
10374
|
+
name: string;
|
|
10375
|
+
account: {
|
|
10376
|
+
readonly connectionOptions: readonly [{
|
|
10377
|
+
readonly connectionMethodId: "api-key";
|
|
10378
|
+
readonly requiredScopes: readonly [];
|
|
10379
|
+
}];
|
|
10380
|
+
readonly serviceId: "calcom";
|
|
10381
|
+
};
|
|
10382
|
+
type: "calcom.booking.paid";
|
|
10383
|
+
} | {
|
|
10384
|
+
name: string;
|
|
10385
|
+
account: {
|
|
10386
|
+
readonly connectionOptions: readonly [{
|
|
10387
|
+
readonly connectionMethodId: "api-key";
|
|
10388
|
+
readonly requiredScopes: readonly [];
|
|
10389
|
+
}];
|
|
10390
|
+
readonly serviceId: "calcom";
|
|
10391
|
+
};
|
|
10392
|
+
type: "calcom.booking.paymentInitiated";
|
|
10393
|
+
} | {
|
|
10394
|
+
name: string;
|
|
10395
|
+
account: {
|
|
10396
|
+
readonly connectionOptions: readonly [{
|
|
10397
|
+
readonly connectionMethodId: "api-key";
|
|
10398
|
+
readonly requiredScopes: readonly [];
|
|
10399
|
+
}];
|
|
10400
|
+
readonly serviceId: "calcom";
|
|
10401
|
+
};
|
|
10402
|
+
type: "calcom.booking.reassigned";
|
|
10403
|
+
} | {
|
|
10404
|
+
name: string;
|
|
10405
|
+
account: {
|
|
10406
|
+
readonly connectionOptions: readonly [{
|
|
10407
|
+
readonly connectionMethodId: "api-key";
|
|
10408
|
+
readonly requiredScopes: readonly [];
|
|
10409
|
+
}];
|
|
10410
|
+
readonly serviceId: "calcom";
|
|
10411
|
+
};
|
|
10412
|
+
type: "calcom.booking.rejected";
|
|
10413
|
+
} | {
|
|
10414
|
+
name: string;
|
|
10415
|
+
account: {
|
|
10416
|
+
readonly connectionOptions: readonly [{
|
|
10417
|
+
readonly connectionMethodId: "api-key";
|
|
10418
|
+
readonly requiredScopes: readonly [];
|
|
10419
|
+
}];
|
|
10420
|
+
readonly serviceId: "calcom";
|
|
10421
|
+
};
|
|
10422
|
+
type: "calcom.booking.requested";
|
|
10423
|
+
} | {
|
|
10424
|
+
name: string;
|
|
10425
|
+
account: {
|
|
10426
|
+
readonly connectionOptions: readonly [{
|
|
10427
|
+
readonly connectionMethodId: "api-key";
|
|
10428
|
+
readonly requiredScopes: readonly [];
|
|
10429
|
+
}];
|
|
10430
|
+
readonly serviceId: "calcom";
|
|
10431
|
+
};
|
|
10432
|
+
type: "calcom.booking.rescheduled";
|
|
10433
|
+
} | {
|
|
10434
|
+
name: string;
|
|
10435
|
+
account: {
|
|
10436
|
+
readonly connectionOptions: readonly [{
|
|
10437
|
+
readonly connectionMethodId: "api-key";
|
|
10438
|
+
readonly requiredScopes: readonly [];
|
|
10439
|
+
}];
|
|
10440
|
+
readonly serviceId: "calcom";
|
|
10441
|
+
};
|
|
10442
|
+
type: "calcom.calendarEntryRejected";
|
|
10443
|
+
} | {
|
|
10444
|
+
name: string;
|
|
10445
|
+
account: {
|
|
10446
|
+
readonly connectionOptions: readonly [{
|
|
10447
|
+
readonly connectionMethodId: "api-key";
|
|
10448
|
+
readonly requiredScopes: readonly [];
|
|
10449
|
+
}];
|
|
10450
|
+
readonly serviceId: "calcom";
|
|
10451
|
+
};
|
|
10452
|
+
type: "calcom.delegationCredential.error";
|
|
10453
|
+
} | {
|
|
10454
|
+
name: string;
|
|
10455
|
+
account: {
|
|
10456
|
+
readonly connectionOptions: readonly [{
|
|
10457
|
+
readonly connectionMethodId: "api-key";
|
|
10458
|
+
readonly requiredScopes: readonly [];
|
|
10459
|
+
}];
|
|
10460
|
+
readonly serviceId: "calcom";
|
|
10461
|
+
};
|
|
10462
|
+
type: "calcom.delegationCredential.rotationRequired";
|
|
10463
|
+
} | {
|
|
10464
|
+
name: string;
|
|
10465
|
+
account: {
|
|
10466
|
+
readonly connectionOptions: readonly [{
|
|
10467
|
+
readonly connectionMethodId: "api-key";
|
|
10468
|
+
readonly requiredScopes: readonly [];
|
|
10469
|
+
}];
|
|
10470
|
+
readonly serviceId: "calcom";
|
|
10471
|
+
};
|
|
10472
|
+
type: "calcom.delegationCredential.secretRotated";
|
|
10473
|
+
} | {
|
|
10474
|
+
name: string;
|
|
10475
|
+
account: {
|
|
10476
|
+
readonly connectionOptions: readonly [{
|
|
10477
|
+
readonly connectionMethodId: "api-key";
|
|
10478
|
+
readonly requiredScopes: readonly [];
|
|
10479
|
+
}];
|
|
10480
|
+
readonly serviceId: "calcom";
|
|
10481
|
+
};
|
|
10482
|
+
type: "calcom.delegationCredential.secretRotationFailed";
|
|
10483
|
+
} | {
|
|
10484
|
+
name: string;
|
|
10485
|
+
account: {
|
|
10486
|
+
readonly connectionOptions: readonly [{
|
|
10487
|
+
readonly connectionMethodId: "api-key";
|
|
10488
|
+
readonly requiredScopes: readonly [];
|
|
10489
|
+
}];
|
|
10490
|
+
readonly serviceId: "calcom";
|
|
10491
|
+
};
|
|
10492
|
+
type: "calcom.event";
|
|
10493
|
+
} | {
|
|
10494
|
+
name: string;
|
|
10495
|
+
account: {
|
|
10496
|
+
readonly connectionOptions: readonly [{
|
|
10497
|
+
readonly connectionMethodId: "api-key";
|
|
10498
|
+
readonly requiredScopes: readonly [];
|
|
10499
|
+
}];
|
|
10500
|
+
readonly serviceId: "calcom";
|
|
10501
|
+
};
|
|
10502
|
+
type: "calcom.form.submitted";
|
|
10503
|
+
} | {
|
|
10504
|
+
name: string;
|
|
10505
|
+
account: {
|
|
10506
|
+
readonly connectionOptions: readonly [{
|
|
10507
|
+
readonly connectionMethodId: "api-key";
|
|
10508
|
+
readonly requiredScopes: readonly [];
|
|
10509
|
+
}];
|
|
10510
|
+
readonly serviceId: "calcom";
|
|
10511
|
+
};
|
|
10512
|
+
type: "calcom.form.submittedWithoutEvent";
|
|
10513
|
+
} | {
|
|
10514
|
+
name: string;
|
|
10515
|
+
account: {
|
|
10516
|
+
readonly connectionOptions: readonly [{
|
|
10517
|
+
readonly connectionMethodId: "api-key";
|
|
10518
|
+
readonly requiredScopes: readonly [];
|
|
10519
|
+
}];
|
|
10520
|
+
readonly serviceId: "calcom";
|
|
10521
|
+
};
|
|
10522
|
+
type: "calcom.instantMeeting.accepted";
|
|
10523
|
+
} | {
|
|
10524
|
+
name: string;
|
|
10525
|
+
account: {
|
|
10526
|
+
readonly connectionOptions: readonly [{
|
|
10527
|
+
readonly connectionMethodId: "api-key";
|
|
10528
|
+
readonly requiredScopes: readonly [];
|
|
10529
|
+
}];
|
|
10530
|
+
readonly serviceId: "calcom";
|
|
10531
|
+
};
|
|
10532
|
+
type: "calcom.instantMeeting.created";
|
|
10533
|
+
} | {
|
|
10534
|
+
name: string;
|
|
10535
|
+
account: {
|
|
10536
|
+
readonly connectionOptions: readonly [{
|
|
10537
|
+
readonly connectionMethodId: "api-key";
|
|
10538
|
+
readonly requiredScopes: readonly [];
|
|
10539
|
+
}];
|
|
10540
|
+
readonly serviceId: "calcom";
|
|
10541
|
+
};
|
|
10542
|
+
type: "calcom.meeting.ended";
|
|
10543
|
+
} | {
|
|
10544
|
+
name: string;
|
|
10545
|
+
account: {
|
|
10546
|
+
readonly connectionOptions: readonly [{
|
|
10547
|
+
readonly connectionMethodId: "api-key";
|
|
10548
|
+
readonly requiredScopes: readonly [];
|
|
10549
|
+
}];
|
|
10550
|
+
readonly serviceId: "calcom";
|
|
10551
|
+
};
|
|
10552
|
+
type: "calcom.meeting.started";
|
|
10553
|
+
} | {
|
|
10554
|
+
name: string;
|
|
10555
|
+
account: {
|
|
10556
|
+
readonly connectionOptions: readonly [{
|
|
10557
|
+
readonly connectionMethodId: "api-key";
|
|
10558
|
+
readonly requiredScopes: readonly [];
|
|
10559
|
+
}];
|
|
10560
|
+
readonly serviceId: "calcom";
|
|
10561
|
+
};
|
|
10562
|
+
type: "calcom.outOfOffice.created";
|
|
10563
|
+
} | {
|
|
10564
|
+
name: string;
|
|
10565
|
+
account: {
|
|
10566
|
+
readonly connectionOptions: readonly [{
|
|
10567
|
+
readonly connectionMethodId: "api-key";
|
|
10568
|
+
readonly requiredScopes: readonly [];
|
|
10569
|
+
}];
|
|
10570
|
+
readonly serviceId: "calcom";
|
|
10571
|
+
};
|
|
10572
|
+
type: "calcom.recording.ready";
|
|
10573
|
+
} | {
|
|
10574
|
+
name: string;
|
|
10575
|
+
account: {
|
|
10576
|
+
readonly connectionOptions: readonly [{
|
|
10577
|
+
readonly connectionMethodId: "api-key";
|
|
10578
|
+
readonly requiredScopes: readonly [];
|
|
10579
|
+
}];
|
|
10580
|
+
readonly serviceId: "calcom";
|
|
10581
|
+
};
|
|
10582
|
+
type: "calcom.recording.transcriptionGenerated";
|
|
10583
|
+
} | {
|
|
10584
|
+
name: string;
|
|
10585
|
+
account: {
|
|
10586
|
+
readonly connectionOptions: readonly [{
|
|
10587
|
+
readonly connectionMethodId: "api-key";
|
|
10588
|
+
readonly requiredScopes: readonly [];
|
|
10589
|
+
}];
|
|
10590
|
+
readonly serviceId: "calcom";
|
|
10591
|
+
};
|
|
10592
|
+
type: "calcom.routingForm.fallbackHit";
|
|
10593
|
+
} | {
|
|
10594
|
+
name: string;
|
|
10595
|
+
account: {
|
|
10596
|
+
readonly connectionOptions: readonly [{
|
|
10597
|
+
readonly connectionMethodId: "api-key";
|
|
10598
|
+
readonly requiredScopes: readonly [];
|
|
10599
|
+
}];
|
|
10600
|
+
readonly serviceId: "calcom";
|
|
10601
|
+
};
|
|
10602
|
+
type: "calcom.wrongAssignmentReported";
|
|
10023
10603
|
} | {
|
|
10024
10604
|
name: string;
|
|
10025
10605
|
account: {
|
package/dist/triggers/index.js
CHANGED
|
@@ -5,6 +5,7 @@ import { axiomTriggerDefinitions } from "./axiom.js";
|
|
|
5
5
|
import { automateTriggerDefinitions } from "./automate.js";
|
|
6
6
|
import { asanaTriggerDefinitions } from "./asana.js";
|
|
7
7
|
import { brevoTriggerDefinitions } from "./brevo.js";
|
|
8
|
+
import { calcomTriggerDefinitions } from "./calcom.js";
|
|
8
9
|
import { convexTriggerDefinitions } from "./convex.js";
|
|
9
10
|
import { discordTriggerDefinitions } from "./discord.js";
|
|
10
11
|
import { closeTriggerDefinitions } from "./close.js";
|
|
@@ -41,6 +42,7 @@ export const triggerDefinitions = {
|
|
|
41
42
|
...automateTriggerDefinitions,
|
|
42
43
|
...asanaTriggerDefinitions,
|
|
43
44
|
...brevoTriggerDefinitions,
|
|
45
|
+
...calcomTriggerDefinitions,
|
|
44
46
|
...convexTriggerDefinitions,
|
|
45
47
|
...discordTriggerDefinitions,
|
|
46
48
|
...closeTriggerDefinitions,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/catalog",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.145.1",
|
|
4
4
|
"description": "Shared integration service and trigger definitions for Automate.ax.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
"./triggers/calendly": "./src/triggers/calendly.ts",
|
|
30
30
|
"./triggers/clickup": "./src/triggers/clickup.ts",
|
|
31
31
|
"./triggers/brevo": "./src/triggers/brevo.ts",
|
|
32
|
+
"./triggers/calcom": "./src/triggers/calcom.ts",
|
|
32
33
|
"./triggers/cloudflare": "./src/triggers/cloudflare.ts",
|
|
33
34
|
"./triggers/convex": "./src/triggers/convex.ts",
|
|
34
35
|
"./triggers/discord": "./src/triggers/discord.ts",
|
|
@@ -149,6 +150,11 @@
|
|
|
149
150
|
"types": "./dist/triggers/brevo.d.ts",
|
|
150
151
|
"default": "./dist/triggers/brevo.js"
|
|
151
152
|
},
|
|
153
|
+
"./triggers/calcom": {
|
|
154
|
+
"bun": "./src/triggers/calcom.ts",
|
|
155
|
+
"types": "./dist/triggers/calcom.d.ts",
|
|
156
|
+
"default": "./dist/triggers/calcom.js"
|
|
157
|
+
},
|
|
152
158
|
"./triggers/cloudflare": {
|
|
153
159
|
"bun": "./src/triggers/cloudflare.ts",
|
|
154
160
|
"types": "./dist/triggers/cloudflare.d.ts",
|
package/src/catalog.ts
CHANGED
|
@@ -803,6 +803,29 @@ export const tidycalService = defineIntegrationService({
|
|
|
803
803
|
preferredConnectionMethodId: "oauth",
|
|
804
804
|
})
|
|
805
805
|
|
|
806
|
+
export const calcomService = defineIntegrationService({
|
|
807
|
+
connectionMethods: [
|
|
808
|
+
{
|
|
809
|
+
credentialUrl: "https://app.cal.com/settings/developer/api-keys",
|
|
810
|
+
fields: [
|
|
811
|
+
{
|
|
812
|
+
input: "password",
|
|
813
|
+
label: "API key",
|
|
814
|
+
name: "apiKey",
|
|
815
|
+
placeholder: "cal_... or cal_live_...",
|
|
816
|
+
required: true,
|
|
817
|
+
},
|
|
818
|
+
],
|
|
819
|
+
id: "api-key",
|
|
820
|
+
name: "API key",
|
|
821
|
+
type: "form",
|
|
822
|
+
},
|
|
823
|
+
],
|
|
824
|
+
description: "Connect Cal.com with an API key.",
|
|
825
|
+
id: "calcom",
|
|
826
|
+
name: "Cal.com",
|
|
827
|
+
})
|
|
828
|
+
|
|
806
829
|
export const togetheraiService = defineApiKeyService({
|
|
807
830
|
description: "Connect a Together AI API key.",
|
|
808
831
|
id: "togetherai",
|
|
@@ -881,6 +904,7 @@ export const integrationCatalog = defineIntegrationCatalog([
|
|
|
881
904
|
axiomService,
|
|
882
905
|
brevoService,
|
|
883
906
|
browserbaseService,
|
|
907
|
+
calcomService,
|
|
884
908
|
cerebrasService,
|
|
885
909
|
chatgptService,
|
|
886
910
|
cloudflareService,
|
package/src/index.ts
CHANGED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { IntegrationAccountRequirement, TriggerDefinition } from "../types"
|
|
2
|
+
|
|
3
|
+
const CALCOM_ACCOUNT = {
|
|
4
|
+
connectionOptions: [{ connectionMethodId: "api-key", requiredScopes: [] }],
|
|
5
|
+
serviceId: "calcom",
|
|
6
|
+
} as const satisfies IntegrationAccountRequirement
|
|
7
|
+
|
|
8
|
+
export const calcomTriggerDefinitions = {
|
|
9
|
+
calcomAfterGuestsCalVideoNoShow: definition(
|
|
10
|
+
"calcom.afterGuestsCalVideoNoShow",
|
|
11
|
+
),
|
|
12
|
+
calcomAfterHostsCalVideoNoShow: definition("calcom.afterHostsCalVideoNoShow"),
|
|
13
|
+
calcomBookingCancelled: definition("calcom.booking.cancelled"),
|
|
14
|
+
calcomBookingCreated: definition("calcom.booking.created"),
|
|
15
|
+
calcomBookingLocationUpdated: definition("calcom.booking.locationUpdated"),
|
|
16
|
+
calcomBookingNoShowUpdated: definition("calcom.booking.noShowUpdated"),
|
|
17
|
+
calcomBookingPaid: definition("calcom.booking.paid"),
|
|
18
|
+
calcomBookingPaymentInitiated: definition("calcom.booking.paymentInitiated"),
|
|
19
|
+
calcomBookingReassigned: definition("calcom.booking.reassigned"),
|
|
20
|
+
calcomBookingRejected: definition("calcom.booking.rejected"),
|
|
21
|
+
calcomBookingRequested: definition("calcom.booking.requested"),
|
|
22
|
+
calcomBookingRescheduled: definition("calcom.booking.rescheduled"),
|
|
23
|
+
calcomCalendarEntryRejected: definition("calcom.calendarEntryRejected"),
|
|
24
|
+
calcomDelegationCredentialError: definition(
|
|
25
|
+
"calcom.delegationCredential.error",
|
|
26
|
+
),
|
|
27
|
+
calcomDelegationCredentialRotationRequired: definition(
|
|
28
|
+
"calcom.delegationCredential.rotationRequired",
|
|
29
|
+
),
|
|
30
|
+
calcomDelegationCredentialSecretRotated: definition(
|
|
31
|
+
"calcom.delegationCredential.secretRotated",
|
|
32
|
+
),
|
|
33
|
+
calcomDelegationCredentialSecretRotationFailed: definition(
|
|
34
|
+
"calcom.delegationCredential.secretRotationFailed",
|
|
35
|
+
),
|
|
36
|
+
calcomEvent: definition("calcom.event"),
|
|
37
|
+
calcomFormSubmitted: definition("calcom.form.submitted"),
|
|
38
|
+
calcomFormSubmittedWithoutEvent: definition(
|
|
39
|
+
"calcom.form.submittedWithoutEvent",
|
|
40
|
+
),
|
|
41
|
+
calcomInstantMeetingAccepted: definition("calcom.instantMeeting.accepted"),
|
|
42
|
+
calcomInstantMeetingCreated: definition("calcom.instantMeeting.created"),
|
|
43
|
+
calcomMeetingEnded: definition("calcom.meeting.ended"),
|
|
44
|
+
calcomMeetingStarted: definition("calcom.meeting.started"),
|
|
45
|
+
calcomOutOfOfficeCreated: definition("calcom.outOfOffice.created"),
|
|
46
|
+
calcomRecordingReady: definition("calcom.recording.ready"),
|
|
47
|
+
calcomRecordingTranscriptionGenerated: definition(
|
|
48
|
+
"calcom.recording.transcriptionGenerated",
|
|
49
|
+
),
|
|
50
|
+
calcomRoutingFormFallbackHit: definition("calcom.routingForm.fallbackHit"),
|
|
51
|
+
calcomWrongAssignmentReported: definition("calcom.wrongAssignmentReported"),
|
|
52
|
+
} as const satisfies Record<string, TriggerDefinition>
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Builds a Cal.com managed-webhook trigger definition.
|
|
56
|
+
*
|
|
57
|
+
* @param type Platform event type.
|
|
58
|
+
*/
|
|
59
|
+
function definition<TType extends string>(type: TType) {
|
|
60
|
+
return { account: CALCOM_ACCOUNT, type } as const
|
|
61
|
+
}
|
package/src/triggers/index.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { axiomTriggerDefinitions } from "./axiom"
|
|
|
5
5
|
import { automateTriggerDefinitions } from "./automate"
|
|
6
6
|
import { asanaTriggerDefinitions } from "./asana"
|
|
7
7
|
import { brevoTriggerDefinitions } from "./brevo"
|
|
8
|
+
import { calcomTriggerDefinitions } from "./calcom"
|
|
8
9
|
import { convexTriggerDefinitions } from "./convex"
|
|
9
10
|
import { discordTriggerDefinitions } from "./discord"
|
|
10
11
|
import { closeTriggerDefinitions } from "./close"
|
|
@@ -69,6 +70,7 @@ export const triggerDefinitions = {
|
|
|
69
70
|
...automateTriggerDefinitions,
|
|
70
71
|
...asanaTriggerDefinitions,
|
|
71
72
|
...brevoTriggerDefinitions,
|
|
73
|
+
...calcomTriggerDefinitions,
|
|
72
74
|
...convexTriggerDefinitions,
|
|
73
75
|
...discordTriggerDefinitions,
|
|
74
76
|
...closeTriggerDefinitions,
|