terse-types 0.0.1 → 0.0.2

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/Configs.d.ts CHANGED
@@ -265,13 +265,13 @@ export declare const GmailConfigSchema: z.ZodObject<{
265
265
  integrationId: z.ZodString;
266
266
  integrationType: z.ZodLiteral<IntegrationType.GMAIL>;
267
267
  configType: z.ZodLiteral<ConfigType.GMAIL>;
268
- eventTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof GmailEventType>>>;
268
+ eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<typeof GmailEventType>>>;
269
269
  }, z.core.$strip>;
270
270
  export type GmailConfigData = z.infer<typeof GmailConfigSchema>;
271
271
  export type GmailConfigInstance = GmailConfigData & ConfigBehavior;
272
272
  export declare class GmailConfig extends BaseConfigInstance<IntegrationType.GMAIL, ConfigType.GMAIL> implements GmailConfigInstance {
273
- eventTypes?: GmailEventType[] | undefined;
274
- constructor(integrationId: string, eventTypes?: GmailEventType[] | undefined);
273
+ eventTypes: GmailEventType[] | null;
274
+ constructor(integrationId: string, eventTypes?: GmailEventType[] | null);
275
275
  isComplete(): boolean;
276
276
  formatForAgent(): string;
277
277
  }
@@ -282,7 +282,7 @@ export declare const FigmaConfigSchema: z.ZodObject<{
282
282
  fileKey: z.ZodString;
283
283
  fileName: z.ZodString;
284
284
  teamId: z.ZodString;
285
- eventTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof FigmaEventType>>>;
285
+ eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<typeof FigmaEventType>>>;
286
286
  }, z.core.$strip>;
287
287
  export type FigmaConfigData = z.infer<typeof FigmaConfigSchema>;
288
288
  export type FigmaConfigInstance = FigmaConfigData & ConfigBehavior;
@@ -290,8 +290,8 @@ export declare class FigmaConfig extends BaseConfigInstance<IntegrationType.FIGM
290
290
  fileKey: string;
291
291
  fileName: string;
292
292
  teamId: string;
293
- eventTypes?: FigmaEventType[] | undefined;
294
- constructor(integrationId: string, fileKey: string, fileName: string, teamId: string, eventTypes?: FigmaEventType[] | undefined);
293
+ eventTypes: FigmaEventType[] | null;
294
+ constructor(integrationId: string, fileKey: string, fileName: string, teamId: string, eventTypes?: FigmaEventType[] | null);
295
295
  isComplete(): boolean;
296
296
  formatForAgent(): string;
297
297
  }
@@ -299,21 +299,21 @@ export declare const SlackConfigSchema: z.ZodObject<{
299
299
  integrationId: z.ZodString;
300
300
  integrationType: z.ZodLiteral<IntegrationType.SLACK>;
301
301
  configType: z.ZodLiteral<ConfigType.SLACK>;
302
- channelId: z.ZodOptional<z.ZodString>;
303
- channelName: z.ZodOptional<z.ZodString>;
302
+ channelId: z.ZodNullable<z.ZodString>;
303
+ channelName: z.ZodNullable<z.ZodString>;
304
304
  listenToUserDms: z.ZodDefault<z.ZodBoolean>;
305
- userIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
306
- eventTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof SlackEventType>>>;
305
+ userIds: z.ZodNullable<z.ZodArray<z.ZodString>>;
306
+ eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<typeof SlackEventType>>>;
307
307
  }, z.core.$strip>;
308
308
  export type SlackConfigData = z.infer<typeof SlackConfigSchema>;
309
309
  export type SlackConfigInstance = SlackConfigData & ConfigBehavior;
