@automate.ax/catalog 0.147.1 → 0.148.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 CHANGED
@@ -1042,6 +1042,29 @@ export declare const calcomService: {
1042
1042
  readonly id: "calcom";
1043
1043
  readonly name: "Cal.com";
1044
1044
  };
1045
+ export declare const kitService: {
1046
+ readonly connectionMethods: readonly [{
1047
+ readonly id: "oauth";
1048
+ readonly name: "OAuth";
1049
+ readonly type: "redirect";
1050
+ }, {
1051
+ readonly credentialUrl: "https://app.kit.com/account_settings/developer_settings";
1052
+ readonly fields: readonly [{
1053
+ readonly input: "password";
1054
+ readonly label: "V4 API key";
1055
+ readonly name: "apiKey";
1056
+ readonly placeholder: "kit_...";
1057
+ readonly required: true;
1058
+ }];
1059
+ readonly id: "api-key";
1060
+ readonly name: "V4 API key";
1061
+ readonly type: "form";
1062
+ }];
1063
+ readonly description: "Connect Kit with OAuth or a V4 API key.";
1064
+ readonly id: "kit";
1065
+ readonly name: "Kit";
1066
+ readonly preferredConnectionMethodId: "oauth";
1067
+ };
1045
1068
  export declare const togetheraiService: {
1046
1069
  readonly id: "togetherai";
1047
1070
  readonly name: string;
@@ -1840,6 +1863,28 @@ export declare const integrationCatalog: readonly [{
1840
1863
  readonly type: "form";
1841
1864
  readonly credentialUrl?: string | undefined;
1842
1865
  }];
1866
+ }, {
1867
+ readonly connectionMethods: readonly [{
1868
+ readonly id: "oauth";
1869
+ readonly name: "OAuth";
1870
+ readonly type: "redirect";
1871
+ }, {
1872
+ readonly credentialUrl: "https://app.kit.com/account_settings/developer_settings";
1873
+ readonly fields: readonly [{
1874
+ readonly input: "password";
1875
+ readonly label: "V4 API key";
1876
+ readonly name: "apiKey";
1877
+ readonly placeholder: "kit_...";
1878
+ readonly required: true;
1879
+ }];
1880
+ readonly id: "api-key";
1881
+ readonly name: "V4 API key";
1882
+ readonly type: "form";
1883
+ }];
1884
+ readonly description: "Connect Kit with OAuth or a V4 API key.";
1885
+ readonly id: "kit";
1886
+ readonly name: "Kit";
1887
+ readonly preferredConnectionMethodId: "oauth";
1843
1888
  }, {
1844
1889
  readonly connectionMethods: readonly [{
1845
1890
  readonly id: "oauth";
package/dist/catalog.js CHANGED
@@ -780,6 +780,30 @@ export const calcomService = defineIntegrationService({
780
780
  id: "calcom",
781
781
  name: "Cal.com",
782
782
  });
783
+ export const kitService = defineIntegrationService({
784
+ connectionMethods: [
785
+ { id: "oauth", name: "OAuth", type: "redirect" },
786
+ {
787
+ credentialUrl: "https://app.kit.com/account_settings/developer_settings",
788
+ fields: [
789
+ {
790
+ input: "password",
791
+ label: "V4 API key",
792
+ name: "apiKey",
793
+ placeholder: "kit_...",
794
+ required: true,
795
+ },
796
+ ],
797
+ id: "api-key",
798
+ name: "V4 API key",
799
+ type: "form",
800
+ },
801
+ ],
802
+ description: "Connect Kit with OAuth or a V4 API key.",
803
+ id: "kit",
804
+ name: "Kit",
805
+ preferredConnectionMethodId: "oauth",
806
+ });
783
807
  export const togetheraiService = defineApiKeyService({
784
808
  description: "Connect a Together AI API key.",
785
809
  id: "togetherai",
@@ -882,6 +906,7 @@ export const integrationCatalog = defineIntegrationCatalog([
882
906
  hubspotService,
883
907
  highLevelService,
884
908
  jobNimbusService,
909
+ kitService,
885
910
  linearService,
886
911
  microsoftService,
887
912
  millionverifierService,
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
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, highLevelService, integrationCatalog, jobNimbusService, linearService, microsoftService, millionverifierService, mistralService, notionService, openaiService, onePasswordService, openrouterService, perplexityService, postgresService, redditService, resendService, scrapflyService, slackService, stripeService, tallyService, 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, highLevelService, integrationCatalog, jobNimbusService, kitService, linearService, microsoftService, millionverifierService, mistralService, notionService, openaiService, onePasswordService, openrouterService, perplexityService, postgresService, redditService, resendService, scrapflyService, slackService, stripeService, tallyService, 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, calcomService, browserbaseService, cerebrasService, chatgptService, cloudflareService, metaAdsService, closeService, closeBotService, clickUpService, codexService, cohereService, convexService, discordService, deepinfraService, deepseekService, firecrawlService, fireworksService, getIntegrationService, githubService, googleGenaiService, googleService, groqService, huggingfaceService, hubspotService, highLevelService, integrationCatalog, jobNimbusService, linearService, microsoftService, millionverifierService, mistralService, notionService, openaiService, onePasswordService, openrouterService, perplexityService, postgresService, redditService, resendService, scrapflyService, slackService, stripeService, tallyService, 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, highLevelService, integrationCatalog, jobNimbusService, kitService, linearService, microsoftService, millionverifierService, mistralService, notionService, openaiService, onePasswordService, openrouterService, perplexityService, postgresService, redditService, resendService, scrapflyService, slackService, stripeService, tallyService, 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";
@@ -3126,6 +3126,318 @@ export declare const triggerDefinitions: {
3126
3126
  };
3127
3127
  readonly type: "linear.user.updated";
3128
3128
  };
3129
+ readonly kitBroadcastCreated: {
3130
+ readonly account: {
3131
+ readonly connectionOptions: readonly [{
3132
+ readonly connectionMethodId: "oauth";
3133
+ readonly requiredScopes: readonly ["public"];
3134
+ }, {
3135
+ readonly connectionMethodId: "api-key";
3136
+ readonly requiredScopes: readonly [];
3137
+ }];
3138
+ readonly serviceId: "kit";
3139
+ };
3140
+ readonly type: "kit.broadcast.created";
3141
+ };
3142
+ readonly kitBroadcastDeleted: {
3143
+ readonly account: {
3144
+ readonly connectionOptions: readonly [{
3145
+ readonly connectionMethodId: "oauth";
3146
+ readonly requiredScopes: readonly ["public"];
3147
+ }, {
3148
+ readonly connectionMethodId: "api-key";
3149
+ readonly requiredScopes: readonly [];
3150
+ }];
3151
+ readonly serviceId: "kit";
3152
+ };
3153
+ readonly type: "kit.broadcast.deleted";
3154
+ };
3155
+ readonly kitBroadcastSent: {
3156
+ readonly account: {
3157
+ readonly connectionOptions: readonly [{
3158
+ readonly connectionMethodId: "oauth";
3159
+ readonly requiredScopes: readonly ["public"];
3160
+ }, {
3161
+ readonly connectionMethodId: "api-key";
3162
+ readonly requiredScopes: readonly [];
3163
+ }];
3164
+ readonly serviceId: "kit";
3165
+ };
3166
+ readonly type: "kit.broadcast.sent";
3167
+ };
3168
+ readonly kitCustomFieldCreated: {
3169
+ readonly account: {
3170
+ readonly connectionOptions: readonly [{
3171
+ readonly connectionMethodId: "oauth";
3172
+ readonly requiredScopes: readonly ["public"];
3173
+ }, {
3174
+ readonly connectionMethodId: "api-key";
3175
+ readonly requiredScopes: readonly [];
3176
+ }];
3177
+ readonly serviceId: "kit";
3178
+ };
3179
+ readonly type: "kit.customField.created";
3180
+ };
3181
+ readonly kitCustomFieldDeleted: {
3182
+ readonly account: {
3183
+ readonly connectionOptions: readonly [{
3184
+ readonly connectionMethodId: "oauth";
3185
+ readonly requiredScopes: readonly ["public"];
3186
+ }, {
3187
+ readonly connectionMethodId: "api-key";
3188
+ readonly requiredScopes: readonly [];
3189
+ }];
3190
+ readonly serviceId: "kit";
3191
+ };
3192
+ readonly type: "kit.customField.deleted";
3193
+ };
3194
+ readonly kitEvent: {
3195
+ readonly account: {
3196
+ readonly connectionOptions: readonly [{
3197
+ readonly connectionMethodId: "oauth";
3198
+ readonly requiredScopes: readonly ["public"];
3199
+ }, {
3200
+ readonly connectionMethodId: "api-key";
3201
+ readonly requiredScopes: readonly [];
3202
+ }];
3203
+ readonly serviceId: "kit";
3204
+ };
3205
+ readonly type: "kit.event";
3206
+ };
3207
+ readonly kitPostPublished: {
3208
+ readonly account: {
3209
+ readonly connectionOptions: readonly [{
3210
+ readonly connectionMethodId: "oauth";
3211
+ readonly requiredScopes: readonly ["public"];
3212
+ }, {
3213
+ readonly connectionMethodId: "api-key";
3214
+ readonly requiredScopes: readonly [];
3215
+ }];
3216
+ readonly serviceId: "kit";
3217
+ };
3218
+ readonly type: "kit.post.published";
3219
+ };
3220
+ readonly kitSequenceCreated: {
3221
+ readonly account: {
3222
+ readonly connectionOptions: readonly [{
3223
+ readonly connectionMethodId: "oauth";
3224
+ readonly requiredScopes: readonly ["public"];
3225
+ }, {
3226
+ readonly connectionMethodId: "api-key";
3227
+ readonly requiredScopes: readonly [];
3228
+ }];
3229
+ readonly serviceId: "kit";
3230
+ };
3231
+ readonly type: "kit.sequence.created";
3232
+ };
3233
+ readonly kitSequenceDeleted: {
3234
+ readonly account: {
3235
+ readonly connectionOptions: readonly [{
3236
+ readonly connectionMethodId: "oauth";
3237
+ readonly requiredScopes: readonly ["public"];
3238
+ }, {
3239
+ readonly connectionMethodId: "api-key";
3240
+ readonly requiredScopes: readonly [];
3241
+ }];
3242
+ readonly serviceId: "kit";
3243
+ };
3244
+ readonly type: "kit.sequence.deleted";
3245
+ };
3246
+ readonly kitSequenceDisabled: {
3247
+ readonly account: {
3248
+ readonly connectionOptions: readonly [{
3249
+ readonly connectionMethodId: "oauth";
3250
+ readonly requiredScopes: readonly ["public"];
3251
+ }, {
3252
+ readonly connectionMethodId: "api-key";
3253
+ readonly requiredScopes: readonly [];
3254
+ }];
3255
+ readonly serviceId: "kit";
3256
+ };
3257
+ readonly type: "kit.sequence.disabled";
3258
+ };
3259
+ readonly kitSequencePublished: {
3260
+ readonly account: {
3261
+ readonly connectionOptions: readonly [{
3262
+ readonly connectionMethodId: "oauth";
3263
+ readonly requiredScopes: readonly ["public"];
3264
+ }, {
3265
+ readonly connectionMethodId: "api-key";
3266
+ readonly requiredScopes: readonly [];
3267
+ }];
3268
+ readonly serviceId: "kit";
3269
+ };
3270
+ readonly type: "kit.sequence.published";
3271
+ };
3272
+ readonly kitSubscriberActivated: {
3273
+ readonly account: {
3274
+ readonly connectionOptions: readonly [{
3275
+ readonly connectionMethodId: "oauth";
3276
+ readonly requiredScopes: readonly ["public"];
3277
+ }, {
3278
+ readonly connectionMethodId: "api-key";
3279
+ readonly requiredScopes: readonly [];
3280
+ }];
3281
+ readonly serviceId: "kit";
3282
+ };
3283
+ readonly type: "kit.subscriber.activated";
3284
+ };
3285
+ readonly kitSubscriberAddedToSequence: {
3286
+ readonly account: {
3287
+ readonly connectionOptions: readonly [{
3288
+ readonly connectionMethodId: "oauth";
3289
+ readonly requiredScopes: readonly ["public"];
3290
+ }, {
3291
+ readonly connectionMethodId: "api-key";
3292
+ readonly requiredScopes: readonly [];
3293
+ }];
3294
+ readonly serviceId: "kit";
3295
+ };
3296
+ readonly type: "kit.subscriber.addedToSequence";
3297
+ };
3298
+ readonly kitSubscriberBounced: {
3299
+ readonly account: {
3300
+ readonly connectionOptions: readonly [{
3301
+ readonly connectionMethodId: "oauth";
3302
+ readonly requiredScopes: readonly ["public"];
3303
+ }, {
3304
+ readonly connectionMethodId: "api-key";
3305
+ readonly requiredScopes: readonly [];
3306
+ }];
3307
+ readonly serviceId: "kit";
3308
+ };
3309
+ readonly type: "kit.subscriber.bounced";
3310
+ };
3311
+ readonly kitSubscriberComplained: {
3312
+ readonly account: {
3313
+ readonly connectionOptions: readonly [{
3314
+ readonly connectionMethodId: "oauth";
3315
+ readonly requiredScopes: readonly ["public"];
3316
+ }, {
3317
+ readonly connectionMethodId: "api-key";
3318
+ readonly requiredScopes: readonly [];
3319
+ }];
3320
+ readonly serviceId: "kit";
3321
+ };
3322
+ readonly type: "kit.subscriber.complained";
3323
+ };
3324
+ readonly kitSubscriberCreated: {
3325
+ readonly account: {
3326
+ readonly connectionOptions: readonly [{
3327
+ readonly connectionMethodId: "oauth";
3328
+ readonly requiredScopes: readonly ["public"];
3329
+ }, {
3330
+ readonly connectionMethodId: "api-key";
3331
+ readonly requiredScopes: readonly [];
3332
+ }];
3333
+ readonly serviceId: "kit";
3334
+ };
3335
+ readonly type: "kit.subscriber.created";
3336
+ };
3337
+ readonly kitSubscriberCustomFieldValueUpdated: {
3338
+ readonly account: {
3339
+ readonly connectionOptions: readonly [{
3340
+ readonly connectionMethodId: "oauth";
3341
+ readonly requiredScopes: readonly ["public"];
3342
+ }, {
3343
+ readonly connectionMethodId: "api-key";
3344
+ readonly requiredScopes: readonly [];
3345
+ }];
3346
+ readonly serviceId: "kit";
3347
+ };
3348
+ readonly type: "kit.subscriber.customFieldValueUpdated";
3349
+ };
3350
+ readonly kitSubscriberSequenceCompleted: {
3351
+ readonly account: {
3352
+ readonly connectionOptions: readonly [{
3353
+ readonly connectionMethodId: "oauth";
3354
+ readonly requiredScopes: readonly ["public"];
3355
+ }, {
3356
+ readonly connectionMethodId: "api-key";
3357
+ readonly requiredScopes: readonly [];
3358
+ }];
3359
+ readonly serviceId: "kit";
3360
+ };
3361
+ readonly type: "kit.subscriber.sequenceCompleted";
3362
+ };
3363
+ readonly kitSubscriberSubscribedToForm: {
3364
+ readonly account: {
3365
+ readonly connectionOptions: readonly [{
3366
+ readonly connectionMethodId: "oauth";
3367
+ readonly requiredScopes: readonly ["public"];
3368
+ }, {
3369
+ readonly connectionMethodId: "api-key";
3370
+ readonly requiredScopes: readonly [];
3371
+ }];
3372
+ readonly serviceId: "kit";
3373
+ };
3374
+ readonly type: "kit.subscriber.subscribedToForm";
3375
+ };
3376
+ readonly kitSubscriberTagAdded: {
3377
+ readonly account: {
3378
+ readonly connectionOptions: readonly [{
3379
+ readonly connectionMethodId: "oauth";
3380
+ readonly requiredScopes: readonly ["public"];
3381
+ }, {
3382
+ readonly connectionMethodId: "api-key";
3383
+ readonly requiredScopes: readonly [];
3384
+ }];
3385
+ readonly serviceId: "kit";
3386
+ };
3387
+ readonly type: "kit.subscriber.tagAdded";
3388
+ };
3389
+ readonly kitSubscriberTagRemoved: {
3390
+ readonly account: {
3391
+ readonly connectionOptions: readonly [{
3392
+ readonly connectionMethodId: "oauth";
3393
+ readonly requiredScopes: readonly ["public"];
3394
+ }, {
3395
+ readonly connectionMethodId: "api-key";
3396
+ readonly requiredScopes: readonly [];
3397
+ }];
3398
+ readonly serviceId: "kit";
3399
+ };
3400
+ readonly type: "kit.subscriber.tagRemoved";
3401
+ };
3402
+ readonly kitSubscriberUnsubscribed: {
3403
+ readonly account: {
3404
+ readonly connectionOptions: readonly [{
3405
+ readonly connectionMethodId: "oauth";
3406
+ readonly requiredScopes: readonly ["public"];
3407
+ }, {
3408
+ readonly connectionMethodId: "api-key";
3409
+ readonly requiredScopes: readonly [];
3410
+ }];
3411
+ readonly serviceId: "kit";
3412
+ };
3413
+ readonly type: "kit.subscriber.unsubscribed";
3414
+ };
3415
+ readonly kitTagCreated: {
3416
+ readonly account: {
3417
+ readonly connectionOptions: readonly [{
3418
+ readonly connectionMethodId: "oauth";
3419
+ readonly requiredScopes: readonly ["public"];
3420
+ }, {
3421
+ readonly connectionMethodId: "api-key";
3422
+ readonly requiredScopes: readonly [];
3423
+ }];
3424
+ readonly serviceId: "kit";
3425
+ };
3426
+ readonly type: "kit.tag.created";
3427
+ };
3428
+ readonly kitTagDeleted: {
3429
+ readonly account: {
3430
+ readonly connectionOptions: readonly [{
3431
+ readonly connectionMethodId: "oauth";
3432
+ readonly requiredScopes: readonly ["public"];
3433
+ }, {
3434
+ readonly connectionMethodId: "api-key";
3435
+ readonly requiredScopes: readonly [];
3436
+ }];
3437
+ readonly serviceId: "kit";
3438
+ };
3439
+ readonly type: "kit.tag.deleted";
3440
+ };
3129
3441
  readonly hubspotCrmEvent: {
3130
3442
  account: import("..").IntegrationAccountRequirement<"hubspot">;
3131
3443
  type: "hubspot.crm.event";
@@ -14753,6 +15065,318 @@ export declare const triggerCatalog: ({
14753
15065
  name: string;
14754
15066
  account: import("..").IntegrationAccountRequirement<"hubspot">;
14755
15067
  type: "hubspot.ticket.updated";
15068
+ } | {
15069
+ name: string;
15070
+ account: {
15071
+ readonly connectionOptions: readonly [{
15072
+ readonly connectionMethodId: "oauth";
15073
+ readonly requiredScopes: readonly ["public"];
15074
+ }, {
15075
+ readonly connectionMethodId: "api-key";
15076
+ readonly requiredScopes: readonly [];
15077
+ }];
15078
+ readonly serviceId: "kit";
15079
+ };
15080
+ type: "kit.broadcast.created";
15081
+ } | {
15082
+ name: string;
15083
+ account: {
15084
+ readonly connectionOptions: readonly [{
15085
+ readonly connectionMethodId: "oauth";
15086
+ readonly requiredScopes: readonly ["public"];
15087
+ }, {
15088
+ readonly connectionMethodId: "api-key";
15089
+ readonly requiredScopes: readonly [];
15090
+ }];
15091
+ readonly serviceId: "kit";
15092
+ };
15093
+ type: "kit.broadcast.deleted";
15094
+ } | {
15095
+ name: string;
15096
+ account: {
15097
+ readonly connectionOptions: readonly [{
15098
+ readonly connectionMethodId: "oauth";
15099
+ readonly requiredScopes: readonly ["public"];
15100
+ }, {
15101
+ readonly connectionMethodId: "api-key";
15102
+ readonly requiredScopes: readonly [];
15103
+ }];
15104
+ readonly serviceId: "kit";
15105
+ };
15106
+ type: "kit.broadcast.sent";
15107
+ } | {
15108
+ name: string;
15109
+ account: {
15110
+ readonly connectionOptions: readonly [{
15111
+ readonly connectionMethodId: "oauth";
15112
+ readonly requiredScopes: readonly ["public"];
15113
+ }, {
15114
+ readonly connectionMethodId: "api-key";
15115
+ readonly requiredScopes: readonly [];
15116
+ }];
15117
+ readonly serviceId: "kit";
15118
+ };
15119
+ type: "kit.customField.created";
15120
+ } | {
15121
+ name: string;
15122
+ account: {
15123
+ readonly connectionOptions: readonly [{
15124
+ readonly connectionMethodId: "oauth";
15125
+ readonly requiredScopes: readonly ["public"];
15126
+ }, {
15127
+ readonly connectionMethodId: "api-key";
15128
+ readonly requiredScopes: readonly [];
15129
+ }];
15130
+ readonly serviceId: "kit";
15131
+ };
15132
+ type: "kit.customField.deleted";
15133
+ } | {
15134
+ name: string;
15135
+ account: {
15136
+ readonly connectionOptions: readonly [{
15137
+ readonly connectionMethodId: "oauth";
15138
+ readonly requiredScopes: readonly ["public"];
15139
+ }, {
15140
+ readonly connectionMethodId: "api-key";
15141
+ readonly requiredScopes: readonly [];
15142
+ }];
15143
+ readonly serviceId: "kit";
15144
+ };
15145
+ type: "kit.event";
15146
+ } | {
15147
+ name: string;
15148
+ account: {
15149
+ readonly connectionOptions: readonly [{
15150
+ readonly connectionMethodId: "oauth";
15151
+ readonly requiredScopes: readonly ["public"];
15152
+ }, {
15153
+ readonly connectionMethodId: "api-key";
15154
+ readonly requiredScopes: readonly [];
15155
+ }];
15156
+ readonly serviceId: "kit";
15157
+ };
15158
+ type: "kit.post.published";
15159
+ } | {
15160
+ name: string;
15161
+ account: {
15162
+ readonly connectionOptions: readonly [{
15163
+ readonly connectionMethodId: "oauth";
15164
+ readonly requiredScopes: readonly ["public"];
15165
+ }, {
15166
+ readonly connectionMethodId: "api-key";
15167
+ readonly requiredScopes: readonly [];
15168
+ }];
15169
+ readonly serviceId: "kit";
15170
+ };
15171
+ type: "kit.sequence.created";
15172
+ } | {
15173
+ name: string;
15174
+ account: {
15175
+ readonly connectionOptions: readonly [{
15176
+ readonly connectionMethodId: "oauth";
15177
+ readonly requiredScopes: readonly ["public"];
15178
+ }, {
15179
+ readonly connectionMethodId: "api-key";
15180
+ readonly requiredScopes: readonly [];
15181
+ }];
15182
+ readonly serviceId: "kit";
15183
+ };
15184
+ type: "kit.sequence.deleted";
15185
+ } | {
15186
+ name: string;
15187
+ account: {
15188
+ readonly connectionOptions: readonly [{
15189
+ readonly connectionMethodId: "oauth";
15190
+ readonly requiredScopes: readonly ["public"];
15191
+ }, {
15192
+ readonly connectionMethodId: "api-key";
15193
+ readonly requiredScopes: readonly [];
15194
+ }];
15195
+ readonly serviceId: "kit";
15196
+ };
15197
+ type: "kit.sequence.disabled";
15198
+ } | {
15199
+ name: string;
15200
+ account: {
15201
+ readonly connectionOptions: readonly [{
15202
+ readonly connectionMethodId: "oauth";
15203
+ readonly requiredScopes: readonly ["public"];
15204
+ }, {
15205
+ readonly connectionMethodId: "api-key";
15206
+ readonly requiredScopes: readonly [];
15207
+ }];
15208
+ readonly serviceId: "kit";
15209
+ };
15210
+ type: "kit.sequence.published";
15211
+ } | {
15212
+ name: string;
15213
+ account: {
15214
+ readonly connectionOptions: readonly [{
15215
+ readonly connectionMethodId: "oauth";
15216
+ readonly requiredScopes: readonly ["public"];
15217
+ }, {
15218
+ readonly connectionMethodId: "api-key";
15219
+ readonly requiredScopes: readonly [];
15220
+ }];
15221
+ readonly serviceId: "kit";
15222
+ };
15223
+ type: "kit.subscriber.activated";
15224
+ } | {
15225
+ name: string;
15226
+ account: {
15227
+ readonly connectionOptions: readonly [{
15228
+ readonly connectionMethodId: "oauth";
15229
+ readonly requiredScopes: readonly ["public"];
15230
+ }, {
15231
+ readonly connectionMethodId: "api-key";
15232
+ readonly requiredScopes: readonly [];
15233
+ }];
15234
+ readonly serviceId: "kit";
15235
+ };
15236
+ type: "kit.subscriber.addedToSequence";
15237
+ } | {
15238
+ name: string;
15239
+ account: {
15240
+ readonly connectionOptions: readonly [{
15241
+ readonly connectionMethodId: "oauth";
15242
+ readonly requiredScopes: readonly ["public"];
15243
+ }, {
15244
+ readonly connectionMethodId: "api-key";
15245
+ readonly requiredScopes: readonly [];
15246
+ }];
15247
+ readonly serviceId: "kit";
15248
+ };
15249
+ type: "kit.subscriber.bounced";
15250
+ } | {
15251
+ name: string;
15252
+ account: {
15253
+ readonly connectionOptions: readonly [{
15254
+ readonly connectionMethodId: "oauth";
15255
+ readonly requiredScopes: readonly ["public"];
15256
+ }, {
15257
+ readonly connectionMethodId: "api-key";
15258
+ readonly requiredScopes: readonly [];
15259
+ }];
15260
+ readonly serviceId: "kit";
15261
+ };
15262
+ type: "kit.subscriber.complained";
15263
+ } | {
15264
+ name: string;
15265
+ account: {
15266
+ readonly connectionOptions: readonly [{
15267
+ readonly connectionMethodId: "oauth";
15268
+ readonly requiredScopes: readonly ["public"];
15269
+ }, {
15270
+ readonly connectionMethodId: "api-key";
15271
+ readonly requiredScopes: readonly [];
15272
+ }];
15273
+ readonly serviceId: "kit";
15274
+ };
15275
+ type: "kit.subscriber.created";
15276
+ } | {
15277
+ name: string;
15278
+ account: {
15279
+ readonly connectionOptions: readonly [{
15280
+ readonly connectionMethodId: "oauth";
15281
+ readonly requiredScopes: readonly ["public"];
15282
+ }, {
15283
+ readonly connectionMethodId: "api-key";
15284
+ readonly requiredScopes: readonly [];
15285
+ }];
15286
+ readonly serviceId: "kit";
15287
+ };
15288
+ type: "kit.subscriber.customFieldValueUpdated";
15289
+ } | {
15290
+ name: string;
15291
+ account: {
15292
+ readonly connectionOptions: readonly [{
15293
+ readonly connectionMethodId: "oauth";
15294
+ readonly requiredScopes: readonly ["public"];
15295
+ }, {
15296
+ readonly connectionMethodId: "api-key";
15297
+ readonly requiredScopes: readonly [];
15298
+ }];
15299
+ readonly serviceId: "kit";
15300
+ };
15301
+ type: "kit.subscriber.sequenceCompleted";
15302
+ } | {
15303
+ name: string;
15304
+ account: {
15305
+ readonly connectionOptions: readonly [{
15306
+ readonly connectionMethodId: "oauth";
15307
+ readonly requiredScopes: readonly ["public"];
15308
+ }, {
15309
+ readonly connectionMethodId: "api-key";
15310
+ readonly requiredScopes: readonly [];
15311
+ }];
15312
+ readonly serviceId: "kit";
15313
+ };
15314
+ type: "kit.subscriber.subscribedToForm";
15315
+ } | {
15316
+ name: string;
15317
+ account: {
15318
+ readonly connectionOptions: readonly [{
15319
+ readonly connectionMethodId: "oauth";
15320
+ readonly requiredScopes: readonly ["public"];
15321
+ }, {
15322
+ readonly connectionMethodId: "api-key";
15323
+ readonly requiredScopes: readonly [];
15324
+ }];
15325
+ readonly serviceId: "kit";
15326
+ };
15327
+ type: "kit.subscriber.tagAdded";
15328
+ } | {
15329
+ name: string;
15330
+ account: {
15331
+ readonly connectionOptions: readonly [{
15332
+ readonly connectionMethodId: "oauth";
15333
+ readonly requiredScopes: readonly ["public"];
15334
+ }, {
15335
+ readonly connectionMethodId: "api-key";
15336
+ readonly requiredScopes: readonly [];
15337
+ }];
15338
+ readonly serviceId: "kit";
15339
+ };
15340
+ type: "kit.subscriber.tagRemoved";
15341
+ } | {
15342
+ name: string;
15343
+ account: {
15344
+ readonly connectionOptions: readonly [{
15345
+ readonly connectionMethodId: "oauth";
15346
+ readonly requiredScopes: readonly ["public"];
15347
+ }, {
15348
+ readonly connectionMethodId: "api-key";
15349
+ readonly requiredScopes: readonly [];
15350
+ }];
15351
+ readonly serviceId: "kit";
15352
+ };
15353
+ type: "kit.subscriber.unsubscribed";
15354
+ } | {
15355
+ name: string;
15356
+ account: {
15357
+ readonly connectionOptions: readonly [{
15358
+ readonly connectionMethodId: "oauth";
15359
+ readonly requiredScopes: readonly ["public"];
15360
+ }, {
15361
+ readonly connectionMethodId: "api-key";
15362
+ readonly requiredScopes: readonly [];
15363
+ }];
15364
+ readonly serviceId: "kit";
15365
+ };
15366
+ type: "kit.tag.created";
15367
+ } | {
15368
+ name: string;
15369
+ account: {
15370
+ readonly connectionOptions: readonly [{
15371
+ readonly connectionMethodId: "oauth";
15372
+ readonly requiredScopes: readonly ["public"];
15373
+ }, {
15374
+ readonly connectionMethodId: "api-key";
15375
+ readonly requiredScopes: readonly [];
15376
+ }];
15377
+ readonly serviceId: "kit";
15378
+ };
15379
+ type: "kit.tag.deleted";
14756
15380
  } | {
14757
15381
  name: string;
14758
15382
  account: {
@@ -17,6 +17,7 @@ import { githubTriggerDefinitions } from "./github.js";
17
17
  import { googleTriggerDefinitions } from "./google.js";
18
18
  import { googleAdsTriggerDefinitions } from "./google-ads.js";
19
19
  import { hubspotTriggerDefinitions } from "./hubspot.js";
20
+ import { kitTriggerDefinitions } from "./kit.js";
20
21
  import { linearTriggerDefinitions } from "./linear.js";
21
22
  import { millionVerifierTriggerDefinitions } from "./millionverifier.js";
22
23
  import { microsoftTriggerDefinitions } from "./microsoft.js";
@@ -55,6 +56,7 @@ export const triggerDefinitions = {
55
56
  ...googleTriggerDefinitions,
56
57
  ...googleAdsTriggerDefinitions,
57
58
  ...hubspotTriggerDefinitions,
59
+ ...kitTriggerDefinitions,
58
60
  ...linearTriggerDefinitions,
59
61
  ...millionVerifierTriggerDefinitions,
60
62
  ...microsoftTriggerDefinitions,
@@ -0,0 +1,314 @@
1
+ export declare const kitTriggerDefinitions: {
2
+ readonly kitBroadcastCreated: {
3
+ readonly account: {
4
+ readonly connectionOptions: readonly [{
5
+ readonly connectionMethodId: "oauth";
6
+ readonly requiredScopes: readonly ["public"];
7
+ }, {
8
+ readonly connectionMethodId: "api-key";
9
+ readonly requiredScopes: readonly [];
10
+ }];
11
+ readonly serviceId: "kit";
12
+ };
13
+ readonly type: "kit.broadcast.created";
14
+ };
15
+ readonly kitBroadcastDeleted: {
16
+ readonly account: {
17
+ readonly connectionOptions: readonly [{
18
+ readonly connectionMethodId: "oauth";
19
+ readonly requiredScopes: readonly ["public"];
20
+ }, {
21
+ readonly connectionMethodId: "api-key";
22
+ readonly requiredScopes: readonly [];
23
+ }];
24
+ readonly serviceId: "kit";
25
+ };
26
+ readonly type: "kit.broadcast.deleted";
27
+ };
28
+ readonly kitBroadcastSent: {
29
+ readonly account: {
30
+ readonly connectionOptions: readonly [{
31
+ readonly connectionMethodId: "oauth";
32
+ readonly requiredScopes: readonly ["public"];
33
+ }, {
34
+ readonly connectionMethodId: "api-key";
35
+ readonly requiredScopes: readonly [];
36
+ }];
37
+ readonly serviceId: "kit";
38
+ };
39
+ readonly type: "kit.broadcast.sent";
40
+ };
41
+ readonly kitCustomFieldCreated: {
42
+ readonly account: {
43
+ readonly connectionOptions: readonly [{
44
+ readonly connectionMethodId: "oauth";
45
+ readonly requiredScopes: readonly ["public"];
46
+ }, {
47
+ readonly connectionMethodId: "api-key";
48
+ readonly requiredScopes: readonly [];
49
+ }];
50
+ readonly serviceId: "kit";
51
+ };
52
+ readonly type: "kit.customField.created";
53
+ };
54
+ readonly kitCustomFieldDeleted: {
55
+ readonly account: {
56
+ readonly connectionOptions: readonly [{
57
+ readonly connectionMethodId: "oauth";
58
+ readonly requiredScopes: readonly ["public"];
59
+ }, {
60
+ readonly connectionMethodId: "api-key";
61
+ readonly requiredScopes: readonly [];
62
+ }];
63
+ readonly serviceId: "kit";
64
+ };
65
+ readonly type: "kit.customField.deleted";
66
+ };
67
+ readonly kitEvent: {
68
+ readonly account: {
69
+ readonly connectionOptions: readonly [{
70
+ readonly connectionMethodId: "oauth";
71
+ readonly requiredScopes: readonly ["public"];
72
+ }, {
73
+ readonly connectionMethodId: "api-key";
74
+ readonly requiredScopes: readonly [];
75
+ }];
76
+ readonly serviceId: "kit";
77
+ };
78
+ readonly type: "kit.event";
79
+ };
80
+ readonly kitPostPublished: {
81
+ readonly account: {
82
+ readonly connectionOptions: readonly [{
83
+ readonly connectionMethodId: "oauth";
84
+ readonly requiredScopes: readonly ["public"];
85
+ }, {
86
+ readonly connectionMethodId: "api-key";
87
+ readonly requiredScopes: readonly [];
88
+ }];
89
+ readonly serviceId: "kit";
90
+ };
91
+ readonly type: "kit.post.published";
92
+ };
93
+ readonly kitSequenceCreated: {
94
+ readonly account: {
95
+ readonly connectionOptions: readonly [{
96
+ readonly connectionMethodId: "oauth";
97
+ readonly requiredScopes: readonly ["public"];
98
+ }, {
99
+ readonly connectionMethodId: "api-key";
100
+ readonly requiredScopes: readonly [];
101
+ }];
102
+ readonly serviceId: "kit";
103
+ };
104
+ readonly type: "kit.sequence.created";
105
+ };
106
+ readonly kitSequenceDeleted: {
107
+ readonly account: {
108
+ readonly connectionOptions: readonly [{
109
+ readonly connectionMethodId: "oauth";
110
+ readonly requiredScopes: readonly ["public"];
111
+ }, {
112
+ readonly connectionMethodId: "api-key";
113
+ readonly requiredScopes: readonly [];
114
+ }];
115
+ readonly serviceId: "kit";
116
+ };
117
+ readonly type: "kit.sequence.deleted";
118
+ };
119
+ readonly kitSequenceDisabled: {
120
+ readonly account: {
121
+ readonly connectionOptions: readonly [{
122
+ readonly connectionMethodId: "oauth";
123
+ readonly requiredScopes: readonly ["public"];
124
+ }, {
125
+ readonly connectionMethodId: "api-key";
126
+ readonly requiredScopes: readonly [];
127
+ }];
128
+ readonly serviceId: "kit";
129
+ };
130
+ readonly type: "kit.sequence.disabled";
131
+ };
132
+ readonly kitSequencePublished: {
133
+ readonly account: {
134
+ readonly connectionOptions: readonly [{
135
+ readonly connectionMethodId: "oauth";
136
+ readonly requiredScopes: readonly ["public"];
137
+ }, {
138
+ readonly connectionMethodId: "api-key";
139
+ readonly requiredScopes: readonly [];
140
+ }];
141
+ readonly serviceId: "kit";
142
+ };
143
+ readonly type: "kit.sequence.published";
144
+ };
145
+ readonly kitSubscriberActivated: {
146
+ readonly account: {
147
+ readonly connectionOptions: readonly [{
148
+ readonly connectionMethodId: "oauth";
149
+ readonly requiredScopes: readonly ["public"];
150
+ }, {
151
+ readonly connectionMethodId: "api-key";
152
+ readonly requiredScopes: readonly [];
153
+ }];
154
+ readonly serviceId: "kit";
155
+ };
156
+ readonly type: "kit.subscriber.activated";
157
+ };
158
+ readonly kitSubscriberAddedToSequence: {
159
+ readonly account: {
160
+ readonly connectionOptions: readonly [{
161
+ readonly connectionMethodId: "oauth";
162
+ readonly requiredScopes: readonly ["public"];
163
+ }, {
164
+ readonly connectionMethodId: "api-key";
165
+ readonly requiredScopes: readonly [];
166
+ }];
167
+ readonly serviceId: "kit";
168
+ };
169
+ readonly type: "kit.subscriber.addedToSequence";
170
+ };
171
+ readonly kitSubscriberBounced: {
172
+ readonly account: {
173
+ readonly connectionOptions: readonly [{
174
+ readonly connectionMethodId: "oauth";
175
+ readonly requiredScopes: readonly ["public"];
176
+ }, {
177
+ readonly connectionMethodId: "api-key";
178
+ readonly requiredScopes: readonly [];
179
+ }];
180
+ readonly serviceId: "kit";
181
+ };
182
+ readonly type: "kit.subscriber.bounced";
183
+ };
184
+ readonly kitSubscriberComplained: {
185
+ readonly account: {
186
+ readonly connectionOptions: readonly [{
187
+ readonly connectionMethodId: "oauth";
188
+ readonly requiredScopes: readonly ["public"];
189
+ }, {
190
+ readonly connectionMethodId: "api-key";
191
+ readonly requiredScopes: readonly [];
192
+ }];
193
+ readonly serviceId: "kit";
194
+ };
195
+ readonly type: "kit.subscriber.complained";
196
+ };
197
+ readonly kitSubscriberCreated: {
198
+ readonly account: {
199
+ readonly connectionOptions: readonly [{
200
+ readonly connectionMethodId: "oauth";
201
+ readonly requiredScopes: readonly ["public"];
202
+ }, {
203
+ readonly connectionMethodId: "api-key";
204
+ readonly requiredScopes: readonly [];
205
+ }];
206
+ readonly serviceId: "kit";
207
+ };
208
+ readonly type: "kit.subscriber.created";
209
+ };
210
+ readonly kitSubscriberCustomFieldValueUpdated: {
211
+ readonly account: {
212
+ readonly connectionOptions: readonly [{
213
+ readonly connectionMethodId: "oauth";
214
+ readonly requiredScopes: readonly ["public"];
215
+ }, {
216
+ readonly connectionMethodId: "api-key";
217
+ readonly requiredScopes: readonly [];
218
+ }];
219
+ readonly serviceId: "kit";
220
+ };
221
+ readonly type: "kit.subscriber.customFieldValueUpdated";
222
+ };
223
+ readonly kitSubscriberSequenceCompleted: {
224
+ readonly account: {
225
+ readonly connectionOptions: readonly [{
226
+ readonly connectionMethodId: "oauth";
227
+ readonly requiredScopes: readonly ["public"];
228
+ }, {
229
+ readonly connectionMethodId: "api-key";
230
+ readonly requiredScopes: readonly [];
231
+ }];
232
+ readonly serviceId: "kit";
233
+ };
234
+ readonly type: "kit.subscriber.sequenceCompleted";
235
+ };
236
+ readonly kitSubscriberSubscribedToForm: {
237
+ readonly account: {
238
+ readonly connectionOptions: readonly [{
239
+ readonly connectionMethodId: "oauth";
240
+ readonly requiredScopes: readonly ["public"];
241
+ }, {
242
+ readonly connectionMethodId: "api-key";
243
+ readonly requiredScopes: readonly [];
244
+ }];
245
+ readonly serviceId: "kit";
246
+ };
247
+ readonly type: "kit.subscriber.subscribedToForm";
248
+ };
249
+ readonly kitSubscriberTagAdded: {
250
+ readonly account: {
251
+ readonly connectionOptions: readonly [{
252
+ readonly connectionMethodId: "oauth";
253
+ readonly requiredScopes: readonly ["public"];
254
+ }, {
255
+ readonly connectionMethodId: "api-key";
256
+ readonly requiredScopes: readonly [];
257
+ }];
258
+ readonly serviceId: "kit";
259
+ };
260
+ readonly type: "kit.subscriber.tagAdded";
261
+ };
262
+ readonly kitSubscriberTagRemoved: {
263
+ readonly account: {
264
+ readonly connectionOptions: readonly [{
265
+ readonly connectionMethodId: "oauth";
266
+ readonly requiredScopes: readonly ["public"];
267
+ }, {
268
+ readonly connectionMethodId: "api-key";
269
+ readonly requiredScopes: readonly [];
270
+ }];
271
+ readonly serviceId: "kit";
272
+ };
273
+ readonly type: "kit.subscriber.tagRemoved";
274
+ };
275
+ readonly kitSubscriberUnsubscribed: {
276
+ readonly account: {
277
+ readonly connectionOptions: readonly [{
278
+ readonly connectionMethodId: "oauth";
279
+ readonly requiredScopes: readonly ["public"];
280
+ }, {
281
+ readonly connectionMethodId: "api-key";
282
+ readonly requiredScopes: readonly [];
283
+ }];
284
+ readonly serviceId: "kit";
285
+ };
286
+ readonly type: "kit.subscriber.unsubscribed";
287
+ };
288
+ readonly kitTagCreated: {
289
+ readonly account: {
290
+ readonly connectionOptions: readonly [{
291
+ readonly connectionMethodId: "oauth";
292
+ readonly requiredScopes: readonly ["public"];
293
+ }, {
294
+ readonly connectionMethodId: "api-key";
295
+ readonly requiredScopes: readonly [];
296
+ }];
297
+ readonly serviceId: "kit";
298
+ };
299
+ readonly type: "kit.tag.created";
300
+ };
301
+ readonly kitTagDeleted: {
302
+ readonly account: {
303
+ readonly connectionOptions: readonly [{
304
+ readonly connectionMethodId: "oauth";
305
+ readonly requiredScopes: readonly ["public"];
306
+ }, {
307
+ readonly connectionMethodId: "api-key";
308
+ readonly requiredScopes: readonly [];
309
+ }];
310
+ readonly serviceId: "kit";
311
+ };
312
+ readonly type: "kit.tag.deleted";
313
+ };
314
+ };
@@ -0,0 +1,41 @@
1
+ const KIT_ACCOUNT = {
2
+ connectionOptions: [
3
+ { connectionMethodId: "oauth", requiredScopes: ["public"] },
4
+ { connectionMethodId: "api-key", requiredScopes: [] },
5
+ ],
6
+ serviceId: "kit",
7
+ };
8
+ export const kitTriggerDefinitions = {
9
+ kitBroadcastCreated: definition("kit.broadcast.created"),
10
+ kitBroadcastDeleted: definition("kit.broadcast.deleted"),
11
+ kitBroadcastSent: definition("kit.broadcast.sent"),
12
+ kitCustomFieldCreated: definition("kit.customField.created"),
13
+ kitCustomFieldDeleted: definition("kit.customField.deleted"),
14
+ kitEvent: definition("kit.event"),
15
+ kitPostPublished: definition("kit.post.published"),
16
+ kitSequenceCreated: definition("kit.sequence.created"),
17
+ kitSequenceDeleted: definition("kit.sequence.deleted"),
18
+ kitSequenceDisabled: definition("kit.sequence.disabled"),
19
+ kitSequencePublished: definition("kit.sequence.published"),
20
+ kitSubscriberActivated: definition("kit.subscriber.activated"),
21
+ kitSubscriberAddedToSequence: definition("kit.subscriber.addedToSequence"),
22
+ kitSubscriberBounced: definition("kit.subscriber.bounced"),
23
+ kitSubscriberComplained: definition("kit.subscriber.complained"),
24
+ kitSubscriberCreated: definition("kit.subscriber.created"),
25
+ kitSubscriberCustomFieldValueUpdated: definition("kit.subscriber.customFieldValueUpdated"),
26
+ kitSubscriberSequenceCompleted: definition("kit.subscriber.sequenceCompleted"),
27
+ kitSubscriberSubscribedToForm: definition("kit.subscriber.subscribedToForm"),
28
+ kitSubscriberTagAdded: definition("kit.subscriber.tagAdded"),
29
+ kitSubscriberTagRemoved: definition("kit.subscriber.tagRemoved"),
30
+ kitSubscriberUnsubscribed: definition("kit.subscriber.unsubscribed"),
31
+ kitTagCreated: definition("kit.tag.created"),
32
+ kitTagDeleted: definition("kit.tag.deleted"),
33
+ };
34
+ /**
35
+ * Builds one Kit catalog event definition.
36
+ *
37
+ * @param type Platform event type.
38
+ */
39
+ function definition(type) {
40
+ return { account: KIT_ACCOUNT, type };
41
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automate.ax/catalog",
3
- "version": "0.147.1",
3
+ "version": "0.148.0",
4
4
  "description": "Shared integration service and trigger definitions for Automate.ax.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -30,6 +30,7 @@
30
30
  "./triggers/clickup": "./src/triggers/clickup.ts",
31
31
  "./triggers/brevo": "./src/triggers/brevo.ts",
32
32
  "./triggers/calcom": "./src/triggers/calcom.ts",
33
+ "./triggers/kit": "./src/triggers/kit.ts",
33
34
  "./triggers/cloudflare": "./src/triggers/cloudflare.ts",
34
35
  "./triggers/convex": "./src/triggers/convex.ts",
35
36
  "./triggers/discord": "./src/triggers/discord.ts",
@@ -157,6 +158,11 @@
157
158
  "types": "./dist/triggers/calcom.d.ts",
158
159
  "default": "./dist/triggers/calcom.js"
159
160
  },
161
+ "./triggers/kit": {
162
+ "bun": "./src/triggers/kit.ts",
163
+ "types": "./dist/triggers/kit.d.ts",
164
+ "default": "./dist/triggers/kit.js"
165
+ },
160
166
  "./triggers/cloudflare": {
161
167
  "bun": "./src/triggers/cloudflare.ts",
162
168
  "types": "./dist/triggers/cloudflare.d.ts",
package/src/catalog.ts CHANGED
@@ -860,6 +860,31 @@ export const calcomService = defineIntegrationService({
860
860
  name: "Cal.com",
861
861
  })
862
862
 
863
+ export const kitService = defineIntegrationService({
864
+ connectionMethods: [
865
+ { id: "oauth", name: "OAuth", type: "redirect" },
866
+ {
867
+ credentialUrl: "https://app.kit.com/account_settings/developer_settings",
868
+ fields: [
869
+ {
870
+ input: "password",
871
+ label: "V4 API key",
872
+ name: "apiKey",
873
+ placeholder: "kit_...",
874
+ required: true,
875
+ },
876
+ ],
877
+ id: "api-key",
878
+ name: "V4 API key",
879
+ type: "form",
880
+ },
881
+ ],
882
+ description: "Connect Kit with OAuth or a V4 API key.",
883
+ id: "kit",
884
+ name: "Kit",
885
+ preferredConnectionMethodId: "oauth",
886
+ })
887
+
863
888
  export const togetheraiService = defineApiKeyService({
864
889
  description: "Connect a Together AI API key.",
865
890
  id: "togetherai",
@@ -971,6 +996,7 @@ export const integrationCatalog = defineIntegrationCatalog([
971
996
  hubspotService,
972
997
  highLevelService,
973
998
  jobNimbusService,
999
+ kitService,
974
1000
  linearService,
975
1001
  microsoftService,
976
1002
  millionverifierService,
package/src/index.ts CHANGED
@@ -35,6 +35,7 @@ export {
35
35
  highLevelService,
36
36
  integrationCatalog,
37
37
  jobNimbusService,
38
+ kitService,
38
39
  linearService,
39
40
  microsoftService,
40
41
  millionverifierService,
@@ -17,6 +17,7 @@ import { githubTriggerDefinitions } from "./github"
17
17
  import { googleTriggerDefinitions } from "./google"
18
18
  import { googleAdsTriggerDefinitions } from "./google-ads"
19
19
  import { hubspotTriggerDefinitions } from "./hubspot"
20
+ import { kitTriggerDefinitions } from "./kit"
20
21
  import { linearTriggerDefinitions } from "./linear"
21
22
  import { millionVerifierTriggerDefinitions } from "./millionverifier"
22
23
  import { microsoftTriggerDefinitions } from "./microsoft"
@@ -83,6 +84,7 @@ export const triggerDefinitions = {
83
84
  ...googleTriggerDefinitions,
84
85
  ...googleAdsTriggerDefinitions,
85
86
  ...hubspotTriggerDefinitions,
87
+ ...kitTriggerDefinitions,
86
88
  ...linearTriggerDefinitions,
87
89
  ...millionVerifierTriggerDefinitions,
88
90
  ...microsoftTriggerDefinitions,
@@ -0,0 +1,49 @@
1
+ import type { IntegrationAccountRequirement, TriggerDefinition } from "../types"
2
+
3
+ const KIT_ACCOUNT = {
4
+ connectionOptions: [
5
+ { connectionMethodId: "oauth", requiredScopes: ["public"] },
6
+ { connectionMethodId: "api-key", requiredScopes: [] },
7
+ ],
8
+ serviceId: "kit",
9
+ } as const satisfies IntegrationAccountRequirement
10
+
11
+ export const kitTriggerDefinitions = {
12
+ kitBroadcastCreated: definition("kit.broadcast.created"),
13
+ kitBroadcastDeleted: definition("kit.broadcast.deleted"),
14
+ kitBroadcastSent: definition("kit.broadcast.sent"),
15
+ kitCustomFieldCreated: definition("kit.customField.created"),
16
+ kitCustomFieldDeleted: definition("kit.customField.deleted"),
17
+ kitEvent: definition("kit.event"),
18
+ kitPostPublished: definition("kit.post.published"),
19
+ kitSequenceCreated: definition("kit.sequence.created"),
20
+ kitSequenceDeleted: definition("kit.sequence.deleted"),
21
+ kitSequenceDisabled: definition("kit.sequence.disabled"),
22
+ kitSequencePublished: definition("kit.sequence.published"),
23
+ kitSubscriberActivated: definition("kit.subscriber.activated"),
24
+ kitSubscriberAddedToSequence: definition("kit.subscriber.addedToSequence"),
25
+ kitSubscriberBounced: definition("kit.subscriber.bounced"),
26
+ kitSubscriberComplained: definition("kit.subscriber.complained"),
27
+ kitSubscriberCreated: definition("kit.subscriber.created"),
28
+ kitSubscriberCustomFieldValueUpdated: definition(
29
+ "kit.subscriber.customFieldValueUpdated",
30
+ ),
31
+ kitSubscriberSequenceCompleted: definition(
32
+ "kit.subscriber.sequenceCompleted",
33
+ ),
34
+ kitSubscriberSubscribedToForm: definition("kit.subscriber.subscribedToForm"),
35
+ kitSubscriberTagAdded: definition("kit.subscriber.tagAdded"),
36
+ kitSubscriberTagRemoved: definition("kit.subscriber.tagRemoved"),
37
+ kitSubscriberUnsubscribed: definition("kit.subscriber.unsubscribed"),
38
+ kitTagCreated: definition("kit.tag.created"),
39
+ kitTagDeleted: definition("kit.tag.deleted"),
40
+ } as const satisfies Record<string, TriggerDefinition>
41
+
42
+ /**
43
+ * Builds one Kit catalog event definition.
44
+ *
45
+ * @param type Platform event type.
46
+ */
47
+ function definition<TType extends string>(type: TType) {
48
+ return { account: KIT_ACCOUNT, type } as const
49
+ }