terse-types 0.0.2 → 0.0.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.
- package/dist/ApiRouteBuilder.d.ts +7 -21
- package/dist/ApiRoutes.json +11 -25
- package/dist/ApprovalTypes.d.ts +47 -19
- package/dist/ApprovalTypes.js +20 -0
- package/dist/Configs.d.ts +327 -167
- package/dist/Configs.js +142 -254
- package/dist/Integrations.d.ts +10 -35
- package/dist/Integrations.js +10 -31
- package/dist/InvalidationKeys.d.ts +2 -4
- package/dist/InvalidationKeys.js +2 -18
- package/dist/ModelEvents.d.ts +134 -26
- package/dist/ModelEvents.js +68 -79
- package/dist/Notifications.d.ts +19 -8
- package/dist/Notifications.js +6 -6
- package/dist/RunHistoryTypes.d.ts +34 -39
- package/dist/RunHistoryTypes.js +12 -10
- package/dist/SlackTypes.d.ts +23 -0
- package/dist/SlackTypes.js +9 -0
- package/dist/TicketSystem.d.ts +0 -1
- package/dist/TicketSystem.js +0 -1
- package/dist/ToolDisplayUtils.js +0 -76
- package/dist/Tools.d.ts +14 -907
- package/dist/Tools.js +0 -210
- package/dist/TriggerPresenters.d.ts +3 -0
- package/dist/TriggerPresenters.js +254 -0
- package/dist/Triggers.d.ts +4065 -0
- package/dist/Triggers.js +436 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/types.d.ts +5217 -2417
- package/dist/types.js +123 -236
- package/package.json +3 -1
package/dist/Configs.d.ts
CHANGED
|
@@ -4,15 +4,12 @@ export declare enum ConfigType {
|
|
|
4
4
|
GMAIL = "gmail",
|
|
5
5
|
GMAIL_OUTPUT = "gmail_output",
|
|
6
6
|
GMAIL_DRAFT_OUTPUT = "gmail_draft_output",
|
|
7
|
-
FIGMA = "figma",
|
|
8
7
|
SLACK = "slack",
|
|
9
8
|
SLACK_OUTPUT = "slack_output",
|
|
10
9
|
NOTION = "notion",
|
|
11
10
|
LINEAR_INPUT = "linear_input",
|
|
12
11
|
LINEAR_OUTPUT = "linear_output",
|
|
13
12
|
GITHUB = "github",
|
|
14
|
-
JIRA = "jira",
|
|
15
|
-
CONFLUENCE = "confluence",
|
|
16
13
|
POSTHOG = "POSTHOG",
|
|
17
14
|
DATADOG = "DATADOG",
|
|
18
15
|
TIME_TRIGGER = "time_trigger",
|
|
@@ -21,7 +18,8 @@ export declare enum ConfigType {
|
|
|
21
18
|
WORKOS_INPUT = "workos_input",
|
|
22
19
|
WORKOS_OUTPUT = "workos_output",
|
|
23
20
|
ATTIO_OUTPUT = "attio_output",
|
|
24
|
-
SNOWFLAKE_OUTPUT = "snowflake_output"
|
|
21
|
+
SNOWFLAKE_OUTPUT = "snowflake_output",
|
|
22
|
+
WEBHOOK_INPUT = "webhook_input"
|
|
25
23
|
}
|
|
26
24
|
export declare const configTypeEnum: z.ZodEnum<typeof ConfigType>;
|
|
27
25
|
export interface ConfigDetails {
|
|
@@ -40,14 +38,6 @@ export declare const GmailConfigMetadata: {
|
|
|
40
38
|
readonly isInput: true;
|
|
41
39
|
readonly isOutput: false;
|
|
42
40
|
};
|
|
43
|
-
export declare const FigmaConfigMetadata: {
|
|
44
|
-
readonly configType: ConfigType.FIGMA;
|
|
45
|
-
readonly name: "Figma";
|
|
46
|
-
readonly description: "Monitor design changes in Figma files";
|
|
47
|
-
readonly integrationType: IntegrationType.FIGMA;
|
|
48
|
-
readonly isInput: true;
|
|
49
|
-
readonly isOutput: false;
|
|
50
|
-
};
|
|
51
41
|
export declare const SlackConfigMetadata: {
|
|
52
42
|
readonly configType: ConfigType.SLACK;
|
|
53
43
|
readonly name: "Slack";
|
|
@@ -112,22 +102,6 @@ export declare const GitHubConfigMetadata: {
|
|
|
112
102
|
readonly isInput: true;
|
|
113
103
|
readonly isOutput: true;
|
|
114
104
|
};
|
|
115
|
-
export declare const JiraConfigMetadata: {
|
|
116
|
-
readonly configType: ConfigType.JIRA;
|
|
117
|
-
readonly name: "Jira";
|
|
118
|
-
readonly description: "Monitor and update Jira issues";
|
|
119
|
-
readonly integrationType: IntegrationType.ATLASSIAN;
|
|
120
|
-
readonly isInput: true;
|
|
121
|
-
readonly isOutput: true;
|
|
122
|
-
};
|
|
123
|
-
export declare const ConfluenceConfigMetadata: {
|
|
124
|
-
readonly configType: ConfigType.CONFLUENCE;
|
|
125
|
-
readonly name: "Confluence";
|
|
126
|
-
readonly description: "Update Confluence pages";
|
|
127
|
-
readonly integrationType: IntegrationType.ATLASSIAN;
|
|
128
|
-
readonly isInput: false;
|
|
129
|
-
readonly isOutput: true;
|
|
130
|
-
};
|
|
131
105
|
export declare const PosthogConfigMetadata: {
|
|
132
106
|
readonly configType: ConfigType.POSTHOG;
|
|
133
107
|
readonly name: "Posthog";
|
|
@@ -200,48 +174,87 @@ export declare const SnowflakeOutputConfigMetadata: {
|
|
|
200
174
|
readonly isInput: false;
|
|
201
175
|
readonly isOutput: true;
|
|
202
176
|
};
|
|
177
|
+
export declare const WebhookInputConfigMetadata: {
|
|
178
|
+
readonly configType: ConfigType.WEBHOOK_INPUT;
|
|
179
|
+
readonly name: "Webhook";
|
|
180
|
+
readonly description: "Trigger via an external HTTP request to a generated URL";
|
|
181
|
+
readonly integrationType: IntegrationType.WEBHOOK;
|
|
182
|
+
readonly isInput: true;
|
|
183
|
+
readonly isOutput: false;
|
|
184
|
+
};
|
|
203
185
|
export type ConfigDetailsMap = Record<ConfigType, ConfigDetails>;
|
|
204
186
|
export declare const CONFIG_DETAILS: ConfigDetailsMap;
|
|
205
|
-
export declare
|
|
206
|
-
MESSAGE
|
|
207
|
-
APP_MENTION
|
|
208
|
-
REACTION_ADDED
|
|
209
|
-
}
|
|
210
|
-
export declare
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
}
|
|
187
|
+
export declare const SlackEventType: {
|
|
188
|
+
readonly MESSAGE: "message";
|
|
189
|
+
readonly APP_MENTION: "app_mention";
|
|
190
|
+
readonly REACTION_ADDED: "reaction_added";
|
|
191
|
+
};
|
|
192
|
+
export declare const slackEventTypeSchema: z.ZodEnum<{
|
|
193
|
+
readonly MESSAGE: "message";
|
|
194
|
+
readonly APP_MENTION: "app_mention";
|
|
195
|
+
readonly REACTION_ADDED: "reaction_added";
|
|
196
|
+
}>;
|
|
197
|
+
export type SlackEventType = z.infer<typeof slackEventTypeSchema>;
|
|
198
|
+
export declare const GitHubEventType: {
|
|
199
|
+
readonly PUSH: "push";
|
|
200
|
+
readonly PR_OPENED: "pull_request.opened";
|
|
201
|
+
readonly PR_MERGED: "pull_request.merged";
|
|
202
|
+
readonly PR_CLOSED: "pull_request.closed";
|
|
203
|
+
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
204
|
+
};
|
|
205
|
+
export declare const gitHubEventTypeSchema: z.ZodEnum<{
|
|
206
|
+
readonly PUSH: "push";
|
|
207
|
+
readonly PR_OPENED: "pull_request.opened";
|
|
208
|
+
readonly PR_MERGED: "pull_request.merged";
|
|
209
|
+
readonly PR_CLOSED: "pull_request.closed";
|
|
210
|
+
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
211
|
+
}>;
|
|
212
|
+
export type GitHubEventType = z.infer<typeof gitHubEventTypeSchema>;
|
|
213
|
+
export declare const LinearEventType: {
|
|
214
|
+
readonly ISSUE_CREATED: "issue.created";
|
|
215
|
+
readonly ISSUE_UPDATED: "issue.updated";
|
|
216
|
+
readonly COMMENT_CREATED: "comment.created";
|
|
217
|
+
};
|
|
218
|
+
export declare const linearEventTypeSchema: z.ZodEnum<{
|
|
219
|
+
readonly ISSUE_CREATED: "issue.created";
|
|
220
|
+
readonly ISSUE_UPDATED: "issue.updated";
|
|
221
|
+
readonly COMMENT_CREATED: "comment.created";
|
|
222
|
+
}>;
|
|
223
|
+
export type LinearEventType = z.infer<typeof linearEventTypeSchema>;
|
|
224
|
+
export declare const GmailEventType: {
|
|
225
|
+
readonly EMAIL_RECEIVED: "email.received";
|
|
226
|
+
};
|
|
227
|
+
export declare const gmailEventTypeSchema: z.ZodEnum<{
|
|
228
|
+
readonly EMAIL_RECEIVED: "email.received";
|
|
229
|
+
}>;
|
|
230
|
+
export type GmailEventType = z.infer<typeof gmailEventTypeSchema>;
|
|
231
|
+
export declare const WorkOSEventType: {
|
|
232
|
+
readonly USER_CREATED: "user.created";
|
|
233
|
+
readonly USER_UPDATED: "user.updated";
|
|
234
|
+
readonly USER_DELETED: "user.deleted";
|
|
235
|
+
readonly ORGANIZATION_CREATED: "organization.created";
|
|
236
|
+
readonly ORGANIZATION_MEMBERSHIP_CREATED: "organization_membership.created";
|
|
237
|
+
readonly ORGANIZATION_MEMBERSHIP_UPDATED: "organization_membership.updated";
|
|
238
|
+
readonly ORGANIZATION_MEMBERSHIP_DELETED: "organization_membership.deleted";
|
|
239
|
+
readonly INVITATION_CREATED: "invitation.created";
|
|
240
|
+
readonly INVITATION_ACCEPTED: "invitation.accepted";
|
|
241
|
+
readonly INVITATION_RESENT: "invitation.resent";
|
|
242
|
+
readonly INVITATION_REVOKED: "invitation.revoked";
|
|
243
|
+
};
|
|
244
|
+
export declare const workOSEventTypeSchema: z.ZodEnum<{
|
|
245
|
+
readonly USER_CREATED: "user.created";
|
|
246
|
+
readonly USER_UPDATED: "user.updated";
|
|
247
|
+
readonly USER_DELETED: "user.deleted";
|
|
248
|
+
readonly ORGANIZATION_CREATED: "organization.created";
|
|
249
|
+
readonly ORGANIZATION_MEMBERSHIP_CREATED: "organization_membership.created";
|
|
250
|
+
readonly ORGANIZATION_MEMBERSHIP_UPDATED: "organization_membership.updated";
|
|
251
|
+
readonly ORGANIZATION_MEMBERSHIP_DELETED: "organization_membership.deleted";
|
|
252
|
+
readonly INVITATION_CREATED: "invitation.created";
|
|
253
|
+
readonly INVITATION_ACCEPTED: "invitation.accepted";
|
|
254
|
+
readonly INVITATION_RESENT: "invitation.resent";
|
|
255
|
+
readonly INVITATION_REVOKED: "invitation.revoked";
|
|
256
|
+
}>;
|
|
257
|
+
export type WorkOSEventType = z.infer<typeof workOSEventTypeSchema>;
|
|
245
258
|
export declare const ConfigInstanceSchema: z.ZodObject<{
|
|
246
259
|
integrationId: z.ZodString;
|
|
247
260
|
integrationType: z.ZodEnum<typeof IntegrationType>;
|
|
@@ -265,7 +278,9 @@ export declare const GmailConfigSchema: z.ZodObject<{
|
|
|
265
278
|
integrationId: z.ZodString;
|
|
266
279
|
integrationType: z.ZodLiteral<IntegrationType.GMAIL>;
|
|
267
280
|
configType: z.ZodLiteral<ConfigType.GMAIL>;
|
|
268
|
-
eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<
|
|
281
|
+
eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
282
|
+
readonly EMAIL_RECEIVED: "email.received";
|
|
283
|
+
}>>>;
|
|
269
284
|
}, z.core.$strip>;
|
|
270
285
|
export type GmailConfigData = z.infer<typeof GmailConfigSchema>;
|
|
271
286
|
export type GmailConfigInstance = GmailConfigData & ConfigBehavior;
|
|
@@ -275,26 +290,6 @@ export declare class GmailConfig extends BaseConfigInstance<IntegrationType.GMAI
|
|
|
275
290
|
isComplete(): boolean;
|
|
276
291
|
formatForAgent(): string;
|
|
277
292
|
}
|
|
278
|
-
export declare const FigmaConfigSchema: z.ZodObject<{
|
|
279
|
-
integrationId: z.ZodString;
|
|
280
|
-
integrationType: z.ZodLiteral<IntegrationType.FIGMA>;
|
|
281
|
-
configType: z.ZodLiteral<ConfigType.FIGMA>;
|
|
282
|
-
fileKey: z.ZodString;
|
|
283
|
-
fileName: z.ZodString;
|
|
284
|
-
teamId: z.ZodString;
|
|
285
|
-
eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<typeof FigmaEventType>>>;
|
|
286
|
-
}, z.core.$strip>;
|
|
287
|
-
export type FigmaConfigData = z.infer<typeof FigmaConfigSchema>;
|
|
288
|
-
export type FigmaConfigInstance = FigmaConfigData & ConfigBehavior;
|
|
289
|
-
export declare class FigmaConfig extends BaseConfigInstance<IntegrationType.FIGMA, ConfigType.FIGMA> implements FigmaConfigInstance {
|
|
290
|
-
fileKey: string;
|
|
291
|
-
fileName: string;
|
|
292
|
-
teamId: string;
|
|
293
|
-
eventTypes: FigmaEventType[] | null;
|
|
294
|
-
constructor(integrationId: string, fileKey: string, fileName: string, teamId: string, eventTypes?: FigmaEventType[] | null);
|
|
295
|
-
isComplete(): boolean;
|
|
296
|
-
formatForAgent(): string;
|
|
297
|
-
}
|
|
298
293
|
export declare const SlackConfigSchema: z.ZodObject<{
|
|
299
294
|
integrationId: z.ZodString;
|
|
300
295
|
integrationType: z.ZodLiteral<IntegrationType.SLACK>;
|
|
@@ -303,7 +298,11 @@ export declare const SlackConfigSchema: z.ZodObject<{
|
|
|
303
298
|
channelName: z.ZodNullable<z.ZodString>;
|
|
304
299
|
listenToUserDms: z.ZodDefault<z.ZodBoolean>;
|
|
305
300
|
userIds: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
306
|
-
eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<
|
|
301
|
+
eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
302
|
+
readonly MESSAGE: "message";
|
|
303
|
+
readonly APP_MENTION: "app_mention";
|
|
304
|
+
readonly REACTION_ADDED: "reaction_added";
|
|
305
|
+
}>>>;
|
|
307
306
|
}, z.core.$strip>;
|
|
308
307
|
export type SlackConfigData = z.infer<typeof SlackConfigSchema>;
|
|
309
308
|
export type SlackConfigInstance = SlackConfigData & ConfigBehavior;
|
|
@@ -387,17 +386,21 @@ export declare const LinearInputConfigSchema: z.ZodObject<{
|
|
|
387
386
|
integrationId: z.ZodString;
|
|
388
387
|
integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
|
|
389
388
|
configType: z.ZodLiteral<ConfigType.LINEAR_INPUT>;
|
|
389
|
+
teamId: z.ZodNullable<z.ZodString>;
|
|
390
390
|
projectId: z.ZodNullable<z.ZodString>;
|
|
391
|
-
|
|
392
|
-
|
|
391
|
+
eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
392
|
+
readonly ISSUE_CREATED: "issue.created";
|
|
393
|
+
readonly ISSUE_UPDATED: "issue.updated";
|
|
394
|
+
readonly COMMENT_CREATED: "comment.created";
|
|
395
|
+
}>>>;
|
|
393
396
|
}, z.core.$strip>;
|
|
394
397
|
export type LinearInputConfigData = z.infer<typeof LinearInputConfigSchema>;
|
|
395
398
|
export type LinearInputConfigInstance = LinearInputConfigData & ConfigBehavior;
|
|
396
399
|
export declare class LinearInputConfig extends BaseConfigInstance<IntegrationType.LINEAR, ConfigType.LINEAR_INPUT> implements LinearInputConfigInstance {
|
|
397
400
|
projectId: string | null;
|
|
398
|
-
projectName: string | null;
|
|
399
401
|
eventTypes: LinearEventType[] | null;
|
|
400
|
-
|
|
402
|
+
teamId: string | null;
|
|
403
|
+
constructor(integrationId: string, projectId?: string | null, eventTypes?: LinearEventType[] | null, teamId?: string | null);
|
|
401
404
|
isComplete(): boolean;
|
|
402
405
|
formatForAgent(): string;
|
|
403
406
|
}
|
|
@@ -408,7 +411,6 @@ export declare const LinearOutputConfigSchema: z.ZodObject<{
|
|
|
408
411
|
teamId: z.ZodNullable<z.ZodString>;
|
|
409
412
|
teamName: z.ZodNullable<z.ZodString>;
|
|
410
413
|
projectId: z.ZodNullable<z.ZodString>;
|
|
411
|
-
projectName: z.ZodNullable<z.ZodString>;
|
|
412
414
|
}, z.core.$strip>;
|
|
413
415
|
export type LinearOutputConfigData = z.infer<typeof LinearOutputConfigSchema>;
|
|
414
416
|
export type LinearOutputConfigInstance = LinearOutputConfigData & ConfigBehavior;
|
|
@@ -416,8 +418,7 @@ export declare class LinearOutputConfig extends BaseConfigInstance<IntegrationTy
|
|
|
416
418
|
teamId: string | null;
|
|
417
419
|
teamName: string | null;
|
|
418
420
|
projectId: string | null;
|
|
419
|
-
|
|
420
|
-
constructor(integrationId: string, teamId?: string | null, teamName?: string | null, projectId?: string | null, projectName?: string | null);
|
|
421
|
+
constructor(integrationId: string, teamId?: string | null, teamName?: string | null, projectId?: string | null);
|
|
421
422
|
isComplete(): boolean;
|
|
422
423
|
formatForAgent(): string;
|
|
423
424
|
}
|
|
@@ -426,7 +427,13 @@ export declare const GitHubConfigSchema: z.ZodObject<{
|
|
|
426
427
|
integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
|
|
427
428
|
configType: z.ZodLiteral<ConfigType.GITHUB>;
|
|
428
429
|
repositoryIds: z.ZodArray<z.ZodNumber>;
|
|
429
|
-
eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<
|
|
430
|
+
eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
431
|
+
readonly PUSH: "push";
|
|
432
|
+
readonly PR_OPENED: "pull_request.opened";
|
|
433
|
+
readonly PR_MERGED: "pull_request.merged";
|
|
434
|
+
readonly PR_CLOSED: "pull_request.closed";
|
|
435
|
+
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
436
|
+
}>>>;
|
|
430
437
|
}, z.core.$strip>;
|
|
431
438
|
export type GitHubConfigData = z.infer<typeof GitHubConfigSchema>;
|
|
432
439
|
export type GitHubConfigInstance = GitHubConfigData & ConfigBehavior;
|
|
@@ -437,45 +444,17 @@ export declare class GitHubConfig extends BaseConfigInstance<IntegrationType.GIT
|
|
|
437
444
|
isComplete(): boolean;
|
|
438
445
|
formatForAgent(): string;
|
|
439
446
|
}
|
|
440
|
-
|
|
447
|
+
/**
|
|
448
|
+
* Skill-specific variant of GitHubConfigSchema.
|
|
449
|
+
* Skills do not listen for events, so eventTypes is omitted entirely.
|
|
450
|
+
*/
|
|
451
|
+
export declare const GitHubSkillConfigSchema: z.ZodObject<{
|
|
441
452
|
integrationId: z.ZodString;
|
|
442
|
-
integrationType: z.ZodLiteral<IntegrationType.
|
|
443
|
-
configType: z.ZodLiteral<ConfigType.
|
|
444
|
-
|
|
445
|
-
projectId: z.ZodNullable<z.ZodString>;
|
|
446
|
-
eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<typeof JiraEventType>>>;
|
|
447
|
-
}, z.core.$strip>;
|
|
448
|
-
export type JiraConfigData = z.infer<typeof JiraConfigSchema>;
|
|
449
|
-
export type JiraConfigInstance = JiraConfigData & ConfigBehavior;
|
|
450
|
-
export declare class JiraConfig extends BaseConfigInstance<IntegrationType.ATLASSIAN, ConfigType.JIRA> implements JiraConfigInstance {
|
|
451
|
-
projectKey: string | null;
|
|
452
|
-
projectId: string | null;
|
|
453
|
-
eventTypes: JiraEventType[] | null;
|
|
454
|
-
constructor(integrationId: string, projectKey?: string | null, projectId?: string | null, eventTypes?: JiraEventType[] | null);
|
|
455
|
-
isComplete(): boolean;
|
|
456
|
-
formatForAgent(): string;
|
|
457
|
-
}
|
|
458
|
-
export declare const ConfluenceConfigSchema: z.ZodObject<{
|
|
459
|
-
integrationId: z.ZodString;
|
|
460
|
-
integrationType: z.ZodLiteral<IntegrationType.ATLASSIAN>;
|
|
461
|
-
configType: z.ZodLiteral<ConfigType.CONFLUENCE>;
|
|
462
|
-
spaceName: z.ZodString;
|
|
463
|
-
spaceId: z.ZodString;
|
|
464
|
-
pageId: z.ZodString;
|
|
465
|
-
pageName: z.ZodString;
|
|
453
|
+
integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
|
|
454
|
+
configType: z.ZodLiteral<ConfigType.GITHUB>;
|
|
455
|
+
repositoryIds: z.ZodArray<z.ZodNumber>;
|
|
466
456
|
}, z.core.$strip>;
|
|
467
|
-
export type
|
|
468
|
-
export type ConfluenceConfigInstance = ConfluenceConfigData & ConfigBehavior;
|
|
469
|
-
export declare class ConfluenceConfig extends BaseConfigInstance<IntegrationType.ATLASSIAN, ConfigType.CONFLUENCE> implements ConfluenceConfigInstance {
|
|
470
|
-
spaceName: string;
|
|
471
|
-
spaceId: string;
|
|
472
|
-
pageId: string;
|
|
473
|
-
pageName: string;
|
|
474
|
-
constructor(integrationId: string, spaceName: string, spaceId: string, pageId: string, // Page ID (required for outputs - specific page to write to)
|
|
475
|
-
pageName: string);
|
|
476
|
-
isComplete(): boolean;
|
|
477
|
-
formatForAgent(): string;
|
|
478
|
-
}
|
|
457
|
+
export type GitHubSkillConfigData = z.infer<typeof GitHubSkillConfigSchema>;
|
|
479
458
|
export declare const PosthogConfigSchema: z.ZodObject<{
|
|
480
459
|
integrationId: z.ZodString;
|
|
481
460
|
integrationType: z.ZodLiteral<IntegrationType.POSTHOG>;
|
|
@@ -552,7 +531,19 @@ export declare const WorkOSInputConfigSchema: z.ZodObject<{
|
|
|
552
531
|
integrationId: z.ZodString;
|
|
553
532
|
integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
|
|
554
533
|
configType: z.ZodLiteral<ConfigType.WORKOS_INPUT>;
|
|
555
|
-
eventTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<
|
|
534
|
+
eventTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
535
|
+
readonly USER_CREATED: "user.created";
|
|
536
|
+
readonly USER_UPDATED: "user.updated";
|
|
537
|
+
readonly USER_DELETED: "user.deleted";
|
|
538
|
+
readonly ORGANIZATION_CREATED: "organization.created";
|
|
539
|
+
readonly ORGANIZATION_MEMBERSHIP_CREATED: "organization_membership.created";
|
|
540
|
+
readonly ORGANIZATION_MEMBERSHIP_UPDATED: "organization_membership.updated";
|
|
541
|
+
readonly ORGANIZATION_MEMBERSHIP_DELETED: "organization_membership.deleted";
|
|
542
|
+
readonly INVITATION_CREATED: "invitation.created";
|
|
543
|
+
readonly INVITATION_ACCEPTED: "invitation.accepted";
|
|
544
|
+
readonly INVITATION_RESENT: "invitation.resent";
|
|
545
|
+
readonly INVITATION_REVOKED: "invitation.revoked";
|
|
546
|
+
}>>>;
|
|
556
547
|
}, z.core.$strip>;
|
|
557
548
|
export type WorkOSInputConfigData = z.infer<typeof WorkOSInputConfigSchema>;
|
|
558
549
|
export type WorkOSInputConfigInstance = WorkOSInputConfigData & ConfigBehavior;
|
|
@@ -600,19 +591,25 @@ export declare class SnowflakeOutputConfig extends BaseConfigInstance<Integratio
|
|
|
600
591
|
isComplete(): boolean;
|
|
601
592
|
formatForAgent(): string;
|
|
602
593
|
}
|
|
594
|
+
export declare const WebhookInputConfigSchema: z.ZodObject<{
|
|
595
|
+
integrationId: z.ZodLiteral<"system">;
|
|
596
|
+
integrationType: z.ZodLiteral<IntegrationType.WEBHOOK>;
|
|
597
|
+
configType: z.ZodLiteral<ConfigType.WEBHOOK_INPUT>;
|
|
598
|
+
}, z.core.$strip>;
|
|
599
|
+
export type WebhookInputConfigData = z.infer<typeof WebhookInputConfigSchema>;
|
|
600
|
+
export type WebhookInputConfigInstance = WebhookInputConfigData & ConfigBehavior;
|
|
601
|
+
export declare class WebhookInputConfig extends BaseConfigInstance<IntegrationType.WEBHOOK, ConfigType.WEBHOOK_INPUT, "system"> implements WebhookInputConfigInstance {
|
|
602
|
+
constructor();
|
|
603
|
+
isComplete(): boolean;
|
|
604
|
+
formatForAgent(): string;
|
|
605
|
+
}
|
|
603
606
|
export declare const configDataSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
604
607
|
integrationId: z.ZodString;
|
|
605
608
|
integrationType: z.ZodLiteral<IntegrationType.GMAIL>;
|
|
606
609
|
configType: z.ZodLiteral<ConfigType.GMAIL>;
|
|
607
|
-
eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
integrationType: z.ZodLiteral<IntegrationType.FIGMA>;
|
|
611
|
-
configType: z.ZodLiteral<ConfigType.FIGMA>;
|
|
612
|
-
fileKey: z.ZodString;
|
|
613
|
-
fileName: z.ZodString;
|
|
614
|
-
teamId: z.ZodString;
|
|
615
|
-
eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<typeof FigmaEventType>>>;
|
|
610
|
+
eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
611
|
+
readonly EMAIL_RECEIVED: "email.received";
|
|
612
|
+
}>>>;
|
|
616
613
|
}, z.core.$strip>, z.ZodObject<{
|
|
617
614
|
integrationId: z.ZodString;
|
|
618
615
|
integrationType: z.ZodLiteral<IntegrationType.SLACK>;
|
|
@@ -621,7 +618,11 @@ export declare const configDataSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
621
618
|
channelName: z.ZodNullable<z.ZodString>;
|
|
622
619
|
listenToUserDms: z.ZodDefault<z.ZodBoolean>;
|
|
623
620
|
userIds: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
624
|
-
eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<
|
|
621
|
+
eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
622
|
+
readonly MESSAGE: "message";
|
|
623
|
+
readonly APP_MENTION: "app_mention";
|
|
624
|
+
readonly REACTION_ADDED: "reaction_added";
|
|
625
|
+
}>>>;
|
|
625
626
|
}, z.core.$strip>, z.ZodObject<{
|
|
626
627
|
integrationId: z.ZodString;
|
|
627
628
|
integrationType: z.ZodLiteral<IntegrationType.SLACK>;
|
|
@@ -651,9 +652,13 @@ export declare const configDataSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
651
652
|
integrationId: z.ZodString;
|
|
652
653
|
integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
|
|
653
654
|
configType: z.ZodLiteral<ConfigType.LINEAR_INPUT>;
|
|
655
|
+
teamId: z.ZodNullable<z.ZodString>;
|
|
654
656
|
projectId: z.ZodNullable<z.ZodString>;
|
|
655
|
-
|
|
656
|
-
|
|
657
|
+
eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
658
|
+
readonly ISSUE_CREATED: "issue.created";
|
|
659
|
+
readonly ISSUE_UPDATED: "issue.updated";
|
|
660
|
+
readonly COMMENT_CREATED: "comment.created";
|
|
661
|
+
}>>>;
|
|
657
662
|
}, z.core.$strip>, z.ZodObject<{
|
|
658
663
|
integrationId: z.ZodString;
|
|
659
664
|
integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
|
|
@@ -661,28 +666,23 @@ export declare const configDataSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
661
666
|
teamId: z.ZodNullable<z.ZodString>;
|
|
662
667
|
teamName: z.ZodNullable<z.ZodString>;
|
|
663
668
|
projectId: z.ZodNullable<z.ZodString>;
|
|
664
|
-
projectName: z.ZodNullable<z.ZodString>;
|
|
665
669
|
}, z.core.$strip>, z.ZodObject<{
|
|
666
670
|
integrationId: z.ZodString;
|
|
667
671
|
integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
|
|
668
672
|
configType: z.ZodLiteral<ConfigType.GITHUB>;
|
|
669
673
|
repositoryIds: z.ZodArray<z.ZodNumber>;
|
|
670
|
-
eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<
|
|
674
|
+
eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
675
|
+
readonly PUSH: "push";
|
|
676
|
+
readonly PR_OPENED: "pull_request.opened";
|
|
677
|
+
readonly PR_MERGED: "pull_request.merged";
|
|
678
|
+
readonly PR_CLOSED: "pull_request.closed";
|
|
679
|
+
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
680
|
+
}>>>;
|
|
671
681
|
}, z.core.$strip>, z.ZodObject<{
|
|
672
682
|
integrationId: z.ZodString;
|
|
673
|
-
integrationType: z.ZodLiteral<IntegrationType.
|
|
674
|
-
configType: z.ZodLiteral<ConfigType.
|
|
675
|
-
|
|
676
|
-
projectId: z.ZodNullable<z.ZodString>;
|
|
677
|
-
eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<typeof JiraEventType>>>;
|
|
678
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
679
|
-
integrationId: z.ZodString;
|
|
680
|
-
integrationType: z.ZodLiteral<IntegrationType.ATLASSIAN>;
|
|
681
|
-
configType: z.ZodLiteral<ConfigType.CONFLUENCE>;
|
|
682
|
-
spaceName: z.ZodString;
|
|
683
|
-
spaceId: z.ZodString;
|
|
684
|
-
pageId: z.ZodString;
|
|
685
|
-
pageName: z.ZodString;
|
|
683
|
+
integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
|
|
684
|
+
configType: z.ZodLiteral<ConfigType.GITHUB>;
|
|
685
|
+
repositoryIds: z.ZodArray<z.ZodNumber>;
|
|
686
686
|
}, z.core.$strip>, z.ZodObject<{
|
|
687
687
|
integrationId: z.ZodString;
|
|
688
688
|
integrationType: z.ZodLiteral<IntegrationType.POSTHOG>;
|
|
@@ -713,7 +713,19 @@ export declare const configDataSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
713
713
|
integrationId: z.ZodString;
|
|
714
714
|
integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
|
|
715
715
|
configType: z.ZodLiteral<ConfigType.WORKOS_INPUT>;
|
|
716
|
-
eventTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<
|
|
716
|
+
eventTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
717
|
+
readonly USER_CREATED: "user.created";
|
|
718
|
+
readonly USER_UPDATED: "user.updated";
|
|
719
|
+
readonly USER_DELETED: "user.deleted";
|
|
720
|
+
readonly ORGANIZATION_CREATED: "organization.created";
|
|
721
|
+
readonly ORGANIZATION_MEMBERSHIP_CREATED: "organization_membership.created";
|
|
722
|
+
readonly ORGANIZATION_MEMBERSHIP_UPDATED: "organization_membership.updated";
|
|
723
|
+
readonly ORGANIZATION_MEMBERSHIP_DELETED: "organization_membership.deleted";
|
|
724
|
+
readonly INVITATION_CREATED: "invitation.created";
|
|
725
|
+
readonly INVITATION_ACCEPTED: "invitation.accepted";
|
|
726
|
+
readonly INVITATION_RESENT: "invitation.resent";
|
|
727
|
+
readonly INVITATION_REVOKED: "invitation.revoked";
|
|
728
|
+
}>>>;
|
|
717
729
|
}, z.core.$strip>, z.ZodObject<{
|
|
718
730
|
integrationId: z.ZodString;
|
|
719
731
|
integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
|
|
@@ -727,14 +739,163 @@ export declare const configDataSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
727
739
|
integrationId: z.ZodString;
|
|
728
740
|
integrationType: z.ZodLiteral<IntegrationType.SNOWFLAKE>;
|
|
729
741
|
configType: z.ZodLiteral<ConfigType.SNOWFLAKE_OUTPUT>;
|
|
742
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
743
|
+
integrationId: z.ZodLiteral<"system">;
|
|
744
|
+
integrationType: z.ZodLiteral<IntegrationType.WEBHOOK>;
|
|
745
|
+
configType: z.ZodLiteral<ConfigType.WEBHOOK_INPUT>;
|
|
730
746
|
}, z.core.$strip>]>;
|
|
731
747
|
export type ConfigData = z.infer<typeof configDataSchema>;
|
|
748
|
+
/** Configs that can serve as triggers (event sources). */
|
|
749
|
+
export declare const triggerConfigDataSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
750
|
+
integrationId: z.ZodString;
|
|
751
|
+
integrationType: z.ZodLiteral<IntegrationType.GMAIL>;
|
|
752
|
+
configType: z.ZodLiteral<ConfigType.GMAIL>;
|
|
753
|
+
eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
754
|
+
readonly EMAIL_RECEIVED: "email.received";
|
|
755
|
+
}>>>;
|
|
756
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
757
|
+
integrationId: z.ZodString;
|
|
758
|
+
integrationType: z.ZodLiteral<IntegrationType.SLACK>;
|
|
759
|
+
configType: z.ZodLiteral<ConfigType.SLACK>;
|
|
760
|
+
channelId: z.ZodNullable<z.ZodString>;
|
|
761
|
+
channelName: z.ZodNullable<z.ZodString>;
|
|
762
|
+
listenToUserDms: z.ZodDefault<z.ZodBoolean>;
|
|
763
|
+
userIds: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
764
|
+
eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
765
|
+
readonly MESSAGE: "message";
|
|
766
|
+
readonly APP_MENTION: "app_mention";
|
|
767
|
+
readonly REACTION_ADDED: "reaction_added";
|
|
768
|
+
}>>>;
|
|
769
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
770
|
+
integrationId: z.ZodString;
|
|
771
|
+
integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
|
|
772
|
+
configType: z.ZodLiteral<ConfigType.LINEAR_INPUT>;
|
|
773
|
+
teamId: z.ZodNullable<z.ZodString>;
|
|
774
|
+
projectId: z.ZodNullable<z.ZodString>;
|
|
775
|
+
eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
776
|
+
readonly ISSUE_CREATED: "issue.created";
|
|
777
|
+
readonly ISSUE_UPDATED: "issue.updated";
|
|
778
|
+
readonly COMMENT_CREATED: "comment.created";
|
|
779
|
+
}>>>;
|
|
780
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
781
|
+
integrationId: z.ZodString;
|
|
782
|
+
integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
|
|
783
|
+
configType: z.ZodLiteral<ConfigType.GITHUB>;
|
|
784
|
+
repositoryIds: z.ZodArray<z.ZodNumber>;
|
|
785
|
+
eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
786
|
+
readonly PUSH: "push";
|
|
787
|
+
readonly PR_OPENED: "pull_request.opened";
|
|
788
|
+
readonly PR_MERGED: "pull_request.merged";
|
|
789
|
+
readonly PR_CLOSED: "pull_request.closed";
|
|
790
|
+
readonly PR_SYNCHRONIZE: "pull_request.synchronize";
|
|
791
|
+
}>>>;
|
|
792
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
793
|
+
integrationId: z.ZodLiteral<"system">;
|
|
794
|
+
integrationType: z.ZodLiteral<IntegrationType.CRON_JOB>;
|
|
795
|
+
configType: z.ZodLiteral<ConfigType.TIME_TRIGGER>;
|
|
796
|
+
cronExpression: z.ZodString;
|
|
797
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
798
|
+
integrationId: z.ZodString;
|
|
799
|
+
integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
|
|
800
|
+
configType: z.ZodLiteral<ConfigType.WORKOS_INPUT>;
|
|
801
|
+
eventTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
802
|
+
readonly USER_CREATED: "user.created";
|
|
803
|
+
readonly USER_UPDATED: "user.updated";
|
|
804
|
+
readonly USER_DELETED: "user.deleted";
|
|
805
|
+
readonly ORGANIZATION_CREATED: "organization.created";
|
|
806
|
+
readonly ORGANIZATION_MEMBERSHIP_CREATED: "organization_membership.created";
|
|
807
|
+
readonly ORGANIZATION_MEMBERSHIP_UPDATED: "organization_membership.updated";
|
|
808
|
+
readonly ORGANIZATION_MEMBERSHIP_DELETED: "organization_membership.deleted";
|
|
809
|
+
readonly INVITATION_CREATED: "invitation.created";
|
|
810
|
+
readonly INVITATION_ACCEPTED: "invitation.accepted";
|
|
811
|
+
readonly INVITATION_RESENT: "invitation.resent";
|
|
812
|
+
readonly INVITATION_REVOKED: "invitation.revoked";
|
|
813
|
+
}>>>;
|
|
814
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
815
|
+
integrationId: z.ZodLiteral<"system">;
|
|
816
|
+
integrationType: z.ZodLiteral<IntegrationType.WEBHOOK>;
|
|
817
|
+
configType: z.ZodLiteral<ConfigType.WEBHOOK_INPUT>;
|
|
818
|
+
}, z.core.$strip>]>;
|
|
819
|
+
export type TriggerConfigData = z.infer<typeof triggerConfigDataSchema>;
|
|
820
|
+
/** Configs that can serve as skills (tools / outputs). */
|
|
821
|
+
export declare const skillConfigDataSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
822
|
+
integrationId: z.ZodString;
|
|
823
|
+
integrationType: z.ZodLiteral<IntegrationType.SLACK>;
|
|
824
|
+
configType: z.ZodLiteral<ConfigType.SLACK_OUTPUT>;
|
|
825
|
+
channelId: z.ZodNullable<z.ZodString>;
|
|
826
|
+
channelName: z.ZodNullable<z.ZodString>;
|
|
827
|
+
userIds: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
828
|
+
userNames: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
829
|
+
listenToUserDms: z.ZodDefault<z.ZodBoolean>;
|
|
830
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
831
|
+
integrationId: z.ZodString;
|
|
832
|
+
integrationType: z.ZodLiteral<IntegrationType.GMAIL>;
|
|
833
|
+
configType: z.ZodLiteral<ConfigType.GMAIL_OUTPUT>;
|
|
834
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
835
|
+
integrationId: z.ZodString;
|
|
836
|
+
integrationType: z.ZodLiteral<IntegrationType.GMAIL>;
|
|
837
|
+
configType: z.ZodLiteral<ConfigType.GMAIL_DRAFT_OUTPUT>;
|
|
838
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
839
|
+
integrationId: z.ZodString;
|
|
840
|
+
integrationType: z.ZodLiteral<IntegrationType.NOTION>;
|
|
841
|
+
configType: z.ZodLiteral<ConfigType.NOTION>;
|
|
842
|
+
databaseIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
843
|
+
databaseNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
844
|
+
pageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
845
|
+
pageNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
846
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
847
|
+
integrationId: z.ZodString;
|
|
848
|
+
integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
|
|
849
|
+
configType: z.ZodLiteral<ConfigType.LINEAR_OUTPUT>;
|
|
850
|
+
teamId: z.ZodNullable<z.ZodString>;
|
|
851
|
+
teamName: z.ZodNullable<z.ZodString>;
|
|
852
|
+
projectId: z.ZodNullable<z.ZodString>;
|
|
853
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
854
|
+
integrationId: z.ZodString;
|
|
855
|
+
integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
|
|
856
|
+
configType: z.ZodLiteral<ConfigType.GITHUB>;
|
|
857
|
+
repositoryIds: z.ZodArray<z.ZodNumber>;
|
|
858
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
859
|
+
integrationId: z.ZodString;
|
|
860
|
+
integrationType: z.ZodLiteral<IntegrationType.POSTHOG>;
|
|
861
|
+
configType: z.ZodLiteral<ConfigType.POSTHOG>;
|
|
862
|
+
projectId: z.ZodString;
|
|
863
|
+
projectName: z.ZodNullable<z.ZodString>;
|
|
864
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
865
|
+
integrationId: z.ZodString;
|
|
866
|
+
integrationType: z.ZodLiteral<IntegrationType.DATADOG>;
|
|
867
|
+
configType: z.ZodLiteral<ConfigType.DATADOG>;
|
|
868
|
+
defaultIndexes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
869
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
870
|
+
integrationId: z.ZodString;
|
|
871
|
+
integrationType: z.ZodLiteral<IntegrationType.LAUNCHDARKLY>;
|
|
872
|
+
configType: z.ZodLiteral<ConfigType.LAUNCHDARKLY>;
|
|
873
|
+
projectKey: z.ZodString;
|
|
874
|
+
environmentKeys: z.ZodArray<z.ZodString>;
|
|
875
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
876
|
+
integrationId: z.ZodLiteral<"system">;
|
|
877
|
+
integrationType: z.ZodLiteral<IntegrationType.TERSE>;
|
|
878
|
+
configType: z.ZodLiteral<ConfigType.TERSE>;
|
|
879
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
880
|
+
integrationId: z.ZodString;
|
|
881
|
+
integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
|
|
882
|
+
configType: z.ZodLiteral<ConfigType.WORKOS_OUTPUT>;
|
|
883
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
884
|
+
integrationId: z.ZodString;
|
|
885
|
+
integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
|
|
886
|
+
configType: z.ZodLiteral<ConfigType.ATTIO_OUTPUT>;
|
|
887
|
+
objectSlug: z.ZodNullable<z.ZodString>;
|
|
888
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
889
|
+
integrationId: z.ZodString;
|
|
890
|
+
integrationType: z.ZodLiteral<IntegrationType.SNOWFLAKE>;
|
|
891
|
+
configType: z.ZodLiteral<ConfigType.SNOWFLAKE_OUTPUT>;
|
|
892
|
+
}, z.core.$strip>]>;
|
|
893
|
+
export type SkillConfigData = z.infer<typeof skillConfigDataSchema>;
|
|
732
894
|
export declare function isConfigComplete(config: ConfigData | undefined): boolean;
|
|
733
895
|
export declare function formatConfigForAgent(config: ConfigData): string;
|
|
734
896
|
type EnsureExhaustiveMetadata<T extends Record<ConfigType, new (...args: any[]) => ConfigInstance>> = T;
|
|
735
897
|
export type ConfigMetadataMap = EnsureExhaustiveMetadata<{
|
|
736
898
|
[ConfigType.GMAIL]: typeof GmailConfig;
|
|
737
|
-
[ConfigType.FIGMA]: typeof FigmaConfig;
|
|
738
899
|
[ConfigType.SLACK]: typeof SlackConfig;
|
|
739
900
|
[ConfigType.SLACK_OUTPUT]: typeof SlackOutputConfig;
|
|
740
901
|
[ConfigType.GMAIL_OUTPUT]: typeof GmailOutputConfig;
|
|
@@ -743,8 +904,6 @@ export type ConfigMetadataMap = EnsureExhaustiveMetadata<{
|
|
|
743
904
|
[ConfigType.LINEAR_INPUT]: typeof LinearInputConfig;
|
|
744
905
|
[ConfigType.LINEAR_OUTPUT]: typeof LinearOutputConfig;
|
|
745
906
|
[ConfigType.GITHUB]: typeof GitHubConfig;
|
|
746
|
-
[ConfigType.JIRA]: typeof JiraConfig;
|
|
747
|
-
[ConfigType.CONFLUENCE]: typeof ConfluenceConfig;
|
|
748
907
|
[ConfigType.POSTHOG]: typeof PosthogConfig;
|
|
749
908
|
[ConfigType.DATADOG]: typeof DatadogConfig;
|
|
750
909
|
[ConfigType.TIME_TRIGGER]: typeof TimeTriggerConfig;
|
|
@@ -754,6 +913,7 @@ export type ConfigMetadataMap = EnsureExhaustiveMetadata<{
|
|
|
754
913
|
[ConfigType.WORKOS_OUTPUT]: typeof WorkOSOutputConfig;
|
|
755
914
|
[ConfigType.ATTIO_OUTPUT]: typeof AttioOutputConfig;
|
|
756
915
|
[ConfigType.SNOWFLAKE_OUTPUT]: typeof SnowflakeOutputConfig;
|
|
916
|
+
[ConfigType.WEBHOOK_INPUT]: typeof WebhookInputConfig;
|
|
757
917
|
}>;
|
|
758
918
|
export declare const CONFIG_METADATA: ConfigMetadataMap;
|
|
759
919
|
export {};
|