310
310
  export declare class SlackConfig extends BaseConfigInstance<IntegrationType.SLACK, ConfigType.SLACK> implements SlackConfigInstance {
311
- channelId?: string | undefined;
312
- channelName?: string | undefined;
311
+ channelId: string | null;
312
+ channelName: string | null;
313
313
  listenToUserDms: boolean;
314
- userIds?: string[] | undefined;
315
- eventTypes?: SlackEventType[] | undefined;
316
- constructor(integrationId: string, channelId?: string | undefined, channelName?: string | undefined, listenToUserDms?: boolean, userIds?: string[] | undefined, eventTypes?: SlackEventType[] | undefined);
314
+ userIds: string[] | null;
315
+ eventTypes: SlackEventType[] | null;
316
+ constructor(integrationId: string, channelId?: string | null, channelName?: string | null, listenToUserDms?: boolean, userIds?: string[] | null, eventTypes?: SlackEventType[] | null);
317
317
  isComplete(): boolean;
318
318
  formatForAgent(): string;
319
319
  }
@@ -321,21 +321,21 @@ export declare const SlackOutputConfigSchema: z.ZodObject<{
321
321
  integrationId: z.ZodString;
322
322
  integrationType: z.ZodLiteral<IntegrationType.SLACK>;
323
323
  configType: z.ZodLiteral<ConfigType.SLACK_OUTPUT>;
324
- channelId: z.ZodOptional<z.ZodString>;
325
- channelName: z.ZodOptional<z.ZodString>;
326
- userIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
327
- userNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
324
+ channelId: z.ZodNullable<z.ZodString>;
325
+ channelName: z.ZodNullable<z.ZodString>;
326
+ userIds: z.ZodNullable<z.ZodArray<z.ZodString>>;
327
+ userNames: z.ZodNullable<z.ZodArray<z.ZodString>>;
328
328
  listenToUserDms: z.ZodDefault<z.ZodBoolean>;
329
329
  }, z.core.$strip>;
330
330
  export type SlackOutputConfigData = z.infer<typeof SlackOutputConfigSchema>;
331
331
  export type SlackOutputConfigInstance = SlackOutputConfigData & ConfigBehavior;
332
332
  export declare class SlackOutputConfig extends BaseConfigInstance<IntegrationType.SLACK, ConfigType.SLACK_OUTPUT> implements SlackOutputConfigInstance {
333
- channelId?: string | undefined;
334
- channelName?: string | undefined;
335
- userIds?: string[] | undefined;
336
- userNames?: string[] | undefined;
333
+ channelId: string | null;
334
+ channelName: string | null;
335
+ userIds: string[] | null;
336
+ userNames: string[] | null;
337
337
  listenToUserDms: boolean;
338
- constructor(integrationId: string, channelId?: string | undefined, channelName?: string | undefined, userIds?: string[] | undefined, userNames?: string[] | undefined, listenToUserDms?: boolean);
338
+ constructor(integrationId: string, channelId?: string | null, channelName?: string | null, userIds?: string[] | null, userNames?: string[] | null, listenToUserDms?: boolean);
339
339
  isComplete(): boolean;
340
340
  formatForAgent(): string;
341
341
  }
@@ -387,17 +387,17 @@ export declare const LinearInputConfigSchema: z.ZodObject<{
387
387
  integrationId: z.ZodString;
388
388
  integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
389
389
  configType: z.ZodLiteral<ConfigType.LINEAR_INPUT>;
390
- projectId: z.ZodOptional<z.ZodString>;
391
- projectName: z.ZodOptional<z.ZodString>;
392
- eventTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof LinearEventType>>>;
390
+ projectId: z.ZodNullable<z.ZodString>;
391
+ projectName: z.ZodNullable<z.ZodString>;
392
+ eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<typeof LinearEventType>>>;
393
393
  }, z.core.$strip>;
394
394
  export type LinearInputConfigData = z.infer<typeof LinearInputConfigSchema>;
395
395
  export type LinearInputConfigInstance = LinearInputConfigData & ConfigBehavior;
