@automate.ax/catalog 0.111.1 → 0.112.4

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.
@@ -10,6 +10,26 @@ export declare const vercelTriggerDefinitions: {
10
10
  readonly name: "Vercel deployment event";
11
11
  readonly type: "vercel.deployment";
12
12
  };
13
+ readonly vercelDeploymentCheckRerequested: {
14
+ readonly account: {
15
+ readonly connectionOptions: readonly [{
16
+ readonly connectionMethodId: "oauth";
17
+ readonly requiredScopes: readonly ["deployment:read"];
18
+ }];
19
+ readonly serviceId: "vercel";
20
+ };
21
+ readonly type: "vercel.deployment.checkRerequested";
22
+ };
23
+ readonly vercelDeploymentCleanup: {
24
+ readonly account: {
25
+ readonly connectionOptions: readonly [{
26
+ readonly connectionMethodId: "oauth";
27
+ readonly requiredScopes: readonly ["deployment:read"];
28
+ }];
29
+ readonly serviceId: "vercel";
30
+ };
31
+ readonly type: "vercel.deployment.cleanup";
32
+ };
13
33
  readonly vercelDeploymentCanceled: {
14
34
  readonly account: {
15
35
  readonly connectionOptions: readonly [{
@@ -50,6 +70,46 @@ export declare const vercelTriggerDefinitions: {
50
70
  };
51
71
  readonly type: "vercel.deployment.promoted";
52
72
  };
73
+ readonly vercelDeploymentRollback: {
74
+ readonly account: {
75
+ readonly connectionOptions: readonly [{
76
+ readonly connectionMethodId: "oauth";
77
+ readonly requiredScopes: readonly ["deployment:read"];
78
+ }];
79
+ readonly serviceId: "vercel";
80
+ };
81
+ readonly type: "vercel.deployment.rollback";
82
+ };
83
+ readonly vercelDeploymentIntegrationActionCancel: {
84
+ readonly account: {
85
+ readonly connectionOptions: readonly [{
86
+ readonly connectionMethodId: "oauth";
87
+ readonly requiredScopes: readonly ["deployment:read"];
88
+ }];
89
+ readonly serviceId: "vercel";
90
+ };
91
+ readonly type: "vercel.deployment.integrationActionCancel";
92
+ };
93
+ readonly vercelDeploymentIntegrationActionCleanup: {
94
+ readonly account: {
95
+ readonly connectionOptions: readonly [{
96
+ readonly connectionMethodId: "oauth";
97
+ readonly requiredScopes: readonly ["deployment:read"];
98
+ }];
99
+ readonly serviceId: "vercel";
100
+ };
101
+ readonly type: "vercel.deployment.integrationActionCleanup";
102
+ };
103
+ readonly vercelDeploymentIntegrationActionStart: {
104
+ readonly account: {
105
+ readonly connectionOptions: readonly [{
106
+ readonly connectionMethodId: "oauth";
107
+ readonly requiredScopes: readonly ["deployment:read"];
108
+ }];
109
+ readonly serviceId: "vercel";
110
+ };
111
+ readonly type: "vercel.deployment.integrationActionStart";
112
+ };
53
113
  readonly vercelDeploymentReady: {
54
114
  readonly account: {
55
115
  readonly connectionOptions: readonly [{
@@ -70,6 +130,147 @@ export declare const vercelTriggerDefinitions: {
70
130
  };
71
131
  readonly type: "vercel.deployment.succeeded";
72
132
  };
133
+ readonly vercelDomain: {
134
+ readonly account: {
135
+ readonly connectionOptions: readonly [{
136
+ readonly connectionMethodId: "oauth";
137
+ readonly requiredScopes: readonly ["domain:read"];
138
+ }];
139
+ readonly serviceId: "vercel";
140
+ };
141
+ readonly name: "Vercel domain event";
142
+ readonly type: "vercel.domain";
143
+ };
144
+ readonly vercelDomainCreated: {
145
+ readonly account: {
146
+ readonly connectionOptions: readonly [{
147
+ readonly connectionMethodId: "oauth";
148
+ readonly requiredScopes: readonly ["domain:read"];
149
+ }];
150
+ readonly serviceId: "vercel";
151
+ };
152
+ readonly type: "vercel.domain.created";
153
+ };
154
+ readonly vercelDomainAutoRenewChanged: {
155
+ readonly account: {
156
+ readonly connectionOptions: readonly [{
157
+ readonly connectionMethodId: "oauth";
158
+ readonly requiredScopes: readonly ["domain:read"];
159
+ }];
160
+ readonly serviceId: "vercel";
161
+ };
162
+ readonly type: "vercel.domain.autoRenewChanged";
163
+ };
164
+ readonly vercelDomainCertificateAdd: {
165
+ readonly account: {
166
+ readonly connectionOptions: readonly [{
167
+ readonly connectionMethodId: "oauth";
168
+ readonly requiredScopes: readonly ["domain:read"];
169
+ }];
170
+ readonly serviceId: "vercel";
171
+ };
172
+ readonly type: "vercel.domain.certificateAdd";
173
+ };
174
+ readonly vercelDomainCertificateAddFailed: {
175
+ readonly account: {
176
+ readonly connectionOptions: readonly [{
177
+ readonly connectionMethodId: "oauth";
178
+ readonly requiredScopes: readonly ["domain:read"];
179
+ }];
180
+ readonly serviceId: "vercel";
181
+ };
182
+ readonly type: "vercel.domain.certificateAddFailed";
183
+ };
184
+ readonly vercelDomainCertificateDeleted: {
185
+ readonly account: {
186
+ readonly connectionOptions: readonly [{
187
+ readonly connectionMethodId: "oauth";
188
+ readonly requiredScopes: readonly ["domain:read"];
189
+ }];
190
+ readonly serviceId: "vercel";
191
+ };
192
+ readonly type: "vercel.domain.certificateDeleted";
193
+ };
194
+ readonly vercelDomainCertificateRenew: {
195
+ readonly account: {
196
+ readonly connectionOptions: readonly [{
197
+ readonly connectionMethodId: "oauth";
198
+ readonly requiredScopes: readonly ["domain:read"];
199
+ }];
200
+ readonly serviceId: "vercel";
201
+ };
202
+ readonly type: "vercel.domain.certificateRenew";
203
+ };
204
+ readonly vercelDomainCertificateRenewFailed: {
205
+ readonly account: {
206
+ readonly connectionOptions: readonly [{
207
+ readonly connectionMethodId: "oauth";
208
+ readonly requiredScopes: readonly ["domain:read"];
209
+ }];
210
+ readonly serviceId: "vercel";
211
+ };
212
+ readonly type: "vercel.domain.certificateRenewFailed";
213
+ };
214
+ readonly vercelDomainDnsRecordsChanged: {
215
+ readonly account: {
216
+ readonly connectionOptions: readonly [{
217
+ readonly connectionMethodId: "oauth";
218
+ readonly requiredScopes: readonly ["domain:read"];
219
+ }];
220
+ readonly serviceId: "vercel";
221
+ };
222
+ readonly type: "vercel.domain.dnsRecordsChanged";
223
+ };
224
+ readonly vercelDomainRenewal: {
225
+ readonly account: {
226
+ readonly connectionOptions: readonly [{
227
+ readonly connectionMethodId: "oauth";
228
+ readonly requiredScopes: readonly ["domain:read"];
229
+ }];
230
+ readonly serviceId: "vercel";
231
+ };
232
+ readonly type: "vercel.domain.renewal";
233
+ };
234
+ readonly vercelDomainRenewalFailed: {
235
+ readonly account: {
236
+ readonly connectionOptions: readonly [{
237
+ readonly connectionMethodId: "oauth";
238
+ readonly requiredScopes: readonly ["domain:read"];
239
+ }];
240
+ readonly serviceId: "vercel";
241
+ };
242
+ readonly type: "vercel.domain.renewalFailed";
243
+ };
244
+ readonly vercelDomainTransferInCompleted: {
245
+ readonly account: {
246
+ readonly connectionOptions: readonly [{
247
+ readonly connectionMethodId: "oauth";
248
+ readonly requiredScopes: readonly ["domain:read"];
249
+ }];
250
+ readonly serviceId: "vercel";
251
+ };
252
+ readonly type: "vercel.domain.transferInCompleted";
253
+ };
254
+ readonly vercelDomainTransferInFailed: {
255
+ readonly account: {
256
+ readonly connectionOptions: readonly [{
257
+ readonly connectionMethodId: "oauth";
258
+ readonly requiredScopes: readonly ["domain:read"];
259
+ }];
260
+ readonly serviceId: "vercel";
261
+ };
262
+ readonly type: "vercel.domain.transferInFailed";
263
+ };
264
+ readonly vercelDomainTransferInStarted: {
265
+ readonly account: {
266
+ readonly connectionOptions: readonly [{
267
+ readonly connectionMethodId: "oauth";
268
+ readonly requiredScopes: readonly ["domain:read"];
269
+ }];
270
+ readonly serviceId: "vercel";
271
+ };
272
+ readonly type: "vercel.domain.transferInStarted";
273
+ };
73
274
  readonly vercelIntegrationConfiguration: {
74
275
  readonly account: {
75
276
  readonly connectionOptions: readonly [{
@@ -123,6 +324,37 @@ export declare const vercelTriggerDefinitions: {
123
324
  };
124
325
  readonly type: "vercel.integration-configuration.transferred";
125
326
  };
327
+ readonly vercelIntegrationResource: {
328
+ readonly account: {
329
+ readonly connectionOptions: readonly [{
330
+ readonly connectionMethodId: "oauth";
331
+ readonly requiredScopes: readonly [];
332
+ }];
333
+ readonly serviceId: "vercel";
334
+ };
335
+ readonly name: "Vercel integration resource event";
336
+ readonly type: "vercel.integration-resource";
337
+ };
338
+ readonly vercelIntegrationResourceProjectConnected: {
339
+ readonly account: {
340
+ readonly connectionOptions: readonly [{
341
+ readonly connectionMethodId: "oauth";
342
+ readonly requiredScopes: readonly [];
343
+ }];
344
+ readonly serviceId: "vercel";
345
+ };
346
+ readonly type: "vercel.integration-resource.projectConnected";
347
+ };
348
+ readonly vercelIntegrationResourceProjectDisconnected: {
349
+ readonly account: {
350
+ readonly connectionOptions: readonly [{
351
+ readonly connectionMethodId: "oauth";
352
+ readonly requiredScopes: readonly [];
353
+ }];
354
+ readonly serviceId: "vercel";
355
+ };
356
+ readonly type: "vercel.integration-resource.projectDisconnected";
357
+ };
126
358
  readonly vercelProject: {
127
359
  readonly account: {
128
360
  readonly connectionOptions: readonly [{
@@ -276,4 +508,136 @@ export declare const vercelTriggerDefinitions: {
276
508
  };
277
509
  readonly type: "vercel.project.renamed";
278
510
  };
511
+ readonly vercelRollingRelease: {
512
+ readonly account: {
513
+ readonly connectionOptions: readonly [{
514
+ readonly connectionMethodId: "oauth";
515
+ readonly requiredScopes: readonly ["deployment:read"];
516
+ }];
517
+ readonly serviceId: "vercel";
518
+ };
519
+ readonly name: "Vercel rolling release event";
520
+ readonly type: "vercel.rolling-release";
521
+ };
522
+ readonly vercelRollingReleaseApproved: {
523
+ readonly account: {
524
+ readonly connectionOptions: readonly [{
525
+ readonly connectionMethodId: "oauth";
526
+ readonly requiredScopes: readonly ["deployment:read"];
527
+ }];
528
+ readonly serviceId: "vercel";
529
+ };
530
+ readonly type: "vercel.rolling-release.approved";
531
+ };
532
+ readonly vercelRollingReleaseCompleted: {
533
+ readonly account: {
534
+ readonly connectionOptions: readonly [{
535
+ readonly connectionMethodId: "oauth";
536
+ readonly requiredScopes: readonly ["deployment:read"];
537
+ }];
538
+ readonly serviceId: "vercel";
539
+ };
540
+ readonly type: "vercel.rolling-release.completed";
541
+ };
542
+ readonly vercelRollingReleaseAborted: {
543
+ readonly account: {
544
+ readonly connectionOptions: readonly [{
545
+ readonly connectionMethodId: "oauth";
546
+ readonly requiredScopes: readonly ["deployment:read"];
547
+ }];
548
+ readonly serviceId: "vercel";
549
+ };
550
+ readonly type: "vercel.rolling-release.aborted";
551
+ };
552
+ readonly vercelRollingReleaseStarted: {
553
+ readonly account: {
554
+ readonly connectionOptions: readonly [{
555
+ readonly connectionMethodId: "oauth";
556
+ readonly requiredScopes: readonly ["deployment:read"];
557
+ }];
558
+ readonly serviceId: "vercel";
559
+ };
560
+ readonly type: "vercel.rolling-release.started";
561
+ };
562
+ readonly vercelFeatureFlag: {
563
+ readonly account: {
564
+ readonly connectionOptions: readonly [{
565
+ readonly connectionMethodId: "oauth";
566
+ readonly requiredScopes: readonly [];
567
+ }];
568
+ readonly serviceId: "vercel";
569
+ };
570
+ readonly name: "Vercel feature flag event";
571
+ readonly type: "vercel.feature-flag";
572
+ };
573
+ readonly vercelFeatureFlagCreated: {
574
+ readonly account: {
575
+ readonly connectionOptions: readonly [{
576
+ readonly connectionMethodId: "oauth";
577
+ readonly requiredScopes: readonly [];
578
+ }];
579
+ readonly serviceId: "vercel";
580
+ };
581
+ readonly type: "vercel.feature-flag.created";
582
+ };
583
+ readonly vercelFeatureFlagUpdated: {
584
+ readonly account: {
585
+ readonly connectionOptions: readonly [{
586
+ readonly connectionMethodId: "oauth";
587
+ readonly requiredScopes: readonly [];
588
+ }];
589
+ readonly serviceId: "vercel";
590
+ };
591
+ readonly type: "vercel.feature-flag.updated";
592
+ };
593
+ readonly vercelFeatureFlagDeleted: {
594
+ readonly account: {
595
+ readonly connectionOptions: readonly [{
596
+ readonly connectionMethodId: "oauth";
597
+ readonly requiredScopes: readonly [];
598
+ }];
599
+ readonly serviceId: "vercel";
600
+ };
601
+ readonly type: "vercel.feature-flag.deleted";
602
+ };
603
+ readonly vercelFeatureFlagSegmentCreated: {
604
+ readonly account: {
605
+ readonly connectionOptions: readonly [{
606
+ readonly connectionMethodId: "oauth";
607
+ readonly requiredScopes: readonly [];
608
+ }];
609
+ readonly serviceId: "vercel";
610
+ };
611
+ readonly type: "vercel.feature-flag.segmentCreated";
612
+ };
613
+ readonly vercelFeatureFlagSegmentUpdated: {
614
+ readonly account: {
615
+ readonly connectionOptions: readonly [{
616
+ readonly connectionMethodId: "oauth";
617
+ readonly requiredScopes: readonly [];
618
+ }];
619
+ readonly serviceId: "vercel";
620
+ };
621
+ readonly type: "vercel.feature-flag.segmentUpdated";
622
+ };
623
+ readonly vercelFeatureFlagSegmentDeleted: {
624
+ readonly account: {
625
+ readonly connectionOptions: readonly [{
626
+ readonly connectionMethodId: "oauth";
627
+ readonly requiredScopes: readonly [];
628
+ }];
629
+ readonly serviceId: "vercel";
630
+ };
631
+ readonly type: "vercel.feature-flag.segmentDeleted";
632
+ };
633
+ readonly vercelAlertTriggered: {
634
+ readonly account: {
635
+ readonly connectionOptions: readonly [{
636
+ readonly connectionMethodId: "oauth";
637
+ readonly requiredScopes: readonly [];
638
+ }];
639
+ readonly serviceId: "vercel";
640
+ };
641
+ readonly type: "vercel.alert.triggered";
642
+ };
279
643
  };
@@ -7,6 +7,24 @@ const VERCEL_DEPLOYMENT_ACCOUNT = {
7
7
  ],
8
8
  serviceId: "vercel",
9
9
  };
10
+ const VERCEL_DOMAIN_ACCOUNT = {
11
+ connectionOptions: [
12
+ {
13
+ connectionMethodId: "oauth",
14
+ requiredScopes: ["domain:read"],
15
+ },
16
+ ],
17
+ serviceId: "vercel",
18
+ };
19
+ const VERCEL_OAUTH_ACCOUNT = {
20
+ connectionOptions: [
21
+ {
22
+ connectionMethodId: "oauth",
23
+ requiredScopes: [],
24
+ },
25
+ ],
26
+ serviceId: "vercel",
27
+ };
10
28
  const VERCEL_INTEGRATION_CONFIGURATION_ACCOUNT = {
11
29
  connectionOptions: [
12
30
  {
@@ -49,6 +67,14 @@ export const vercelTriggerDefinitions = {
49
67
  name: "Vercel deployment event",
50
68
  type: "vercel.deployment",
51
69
  },
70
+ vercelDeploymentCheckRerequested: {
71
+ account: VERCEL_DEPLOYMENT_ACCOUNT,
72
+ type: "vercel.deployment.checkRerequested",
73
+ },
74
+ vercelDeploymentCleanup: {
75
+ account: VERCEL_DEPLOYMENT_ACCOUNT,
76
+ type: "vercel.deployment.cleanup",
77
+ },
52
78
  vercelDeploymentCanceled: {
53
79
  account: VERCEL_DEPLOYMENT_ACCOUNT,
54
80
  type: "vercel.deployment.canceled",
@@ -65,6 +91,22 @@ export const vercelTriggerDefinitions = {
65
91
  account: VERCEL_DEPLOYMENT_ACCOUNT,
66
92
  type: "vercel.deployment.promoted",
67
93
  },
94
+ vercelDeploymentRollback: {
95
+ account: VERCEL_DEPLOYMENT_ACCOUNT,
96
+ type: "vercel.deployment.rollback",
97
+ },
98
+ vercelDeploymentIntegrationActionCancel: {
99
+ account: VERCEL_DEPLOYMENT_ACCOUNT,
100
+ type: "vercel.deployment.integrationActionCancel",
101
+ },
102
+ vercelDeploymentIntegrationActionCleanup: {
103
+ account: VERCEL_DEPLOYMENT_ACCOUNT,
104
+ type: "vercel.deployment.integrationActionCleanup",
105
+ },
106
+ vercelDeploymentIntegrationActionStart: {
107
+ account: VERCEL_DEPLOYMENT_ACCOUNT,
108
+ type: "vercel.deployment.integrationActionStart",
109
+ },
68
110
  vercelDeploymentReady: {
69
111
  account: VERCEL_DEPLOYMENT_ACCOUNT,
70
112
  type: "vercel.deployment.ready",
@@ -73,6 +115,63 @@ export const vercelTriggerDefinitions = {
73
115
  account: VERCEL_DEPLOYMENT_ACCOUNT,
74
116
  type: "vercel.deployment.succeeded",
75
117
  },
118
+ vercelDomain: {
119
+ account: VERCEL_DOMAIN_ACCOUNT,
120
+ name: "Vercel domain event",
121
+ type: "vercel.domain",
122
+ },
123
+ vercelDomainCreated: {
124
+ account: VERCEL_DOMAIN_ACCOUNT,
125
+ type: "vercel.domain.created",
126
+ },
127
+ vercelDomainAutoRenewChanged: {
128
+ account: VERCEL_DOMAIN_ACCOUNT,
129
+ type: "vercel.domain.autoRenewChanged",
130
+ },
131
+ vercelDomainCertificateAdd: {
132
+ account: VERCEL_DOMAIN_ACCOUNT,
133
+ type: "vercel.domain.certificateAdd",
134
+ },
135
+ vercelDomainCertificateAddFailed: {
136
+ account: VERCEL_DOMAIN_ACCOUNT,
137
+ type: "vercel.domain.certificateAddFailed",
138
+ },
139
+ vercelDomainCertificateDeleted: {
140
+ account: VERCEL_DOMAIN_ACCOUNT,
141
+ type: "vercel.domain.certificateDeleted",
142
+ },
143
+ vercelDomainCertificateRenew: {
144
+ account: VERCEL_DOMAIN_ACCOUNT,
145
+ type: "vercel.domain.certificateRenew",
146
+ },
147
+ vercelDomainCertificateRenewFailed: {
148
+ account: VERCEL_DOMAIN_ACCOUNT,
149
+ type: "vercel.domain.certificateRenewFailed",
150
+ },
151
+ vercelDomainDnsRecordsChanged: {
152
+ account: VERCEL_DOMAIN_ACCOUNT,
153
+ type: "vercel.domain.dnsRecordsChanged",
154
+ },
155
+ vercelDomainRenewal: {
156
+ account: VERCEL_DOMAIN_ACCOUNT,
157
+ type: "vercel.domain.renewal",
158
+ },
159
+ vercelDomainRenewalFailed: {
160
+ account: VERCEL_DOMAIN_ACCOUNT,
161
+ type: "vercel.domain.renewalFailed",
162
+ },
163
+ vercelDomainTransferInCompleted: {
164
+ account: VERCEL_DOMAIN_ACCOUNT,
165
+ type: "vercel.domain.transferInCompleted",
166
+ },
167
+ vercelDomainTransferInFailed: {
168
+ account: VERCEL_DOMAIN_ACCOUNT,
169
+ type: "vercel.domain.transferInFailed",
170
+ },
171
+ vercelDomainTransferInStarted: {
172
+ account: VERCEL_DOMAIN_ACCOUNT,
173
+ type: "vercel.domain.transferInStarted",
174
+ },
76
175
  vercelIntegrationConfiguration: {
77
176
  account: VERCEL_INTEGRATION_CONFIGURATION_ACCOUNT,
78
177
  name: "Vercel integration configuration event",
@@ -96,6 +195,19 @@ export const vercelTriggerDefinitions = {
96
195
  account: VERCEL_INTEGRATION_CONFIGURATION_ACCOUNT,
97
196
  type: "vercel.integration-configuration.transferred",
98
197
  },
198
+ vercelIntegrationResource: {
199
+ account: VERCEL_OAUTH_ACCOUNT,
200
+ name: "Vercel integration resource event",
201
+ type: "vercel.integration-resource",
202
+ },
203
+ vercelIntegrationResourceProjectConnected: {
204
+ account: VERCEL_OAUTH_ACCOUNT,
205
+ type: "vercel.integration-resource.projectConnected",
206
+ },
207
+ vercelIntegrationResourceProjectDisconnected: {
208
+ account: VERCEL_OAUTH_ACCOUNT,
209
+ type: "vercel.integration-resource.projectDisconnected",
210
+ },
99
211
  vercelProject: {
100
212
  account: VERCEL_PROJECT_ACCOUNT,
101
213
  name: "Vercel project event",
@@ -159,4 +271,58 @@ export const vercelTriggerDefinitions = {
159
271
  account: VERCEL_PROJECT_ACCOUNT,
160
272
  type: "vercel.project.renamed",
161
273
  },
274
+ vercelRollingRelease: {
275
+ account: VERCEL_DEPLOYMENT_ACCOUNT,
276
+ name: "Vercel rolling release event",
277
+ type: "vercel.rolling-release",
278
+ },
279
+ vercelRollingReleaseApproved: {
280
+ account: VERCEL_DEPLOYMENT_ACCOUNT,
281
+ type: "vercel.rolling-release.approved",
282
+ },
283
+ vercelRollingReleaseCompleted: {
284
+ account: VERCEL_DEPLOYMENT_ACCOUNT,
285
+ type: "vercel.rolling-release.completed",
286
+ },
287
+ vercelRollingReleaseAborted: {
288
+ account: VERCEL_DEPLOYMENT_ACCOUNT,
289
+ type: "vercel.rolling-release.aborted",
290
+ },
291
+ vercelRollingReleaseStarted: {
292
+ account: VERCEL_DEPLOYMENT_ACCOUNT,
293
+ type: "vercel.rolling-release.started",
294
+ },
295
+ vercelFeatureFlag: {
296
+ account: VERCEL_OAUTH_ACCOUNT,
297
+ name: "Vercel feature flag event",
298
+ type: "vercel.feature-flag",
299
+ },
300
+ vercelFeatureFlagCreated: {
301
+ account: VERCEL_OAUTH_ACCOUNT,
302
+ type: "vercel.feature-flag.created",
303
+ },
304
+ vercelFeatureFlagUpdated: {
305
+ account: VERCEL_OAUTH_ACCOUNT,
306
+ type: "vercel.feature-flag.updated",
307
+ },
308
+ vercelFeatureFlagDeleted: {
309
+ account: VERCEL_OAUTH_ACCOUNT,
310
+ type: "vercel.feature-flag.deleted",
311
+ },
312
+ vercelFeatureFlagSegmentCreated: {
313
+ account: VERCEL_OAUTH_ACCOUNT,
314
+ type: "vercel.feature-flag.segmentCreated",
315
+ },
316
+ vercelFeatureFlagSegmentUpdated: {
317
+ account: VERCEL_OAUTH_ACCOUNT,
318
+ type: "vercel.feature-flag.segmentUpdated",
319
+ },
320
+ vercelFeatureFlagSegmentDeleted: {
321
+ account: VERCEL_OAUTH_ACCOUNT,
322
+ type: "vercel.feature-flag.segmentDeleted",
323
+ },
324
+ vercelAlertTriggered: {
325
+ account: VERCEL_OAUTH_ACCOUNT,
326
+ type: "vercel.alert.triggered",
327
+ },
162
328
  };
package/dist/types.d.ts CHANGED
@@ -87,9 +87,14 @@ export interface IntegrationAccountRequirement<TServiceId extends string = strin
87
87
  connectionOptions: readonly IntegrationAccountConnectionOption[];
88
88
  serviceId: TServiceId;
89
89
  }
90
+ /** Account-selection behavior for one public trigger type. */
91
+ export interface TriggerAccountRequirement<TServiceId extends string = string> extends IntegrationAccountRequirement<TServiceId> {
92
+ /** Whether omission plans the project's default binding. Defaults to true. */
93
+ planDefaultBinding?: boolean;
94
+ }
90
95
  /** Runtime-neutral metadata for one public trigger type. */
91
96
  export interface TriggerDefinition<TType extends string = string, TServiceId extends string = string> {
92
- account?: IntegrationAccountRequirement<TServiceId>;
97
+ account?: TriggerAccountRequirement<TServiceId>;
93
98
  description?: string;
94
99
  /** Adds labeled secondary details to this trigger's presentation. */
95
100
  getDetails?(context: TriggerPresentationContext): TriggerPresentationDetail[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automate.ax/catalog",
3
- "version": "0.111.1",
3
+ "version": "0.112.4",
4
4
  "description": "Shared integration service and trigger definitions for Automate.ax.",
5
5
  "license": "MIT",
6
6
  "repository": {
package/src/authoring.ts CHANGED
@@ -4,5 +4,6 @@ export {
4
4
  type IntegrationAccountRequirement,
5
5
  type IntegrationScopeRequirement,
6
6
  type ScopeRequirementGroup,
7
+ type TriggerAccountRequirement,
7
8
  type TriggerDefinition,
8
9
  } from "./types"
package/src/index.ts CHANGED
@@ -60,6 +60,7 @@ export {
60
60
  type IntegrationScopeRequirement,
61
61
  type IntegrationServiceDefinition,
62
62
  type ScopeRequirementGroup,
63
+ type TriggerAccountRequirement,
63
64
  type TriggerDefinition,
64
65
  type TriggerPresentation,
65
66
  type TriggerPresentationContext,
@@ -1,4 +1,4 @@
1
- import type { IntegrationAccountRequirement, TriggerDefinition } from "../types"
1
+ import type { TriggerAccountRequirement, TriggerDefinition } from "../types"
2
2
  import * as z from "zod/mini"
3
3
 
4
4
  const AUTOMATE_PROJECT_READ_ACCOUNT = {
@@ -8,8 +8,9 @@ const AUTOMATE_PROJECT_READ_ACCOUNT = {
8
8
  requiredScopes: ["project:read"],
9
9
  },
10
10
  ],
11
+ planDefaultBinding: false,
11
12
  serviceId: "automate",
12
- } as const satisfies IntegrationAccountRequirement
13
+ } as const satisfies TriggerAccountRequirement
13
14
 
14
15
  const AUTOMATE_DEPLOYMENT_READ_ACCOUNT = {
15
16
  connectionOptions: [
@@ -18,8 +19,9 @@ const AUTOMATE_DEPLOYMENT_READ_ACCOUNT = {
18
19
  requiredScopes: ["deployment:read"],
19
20
  },
20
21
  ],
22
+ planDefaultBinding: false,
21
23
  serviceId: "automate",
22
- } as const satisfies IntegrationAccountRequirement
24
+ } as const satisfies TriggerAccountRequirement
23
25
 
24
26
  const AUTOMATION_CONFIG_SCHEMA = z.object({ automationId: z.string() })
25
27
  const DEPLOYMENT_CONFIG_SCHEMA = z.object({ projectId: z.string() })