396
396
  export declare class LinearInputConfig extends BaseConfigInstance<IntegrationType.LINEAR, ConfigType.LINEAR_INPUT> implements LinearInputConfigInstance {
397
- projectId?: string | undefined;
398
- projectName?: string | undefined;
399
- eventTypes?: LinearEventType[] | undefined;
400
- constructor(integrationId: string, projectId?: string | undefined, projectName?: string | undefined, eventTypes?: LinearEventType[] | undefined);
397
+ projectId: string | null;
398
+ projectName: string | null;
399
+ eventTypes: LinearEventType[] | null;
400
+ constructor(integrationId: string, projectId?: string | null, projectName?: string | null, eventTypes?: LinearEventType[] | null);
401
401
  isComplete(): boolean;
402
402
  formatForAgent(): string;
403
403
  }
@@ -405,19 +405,19 @@ export declare const LinearOutputConfigSchema: z.ZodObject<{
405
405
  integrationId: z.ZodString;
406
406
  integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
407
407
  configType: z.ZodLiteral<ConfigType.LINEAR_OUTPUT>;
408
- teamId: z.ZodOptional<z.ZodString>;
409
- teamName: z.ZodOptional<z.ZodString>;
410
- projectId: z.ZodOptional<z.ZodString>;
411
- projectName: z.ZodOptional<z.ZodString>;
408
+ teamId: z.ZodNullable<z.ZodString>;
409
+ teamName: z.ZodNullable<z.ZodString>;
410
+ projectId: z.ZodNullable<z.ZodString>;
411
+ projectName: z.ZodNullable<z.ZodString>;
412
412
  }, z.core.$strip>;
413
413
  export type LinearOutputConfigData = z.infer<typeof LinearOutputConfigSchema>;
414
414
  export type LinearOutputConfigInstance = LinearOutputConfigData & ConfigBehavior;
415
415
  export declare class LinearOutputConfig extends BaseConfigInstance<IntegrationType.LINEAR, ConfigType.LINEAR_OUTPUT> implements LinearOutputConfigInstance {
416
- teamId?: string | undefined;
417
- teamName?: string | undefined;
418
- projectId?: string | undefined;
419
- projectName?: string | undefined;
420
- constructor(integrationId: string, teamId?: string | undefined, teamName?: string | undefined, projectId?: string | undefined, projectName?: string | undefined);
416
+ teamId: string | null;
417
+ teamName: string | null;
418
+ projectId: string | null;
419
+ projectName: string | null;
420
+ constructor(integrationId: string, teamId?: string | null, teamName?: string | null, projectId?: string | null, projectName?: string | null);
421
421
  isComplete(): boolean;
422
422
  formatForAgent(): string;
423
423
  }
@@ -426,14 +426,14 @@ export declare const GitHubConfigSchema: z.ZodObject<{
426
426
  integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
427
427
  configType: z.ZodLiteral<ConfigType.GITHUB>;
428
428
  repositoryIds: z.ZodArray<z.ZodNumber>;
429
- eventTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof GitHubEventType>>>;
429
+ eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<typeof GitHubEventType>>>;
430
430
  }, z.core.$strip>;
431
431
  export type GitHubConfigData = z.infer<typeof GitHubConfigSchema>;
432
432
  export type GitHubConfigInstance = GitHubConfigData & ConfigBehavior;
433
433
  export declare class GitHubConfig extends BaseConfigInstance<IntegrationType.GITHUB, ConfigType.GITHUB> implements GitHubConfigInstance {
434
434
  repositoryIds: number[];
435
- eventTypes?: GitHubEventType[] | undefined;
436
- constructor(integrationId: string, repositoryIds: number[], eventTypes?: GitHubEventType[] | undefined);
435
+ eventTypes: GitHubEventType[] | null;
436
+ constructor(integrationId: string, repositoryIds: number[], eventTypes?: GitHubEventType[] | null);
437
437
  isComplete(): boolean;
438
438
  formatForAgent(): string;
439
439
  }
@@ -441,17 +441,17 @@ export declare const JiraConfigSchema: z.ZodObject<{
441
441
  integrationId: z.ZodString;
442
442
  integrationType: z.ZodLiteral<IntegrationType.ATLASSIAN>;
443
443
  configType: z.ZodLiteral<ConfigType.JIRA>;
444
- projectKey: z.ZodOptional<z.ZodString>;
445
- projectId: z.ZodOptional<z.ZodString>;
446
- eventTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof JiraEventType>>>;
444
+ projectKey: z.ZodNullable<z.ZodString>;
445
+ projectId: z.ZodNullable<z.ZodString>;
446
+ eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<typeof JiraEventType>>>;
447
447
  }, z.core.$strip>;
448
448
  export type JiraConfigData = z.infer<typeof JiraConfigSchema>;
449
449
  export type JiraConfigInstance = JiraConfigData & ConfigBehavior;
450
450
  export declare class JiraConfig extends BaseConfigInstance<IntegrationType.ATLASSIAN, ConfigType.JIRA> implements JiraConfigInstance {
451
- projectKey?: string | undefined;
452
- projectId?: string | undefined;
453
- eventTypes?: JiraEventType[] | undefined;
454
- constructor(integrationId: string, projectKey?: string | undefined, projectId?: string | undefined, eventTypes?: JiraEventType[] | undefined);
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
455
  isComplete(): boolean;
456
456
  formatForAgent(): string;
457
457
  }
@@ -481,14 +481,14 @@ export declare const PosthogConfigSchema: z.ZodObject<{
481
481
  integrationType: z.ZodLiteral<IntegrationType.POSTHOG>;
482
482
  configType: z.ZodLiteral<ConfigType.POSTHOG>;
483
483
  projectId: z.ZodString;
484
- projectName: z.ZodOptional<z.ZodString>;
484
+ projectName: z.ZodNullable<z.ZodString>;
485
485
  }, z.core.$strip>;
486
486
  export type PosthogConfigData = z.infer<typeof PosthogConfigSchema>;
487
487
  export type PosthogConfigInstance = PosthogConfigData & ConfigBehavior;
488
488
  export declare class PosthogConfig extends BaseConfigInstance<IntegrationType.POSTHOG, ConfigType.POSTHOG> implements PosthogConfigInstance {
489
489
  projectId: string;
490
- projectName?: string | undefined;
491
- constructor(integrationId: string, projectId: string, projectName?: string | undefined);
490
+ projectName: string | null;
491
+ constructor(integrationId: string, projectId: string, projectName?: string | null);
492
492
  isComplete(): boolean;
493
493
  formatForAgent(): string;
494
494
  }
@@ -578,13 +578,13 @@ export declare const AttioOutputConfigSchema: z.ZodObject<{
578
578
  integrationId: z.ZodString;
579
579
  integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
580
580
  configType: z.ZodLiteral<ConfigType.ATTIO_OUTPUT>;
581
- objectSlug: z.ZodOptional<z.ZodString>;
581
+ objectSlug: z.ZodNullable<z.ZodString>;
582
582
  }, z.core.$strip>;
583
583
  export type AttioOutputConfigData = z.infer<typeof AttioOutputConfigSchema>;
584
584
  export type AttioOutputConfigInstance = AttioOutputConfigData & ConfigBehavior;
585
585
  export declare class AttioOutputConfig extends BaseConfigInstance<IntegrationType.ATTIO, ConfigType.ATTIO_OUTPUT> implements AttioOutputConfigInstance {
586
- objectSlug?: string | undefined;
587
- constructor(integrationId: string, objectSlug?: string | undefined);
586
+ objectSlug: string | null;
587
+ constructor(integrationId: string, objectSlug?: string | null);
588
588
  isComplete(): boolean;
589
589
  formatForAgent(): string;
590
590
  }
@@ -600,6 +600,137 @@ export declare class SnowflakeOutputConfig extends BaseConfigInstance<Integratio
600
600
  isComplete(): boolean;
601
601
  formatForAgent(): string;
602
602
  }
603
+ export declare const configDataSchema: z.ZodUnion<readonly [z.ZodObject<{
604
+ integrationId: z.ZodString;
605
+ integrationType: z.ZodLiteral<IntegrationType.GMAIL>;
606
+ configType: z.ZodLiteral<ConfigType.GMAIL>;
607
+ eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<typeof GmailEventType>>>;
608
+ }, z.core.$strip>, z.ZodObject<{
609
+ integrationId: z.ZodString;
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>>>;
616
+ }, z.core.$strip>, z.ZodObject<{
617
+ integrationId: z.ZodString;
618
+ integrationType: z.ZodLiteral<IntegrationType.SLACK>;
619
+ configType: z.ZodLiteral<ConfigType.SLACK>;
620
+ channelId: z.ZodNullable<z.ZodString>;
621
+ channelName: z.ZodNullable<z.ZodString>;
622
+ listenToUserDms: z.ZodDefault<z.ZodBoolean>;
623
+ userIds: z.ZodNullable<z.ZodArray<z.ZodString>>;
624
+ eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<typeof SlackEventType>>>;
625
+ }, z.core.$strip>, z.ZodObject<{
626
+ integrationId: z.ZodString;
627
+ integrationType: z.ZodLiteral<IntegrationType.SLACK>;
628
+ configType: z.ZodLiteral<ConfigType.SLACK_OUTPUT>;
629
+ channelId: z.ZodNullable<z.ZodString>;
630
+ channelName: z.ZodNullable<z.ZodString>;
631
+ userIds: z.ZodNullable<z.ZodArray<z.ZodString>>;
632
+ userNames: z.ZodNullable<z.ZodArray<z.ZodString>>;
633
+ listenToUserDms: z.ZodDefault<z.ZodBoolean>;
634
+ }, z.core.$strip>, z.ZodObject<{
635
+ integrationId: z.ZodString;
636
+ integrationType: z.ZodLiteral<IntegrationType.GMAIL>;
637
+ configType: z.ZodLiteral<ConfigType.GMAIL_OUTPUT>;
638
+ }, z.core.$strip>, z.ZodObject<{
639
+ integrationId: z.ZodString;
640
+ integrationType: z.ZodLiteral<IntegrationType.GMAIL>;
641
+ configType: z.ZodLiteral<ConfigType.GMAIL_DRAFT_OUTPUT>;
642
+ }, z.core.$strip>, z.ZodObject<{
643
+ integrationId: z.ZodString;
644
+ integrationType: z.ZodLiteral<IntegrationType.NOTION>;
645
+ configType: z.ZodLiteral<ConfigType.NOTION>;
646
+ databaseIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
647
+ databaseNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
648
+ pageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
649
+ pageNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
650
+ }, z.core.$strip>, z.ZodObject<{
651
+ integrationId: z.ZodString;
652
+ integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
653
+ configType: z.ZodLiteral<ConfigType.LINEAR_INPUT>;
654
+ projectId: z.ZodNullable<z.ZodString>;
655
+ projectName: z.ZodNullable<z.ZodString>;
656
+ eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<typeof LinearEventType>>>;
657
+ }, z.core.$strip>, z.ZodObject<{
658
+ integrationId: z.ZodString;
659
+ integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
660
+ configType: z.ZodLiteral<ConfigType.LINEAR_OUTPUT>;
661
+ teamId: z.ZodNullable<z.ZodString>;
662
+ teamName: z.ZodNullable<z.ZodString>;
663
+ projectId: z.ZodNullable<z.ZodString>;
664
+ projectName: z.ZodNullable<z.ZodString>;
665
+ }, z.core.$strip>, z.ZodObject<{
666
+ integrationId: z.ZodString;
667
+ integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
668
+ configType: z.ZodLiteral<ConfigType.GITHUB>;
669
+ repositoryIds: z.ZodArray<z.ZodNumber>;
670
+ eventTypes: z.ZodNullable<z.ZodArray<z.ZodEnum<typeof GitHubEventType>>>;
671
+ }, z.core.$strip>, z.ZodObject<{
672
+ integrationId: z.ZodString;
673
+ integrationType: z.ZodLiteral<IntegrationType.ATLASSIAN>;
674
+ configType: z.ZodLiteral<ConfigType.JIRA>;
675
+ projectKey: z.ZodNullable<z.ZodString>;
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;
686
+ }, z.core.$strip>, z.ZodObject<{
687
+ integrationId: z.ZodString;
688
+ integrationType: z.ZodLiteral<IntegrationType.POSTHOG>;
689
+ configType: z.ZodLiteral<ConfigType.POSTHOG>;
690
+ projectId: z.ZodString;
691
+ projectName: z.ZodNullable<z.ZodString>;
692
+ }, z.core.$strip>, z.ZodObject<{
693
+ integrationId: z.ZodString;
694
+ integrationType: z.ZodLiteral<IntegrationType.DATADOG>;
695
+ configType: z.ZodLiteral<ConfigType.DATADOG>;
696
+ defaultIndexes: z.ZodDefault<z.ZodArray<z.ZodString>>;
697
+ }, z.core.$strip>, z.ZodObject<{
698
+ integrationId: z.ZodLiteral<"system">;
699
+ integrationType: z.ZodLiteral<IntegrationType.CRON_JOB>;
700
+ configType: z.ZodLiteral<ConfigType.TIME_TRIGGER>;
701
+ cronExpression: z.ZodString;
702
+ }, z.core.$strip>, z.ZodObject<{
703
+ integrationId: z.ZodString;
704
+ integrationType: z.ZodLiteral<IntegrationType.LAUNCHDARKLY>;
705
+ configType: z.ZodLiteral<ConfigType.LAUNCHDARKLY>;
706
+ projectKey: z.ZodString;
707
+ environmentKeys: z.ZodArray<z.ZodString>;
708
+ }, z.core.$strip>, z.ZodObject<{
709
+ integrationId: z.ZodLiteral<"system">;
710
+ integrationType: z.ZodLiteral<IntegrationType.TERSE>;
711
+ configType: z.ZodLiteral<ConfigType.TERSE>;
712
+ }, z.core.$strip>, z.ZodObject<{
713
+ integrationId: z.ZodString;
714
+ integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
715
+ configType: z.ZodLiteral<ConfigType.WORKOS_INPUT>;
716
+ eventTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<typeof WorkOSEventType>>>;
717
+ }, z.core.$strip>, z.ZodObject<{
718
+ integrationId: z.ZodString;
719
+ integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
720
+ configType: z.ZodLiteral<ConfigType.WORKOS_OUTPUT>;
721
+ }, z.core.$strip>, z.ZodObject<{
722
+ integrationId: z.ZodString;
723
+ integrationType: z.ZodLiteral<IntegrationType.ATTIO>;
724
+ configType: z.ZodLiteral<ConfigType.ATTIO_OUTPUT>;
725
+ objectSlug: z.ZodNullable<z.ZodString>;
726
+ }, z.core.$strip>, z.ZodObject<{
727
+ integrationId: z.ZodString;
728
+ integrationType: z.ZodLiteral<IntegrationType.SNOWFLAKE>;
729
+ configType: z.ZodLiteral<ConfigType.SNOWFLAKE_OUTPUT>;
730
+ }, z.core.$strip>]>;
731
+ export type ConfigData = z.infer<typeof configDataSchema>;
732
+ export declare function isConfigComplete(config: ConfigData | undefined): boolean;
733
+ export declare function formatConfigForAgent(config: ConfigData): string;
603
734
  type EnsureExhaustiveMetadata<T extends Record<ConfigType, new (...args: any[]) => ConfigInstance>> = T;
604
735
  export type ConfigMetadataMap = EnsureExhaustiveMetadata<{
605
736
  [ConfigType.GMAIL]: typeof GmailConfig;