@composio/core 0.16.0 → 0.18.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/{CustomTool-Bk38kFp0.d.mts → CustomTool-BKhHv2hJ.d.mts} +1 -1
- package/dist/{CustomTool-l-j5HtEf.mjs → CustomTool-C4tv-GL1.mjs} +1 -1
- package/dist/FileToolModifier.utils.neutral-D_YkHwZP.mjs +188 -0
- package/dist/{Telemetry-DuGJSwUt.mjs → Telemetry-CBtSnWrm.mjs} +27 -11
- package/dist/cancellation-jUVItfHw.mjs +704 -0
- package/dist/{composio-DSs-1AhC.d.mts → composio-CldtZUyC.d.mts} +254 -247
- package/dist/{BaseProvider-D7p2OPEx.d.mts → customTool.types-DC5fPOOi.d.mts} +2954 -82
- package/dist/docs/reference/sdk-reference/typescript/session-files.mdx +1 -1
- package/dist/{errors-BcEUHZbq.mjs → errors-DyZt79fi.mjs} +3 -0
- package/dist/experimental/index.d.mts +2 -2
- package/dist/experimental/index.mjs +1 -1
- package/dist/{fileUtils.node-BQ0fWge3.mjs → fileUtils.node-BwpUOF0s.mjs} +4 -4
- package/dist/index.d.mts +105 -7
- package/dist/index.mjs +94 -116
- package/dist/models/Files.node.mjs +2 -2
- package/dist/{sensitiveFileUploadPaths-BVEt0peg.mjs → sensitiveFileUploadPaths-B0w8dqpv.mjs} +23 -6
- package/dist/ssrfGuard.node-DlxO8uzr.mjs +307 -0
- package/dist/{types-B4k-qoOf.d.mts → types-BgsRW-XH.d.mts} +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -1
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.mjs +57 -101
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.workerd.mjs +1 -1
- package/dist/utils/ssrfGuard.node.d.mts +25 -6
- package/dist/utils/ssrfGuard.node.mjs +2 -152
- package/dist/utils/ssrfGuard.workerd.d.mts +13 -1
- package/dist/utils/ssrfGuard.workerd.mjs +13 -1
- package/package.json +8 -4
- package/src/errors/ToolErrors.ts +1 -0
- package/src/errors/ValidationErrors.ts +2 -0
- package/src/index.ts +6 -0
- package/src/models/RemoteFile.ts +7 -2
- package/src/models/ToolRouterSession.ts +36 -8
- package/src/models/ToolRouterSessionFileMount.ts +14 -8
- package/src/models/Tools.ts +102 -39
- package/src/provider/BaseProvider.ts +53 -1
- package/src/provider/OpenAIProvider.ts +43 -15
- package/src/services/telemetry/TelemetryService.ts +27 -12
- package/src/types/provider.types.ts +15 -0
- package/src/utils/fileUtils.node.ts +8 -2
- package/src/utils/jsonSchema.ts +505 -27
- package/src/utils/modifiers/FileToolModifier.node.ts +85 -181
- package/src/utils/modifiers/FileToolModifier.utils.neutral.ts +199 -0
- package/src/utils/pinnedDispatcher.node.ts +118 -0
- package/src/utils/sensitiveFileUploadPaths.ts +36 -9
- package/src/utils/ssrfGuard.node.ts +100 -11
- package/src/utils/ssrfGuard.workerd.ts +16 -0
- package/dist/FileToolModifier.utils.neutral-B5rT711M.mjs +0 -72
- package/dist/cancellation-NVtGf3St.mjs +0 -364
- package/dist/customTool.types-cGHcIBX-.d.mts +0 -2859
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { $
|
|
2
|
-
import { D as Session, Dn as UpdateConnectedAccountAclParams, Ht as ConnectionRequest, M as SessionWithoutMcp, Vt as ComposioRequestOptions, an as ConnectedAccountRefreshOptions, bn as CreateConnectedAccountOptions, en as ConnectedAccountListParams, f as CustomToolkit, gn as CreateConnectedAccountLinkOptions, kn as UpdateConnectedAccountParams, nn as ConnectedAccountListResponse, o as CustomTool, q as ToolRouterSessionDeleteResponse, sn as ConnectedAccountRetrieveResponse, z as ToolRouterCreateSessionConfig } from "./customTool.types-cGHcIBX-.mjs";
|
|
1
|
+
import { $i as ToolExecuteResponse, D as Session, Dn as UpdateConnectedAccountAclParams, Er as McpServerGetResponse, Fr as ExecuteToolFnOptions, Ht as ConnectionRequest, Ji as Tool, M as SessionWithoutMcp, Mn as BaseComposioProvider, Ni as ProviderOptions, Nn as BaseNonAgenticProvider, Pi as SessionExecuteMetaModifiers, Vt as ComposioRequestOptions, Yi as ToolExecuteMetaParams, Zi as ToolExecuteParams, an as ConnectedAccountRefreshOptions, bn as CreateConnectedAccountOptions, ca as ToolRetrievalOptions, en as ConnectedAccountListParams, f as CustomToolkit, gn as CreateConnectedAccountLinkOptions, ha as ToolkitVersionParam, ji as ExecuteToolModifiers, jr as McpUrlResponse, kn as UpdateConnectedAccountParams, na as ToolListParams, nn as ConnectedAccountListResponse, o as CustomTool, oa as ToolProxyParams, q as ToolRouterSessionDeleteResponse, qi as SchemaModifierOptions, sn as ConnectedAccountRetrieveResponse, ta as ToolList, z as ToolRouterCreateSessionConfig, zr as ToolCallSession } from "./customTool.types-DC5fPOOi.mjs";
|
|
3
2
|
import ComposioClient, { Composio } from "@composio/client";
|
|
4
3
|
import z, { z as z$1 } from "zod/v3";
|
|
5
4
|
import { OpenAI } from "openai";
|
|
@@ -102,6 +101,12 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
102
101
|
* @returns The modified params
|
|
103
102
|
*/
|
|
104
103
|
private applyBeforeExecuteModifiers;
|
|
104
|
+
/**
|
|
105
|
+
* Applies schema-aware file preprocessing shared by direct and Tool Router
|
|
106
|
+
* session execution. This always runs before the caller's `beforeExecute`
|
|
107
|
+
* hook so the hook observes the exact arguments sent to the backend.
|
|
108
|
+
*/
|
|
109
|
+
private applyFileUploadModifiers;
|
|
105
110
|
/**
|
|
106
111
|
* Applies the after execute modifiers to the tool execution result
|
|
107
112
|
* @param options.toolSlug - The slug of the tool
|
|
@@ -321,7 +326,7 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
321
326
|
* @param {SessionExecuteMetaModifiers} modifiers - The modifiers to apply to the tool
|
|
322
327
|
* @returns {Tool[]} The wrapped tools
|
|
323
328
|
*/
|
|
324
|
-
wrapToolsForToolRouter(sessionId: string, tools: Tool[], modifiers?: SessionExecuteMetaModifiers): Tool[];
|
|
329
|
+
wrapToolsForToolRouter(sessionId: string, tools: Tool[], modifiers?: SessionExecuteMetaModifiers, rawTools?: Tool[]): Tool[];
|
|
325
330
|
/**
|
|
326
331
|
* @internal
|
|
327
332
|
* @description
|
|
@@ -519,14 +524,14 @@ declare const ToolkitsListParamsSchema: z$1.ZodObject<{
|
|
|
519
524
|
cursor: z$1.ZodOptional<z$1.ZodString>;
|
|
520
525
|
limit: z$1.ZodOptional<z$1.ZodNumber>;
|
|
521
526
|
}, "strip", z$1.ZodTypeAny, {
|
|
522
|
-
cursor?: string | undefined;
|
|
523
527
|
limit?: number | undefined;
|
|
528
|
+
cursor?: string | undefined;
|
|
524
529
|
category?: string | undefined;
|
|
525
530
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
526
531
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
527
532
|
}, {
|
|
528
|
-
cursor?: string | undefined;
|
|
529
533
|
limit?: number | undefined;
|
|
534
|
+
cursor?: string | undefined;
|
|
530
535
|
category?: string | undefined;
|
|
531
536
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
532
537
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
@@ -542,11 +547,11 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
|
|
|
542
547
|
slug: z$1.ZodString;
|
|
543
548
|
name: z$1.ZodString;
|
|
544
549
|
}, "strip", z$1.ZodTypeAny, {
|
|
545
|
-
name: string;
|
|
546
550
|
slug: string;
|
|
547
|
-
}, {
|
|
548
551
|
name: string;
|
|
552
|
+
}, {
|
|
549
553
|
slug: string;
|
|
554
|
+
name: string;
|
|
550
555
|
}>, "many">>;
|
|
551
556
|
appUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
552
557
|
createdAt: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -557,27 +562,27 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
|
|
|
557
562
|
updatedAt: z$1.ZodOptional<z$1.ZodString>;
|
|
558
563
|
availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
559
564
|
}, "strip", z$1.ZodTypeAny, {
|
|
560
|
-
createdAt?: string | undefined;
|
|
561
|
-
updatedAt?: string | undefined;
|
|
562
565
|
logo?: string | undefined;
|
|
563
566
|
description?: string | undefined;
|
|
564
567
|
availableVersions?: string[] | undefined;
|
|
568
|
+
createdAt?: string | undefined;
|
|
569
|
+
updatedAt?: string | undefined;
|
|
565
570
|
categories?: {
|
|
566
|
-
name: string;
|
|
567
571
|
slug: string;
|
|
572
|
+
name: string;
|
|
568
573
|
}[] | undefined;
|
|
569
574
|
appUrl?: string | undefined;
|
|
570
575
|
toolsCount?: number | undefined;
|
|
571
576
|
triggersCount?: number | undefined;
|
|
572
577
|
}, {
|
|
573
|
-
createdAt?: string | undefined;
|
|
574
|
-
updatedAt?: string | undefined;
|
|
575
578
|
logo?: string | undefined;
|
|
576
579
|
description?: string | undefined;
|
|
577
580
|
availableVersions?: string[] | undefined;
|
|
581
|
+
createdAt?: string | undefined;
|
|
582
|
+
updatedAt?: string | undefined;
|
|
578
583
|
categories?: {
|
|
579
|
-
name: string;
|
|
580
584
|
slug: string;
|
|
585
|
+
name: string;
|
|
581
586
|
}[] | undefined;
|
|
582
587
|
appUrl?: string | undefined;
|
|
583
588
|
toolsCount?: number | undefined;
|
|
@@ -591,11 +596,11 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
591
596
|
slug: z$1.ZodString;
|
|
592
597
|
name: z$1.ZodString;
|
|
593
598
|
}, "strip", z$1.ZodTypeAny, {
|
|
594
|
-
name: string;
|
|
595
599
|
slug: string;
|
|
596
|
-
}, {
|
|
597
600
|
name: string;
|
|
601
|
+
}, {
|
|
598
602
|
slug: string;
|
|
603
|
+
name: string;
|
|
599
604
|
}>, "many">>;
|
|
600
605
|
appUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
601
606
|
createdAt: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -606,27 +611,27 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
606
611
|
updatedAt: z$1.ZodOptional<z$1.ZodString>;
|
|
607
612
|
availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
608
613
|
}, "strip", z$1.ZodTypeAny, {
|
|
609
|
-
createdAt?: string | undefined;
|
|
610
|
-
updatedAt?: string | undefined;
|
|
611
614
|
logo?: string | undefined;
|
|
612
615
|
description?: string | undefined;
|
|
613
616
|
availableVersions?: string[] | undefined;
|
|
617
|
+
createdAt?: string | undefined;
|
|
618
|
+
updatedAt?: string | undefined;
|
|
614
619
|
categories?: {
|
|
615
|
-
name: string;
|
|
616
620
|
slug: string;
|
|
621
|
+
name: string;
|
|
617
622
|
}[] | undefined;
|
|
618
623
|
appUrl?: string | undefined;
|
|
619
624
|
toolsCount?: number | undefined;
|
|
620
625
|
triggersCount?: number | undefined;
|
|
621
626
|
}, {
|
|
622
|
-
createdAt?: string | undefined;
|
|
623
|
-
updatedAt?: string | undefined;
|
|
624
627
|
logo?: string | undefined;
|
|
625
628
|
description?: string | undefined;
|
|
626
629
|
availableVersions?: string[] | undefined;
|
|
630
|
+
createdAt?: string | undefined;
|
|
631
|
+
updatedAt?: string | undefined;
|
|
627
632
|
categories?: {
|
|
628
|
-
name: string;
|
|
629
633
|
slug: string;
|
|
634
|
+
name: string;
|
|
630
635
|
}[] | undefined;
|
|
631
636
|
appUrl?: string | undefined;
|
|
632
637
|
toolsCount?: number | undefined;
|
|
@@ -637,17 +642,17 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
637
642
|
composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
638
643
|
noAuth: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
639
644
|
}, "strip", z$1.ZodTypeAny, {
|
|
640
|
-
name: string;
|
|
641
645
|
slug: string;
|
|
646
|
+
name: string;
|
|
642
647
|
meta: {
|
|
643
|
-
createdAt?: string | undefined;
|
|
644
|
-
updatedAt?: string | undefined;
|
|
645
648
|
logo?: string | undefined;
|
|
646
649
|
description?: string | undefined;
|
|
647
650
|
availableVersions?: string[] | undefined;
|
|
651
|
+
createdAt?: string | undefined;
|
|
652
|
+
updatedAt?: string | undefined;
|
|
648
653
|
categories?: {
|
|
649
|
-
name: string;
|
|
650
654
|
slug: string;
|
|
655
|
+
name: string;
|
|
651
656
|
}[] | undefined;
|
|
652
657
|
appUrl?: string | undefined;
|
|
653
658
|
toolsCount?: number | undefined;
|
|
@@ -658,17 +663,17 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
658
663
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
659
664
|
noAuth?: boolean | undefined;
|
|
660
665
|
}, {
|
|
661
|
-
name: string;
|
|
662
666
|
slug: string;
|
|
667
|
+
name: string;
|
|
663
668
|
meta: {
|
|
664
|
-
createdAt?: string | undefined;
|
|
665
|
-
updatedAt?: string | undefined;
|
|
666
669
|
logo?: string | undefined;
|
|
667
670
|
description?: string | undefined;
|
|
668
671
|
availableVersions?: string[] | undefined;
|
|
672
|
+
createdAt?: string | undefined;
|
|
673
|
+
updatedAt?: string | undefined;
|
|
669
674
|
categories?: {
|
|
670
|
-
name: string;
|
|
671
675
|
slug: string;
|
|
676
|
+
name: string;
|
|
672
677
|
}[] | undefined;
|
|
673
678
|
appUrl?: string | undefined;
|
|
674
679
|
toolsCount?: number | undefined;
|
|
@@ -687,11 +692,11 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
687
692
|
slug: z$1.ZodString;
|
|
688
693
|
name: z$1.ZodString;
|
|
689
694
|
}, "strip", z$1.ZodTypeAny, {
|
|
690
|
-
name: string;
|
|
691
695
|
slug: string;
|
|
692
|
-
}, {
|
|
693
696
|
name: string;
|
|
697
|
+
}, {
|
|
694
698
|
slug: string;
|
|
699
|
+
name: string;
|
|
695
700
|
}>, "many">>;
|
|
696
701
|
appUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
697
702
|
createdAt: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -702,27 +707,27 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
702
707
|
updatedAt: z$1.ZodOptional<z$1.ZodString>;
|
|
703
708
|
availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
704
709
|
}, "strip", z$1.ZodTypeAny, {
|
|
705
|
-
createdAt?: string | undefined;
|
|
706
|
-
updatedAt?: string | undefined;
|
|
707
710
|
logo?: string | undefined;
|
|
708
711
|
description?: string | undefined;
|
|
709
712
|
availableVersions?: string[] | undefined;
|
|
713
|
+
createdAt?: string | undefined;
|
|
714
|
+
updatedAt?: string | undefined;
|
|
710
715
|
categories?: {
|
|
711
|
-
name: string;
|
|
712
716
|
slug: string;
|
|
717
|
+
name: string;
|
|
713
718
|
}[] | undefined;
|
|
714
719
|
appUrl?: string | undefined;
|
|
715
720
|
toolsCount?: number | undefined;
|
|
716
721
|
triggersCount?: number | undefined;
|
|
717
722
|
}, {
|
|
718
|
-
createdAt?: string | undefined;
|
|
719
|
-
updatedAt?: string | undefined;
|
|
720
723
|
logo?: string | undefined;
|
|
721
724
|
description?: string | undefined;
|
|
722
725
|
availableVersions?: string[] | undefined;
|
|
726
|
+
createdAt?: string | undefined;
|
|
727
|
+
updatedAt?: string | undefined;
|
|
723
728
|
categories?: {
|
|
724
|
-
name: string;
|
|
725
729
|
slug: string;
|
|
730
|
+
name: string;
|
|
726
731
|
}[] | undefined;
|
|
727
732
|
appUrl?: string | undefined;
|
|
728
733
|
toolsCount?: number | undefined;
|
|
@@ -733,17 +738,17 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
733
738
|
composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
734
739
|
noAuth: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
735
740
|
}, "strip", z$1.ZodTypeAny, {
|
|
736
|
-
name: string;
|
|
737
741
|
slug: string;
|
|
742
|
+
name: string;
|
|
738
743
|
meta: {
|
|
739
|
-
createdAt?: string | undefined;
|
|
740
|
-
updatedAt?: string | undefined;
|
|
741
744
|
logo?: string | undefined;
|
|
742
745
|
description?: string | undefined;
|
|
743
746
|
availableVersions?: string[] | undefined;
|
|
747
|
+
createdAt?: string | undefined;
|
|
748
|
+
updatedAt?: string | undefined;
|
|
744
749
|
categories?: {
|
|
745
|
-
name: string;
|
|
746
750
|
slug: string;
|
|
751
|
+
name: string;
|
|
747
752
|
}[] | undefined;
|
|
748
753
|
appUrl?: string | undefined;
|
|
749
754
|
toolsCount?: number | undefined;
|
|
@@ -754,17 +759,17 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
754
759
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
755
760
|
noAuth?: boolean | undefined;
|
|
756
761
|
}, {
|
|
757
|
-
name: string;
|
|
758
762
|
slug: string;
|
|
763
|
+
name: string;
|
|
759
764
|
meta: {
|
|
760
|
-
createdAt?: string | undefined;
|
|
761
|
-
updatedAt?: string | undefined;
|
|
762
765
|
logo?: string | undefined;
|
|
763
766
|
description?: string | undefined;
|
|
764
767
|
availableVersions?: string[] | undefined;
|
|
768
|
+
createdAt?: string | undefined;
|
|
769
|
+
updatedAt?: string | undefined;
|
|
765
770
|
categories?: {
|
|
766
|
-
name: string;
|
|
767
771
|
slug: string;
|
|
772
|
+
name: string;
|
|
768
773
|
}[] | undefined;
|
|
769
774
|
appUrl?: string | undefined;
|
|
770
775
|
toolsCount?: number | undefined;
|
|
@@ -789,15 +794,15 @@ declare const ToolkitAuthFieldSchema: z$1.ZodObject<{
|
|
|
789
794
|
type: z$1.ZodString;
|
|
790
795
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
791
796
|
}, "strip", z$1.ZodTypeAny, {
|
|
792
|
-
type: string;
|
|
793
797
|
name: string;
|
|
798
|
+
type: string;
|
|
794
799
|
description: string;
|
|
795
800
|
required: boolean;
|
|
796
801
|
displayName: string;
|
|
797
802
|
default?: string | null | undefined;
|
|
798
803
|
}, {
|
|
799
|
-
type: string;
|
|
800
804
|
name: string;
|
|
805
|
+
type: string;
|
|
801
806
|
description: string;
|
|
802
807
|
required: boolean;
|
|
803
808
|
displayName: string;
|
|
@@ -816,15 +821,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
816
821
|
type: z$1.ZodString;
|
|
817
822
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
818
823
|
}, "strip", z$1.ZodTypeAny, {
|
|
819
|
-
type: string;
|
|
820
824
|
name: string;
|
|
825
|
+
type: string;
|
|
821
826
|
description: string;
|
|
822
827
|
required: boolean;
|
|
823
828
|
displayName: string;
|
|
824
829
|
default?: string | null | undefined;
|
|
825
830
|
}, {
|
|
826
|
-
type: string;
|
|
827
831
|
name: string;
|
|
832
|
+
type: string;
|
|
828
833
|
description: string;
|
|
829
834
|
required: boolean;
|
|
830
835
|
displayName: string;
|
|
@@ -838,15 +843,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
838
843
|
type: z$1.ZodString;
|
|
839
844
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
840
845
|
}, "strip", z$1.ZodTypeAny, {
|
|
841
|
-
type: string;
|
|
842
846
|
name: string;
|
|
847
|
+
type: string;
|
|
843
848
|
description: string;
|
|
844
849
|
required: boolean;
|
|
845
850
|
displayName: string;
|
|
846
851
|
default?: string | null | undefined;
|
|
847
852
|
}, {
|
|
848
|
-
type: string;
|
|
849
853
|
name: string;
|
|
854
|
+
type: string;
|
|
850
855
|
description: string;
|
|
851
856
|
required: boolean;
|
|
852
857
|
displayName: string;
|
|
@@ -854,16 +859,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
854
859
|
}>, "many">;
|
|
855
860
|
}, "strip", z$1.ZodTypeAny, {
|
|
856
861
|
required: {
|
|
857
|
-
type: string;
|
|
858
862
|
name: string;
|
|
863
|
+
type: string;
|
|
859
864
|
description: string;
|
|
860
865
|
required: boolean;
|
|
861
866
|
displayName: string;
|
|
862
867
|
default?: string | null | undefined;
|
|
863
868
|
}[];
|
|
864
869
|
optional: {
|
|
865
|
-
type: string;
|
|
866
870
|
name: string;
|
|
871
|
+
type: string;
|
|
867
872
|
description: string;
|
|
868
873
|
required: boolean;
|
|
869
874
|
displayName: string;
|
|
@@ -871,16 +876,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
871
876
|
}[];
|
|
872
877
|
}, {
|
|
873
878
|
required: {
|
|
874
|
-
type: string;
|
|
875
879
|
name: string;
|
|
880
|
+
type: string;
|
|
876
881
|
description: string;
|
|
877
882
|
required: boolean;
|
|
878
883
|
displayName: string;
|
|
879
884
|
default?: string | null | undefined;
|
|
880
885
|
}[];
|
|
881
886
|
optional: {
|
|
882
|
-
type: string;
|
|
883
887
|
name: string;
|
|
888
|
+
type: string;
|
|
884
889
|
description: string;
|
|
885
890
|
required: boolean;
|
|
886
891
|
displayName: string;
|
|
@@ -896,15 +901,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
896
901
|
type: z$1.ZodString;
|
|
897
902
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
898
903
|
}, "strip", z$1.ZodTypeAny, {
|
|
899
|
-
type: string;
|
|
900
904
|
name: string;
|
|
905
|
+
type: string;
|
|
901
906
|
description: string;
|
|
902
907
|
required: boolean;
|
|
903
908
|
displayName: string;
|
|
904
909
|
default?: string | null | undefined;
|
|
905
910
|
}, {
|
|
906
|
-
type: string;
|
|
907
911
|
name: string;
|
|
912
|
+
type: string;
|
|
908
913
|
description: string;
|
|
909
914
|
required: boolean;
|
|
910
915
|
displayName: string;
|
|
@@ -918,15 +923,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
918
923
|
type: z$1.ZodString;
|
|
919
924
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
920
925
|
}, "strip", z$1.ZodTypeAny, {
|
|
921
|
-
type: string;
|
|
922
926
|
name: string;
|
|
927
|
+
type: string;
|
|
923
928
|
description: string;
|
|
924
929
|
required: boolean;
|
|
925
930
|
displayName: string;
|
|
926
931
|
default?: string | null | undefined;
|
|
927
932
|
}, {
|
|
928
|
-
type: string;
|
|
929
933
|
name: string;
|
|
934
|
+
type: string;
|
|
930
935
|
description: string;
|
|
931
936
|
required: boolean;
|
|
932
937
|
displayName: string;
|
|
@@ -934,16 +939,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
934
939
|
}>, "many">;
|
|
935
940
|
}, "strip", z$1.ZodTypeAny, {
|
|
936
941
|
required: {
|
|
937
|
-
type: string;
|
|
938
942
|
name: string;
|
|
943
|
+
type: string;
|
|
939
944
|
description: string;
|
|
940
945
|
required: boolean;
|
|
941
946
|
displayName: string;
|
|
942
947
|
default?: string | null | undefined;
|
|
943
948
|
}[];
|
|
944
949
|
optional: {
|
|
945
|
-
type: string;
|
|
946
950
|
name: string;
|
|
951
|
+
type: string;
|
|
947
952
|
description: string;
|
|
948
953
|
required: boolean;
|
|
949
954
|
displayName: string;
|
|
@@ -951,16 +956,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
951
956
|
}[];
|
|
952
957
|
}, {
|
|
953
958
|
required: {
|
|
954
|
-
type: string;
|
|
955
959
|
name: string;
|
|
960
|
+
type: string;
|
|
956
961
|
description: string;
|
|
957
962
|
required: boolean;
|
|
958
963
|
displayName: string;
|
|
959
964
|
default?: string | null | undefined;
|
|
960
965
|
}[];
|
|
961
966
|
optional: {
|
|
962
|
-
type: string;
|
|
963
967
|
name: string;
|
|
968
|
+
type: string;
|
|
964
969
|
description: string;
|
|
965
970
|
required: boolean;
|
|
966
971
|
displayName: string;
|
|
@@ -970,16 +975,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
970
975
|
}, "strip", z$1.ZodTypeAny, {
|
|
971
976
|
authConfigCreation: {
|
|
972
977
|
required: {
|
|
973
|
-
type: string;
|
|
974
978
|
name: string;
|
|
979
|
+
type: string;
|
|
975
980
|
description: string;
|
|
976
981
|
required: boolean;
|
|
977
982
|
displayName: string;
|
|
978
983
|
default?: string | null | undefined;
|
|
979
984
|
}[];
|
|
980
985
|
optional: {
|
|
981
|
-
type: string;
|
|
982
986
|
name: string;
|
|
987
|
+
type: string;
|
|
983
988
|
description: string;
|
|
984
989
|
required: boolean;
|
|
985
990
|
displayName: string;
|
|
@@ -988,16 +993,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
988
993
|
};
|
|
989
994
|
connectedAccountInitiation: {
|
|
990
995
|
required: {
|
|
991
|
-
type: string;
|
|
992
996
|
name: string;
|
|
997
|
+
type: string;
|
|
993
998
|
description: string;
|
|
994
999
|
required: boolean;
|
|
995
1000
|
displayName: string;
|
|
996
1001
|
default?: string | null | undefined;
|
|
997
1002
|
}[];
|
|
998
1003
|
optional: {
|
|
999
|
-
type: string;
|
|
1000
1004
|
name: string;
|
|
1005
|
+
type: string;
|
|
1001
1006
|
description: string;
|
|
1002
1007
|
required: boolean;
|
|
1003
1008
|
displayName: string;
|
|
@@ -1007,16 +1012,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
1007
1012
|
}, {
|
|
1008
1013
|
authConfigCreation: {
|
|
1009
1014
|
required: {
|
|
1010
|
-
type: string;
|
|
1011
1015
|
name: string;
|
|
1016
|
+
type: string;
|
|
1012
1017
|
description: string;
|
|
1013
1018
|
required: boolean;
|
|
1014
1019
|
displayName: string;
|
|
1015
1020
|
default?: string | null | undefined;
|
|
1016
1021
|
}[];
|
|
1017
1022
|
optional: {
|
|
1018
|
-
type: string;
|
|
1019
1023
|
name: string;
|
|
1024
|
+
type: string;
|
|
1020
1025
|
description: string;
|
|
1021
1026
|
required: boolean;
|
|
1022
1027
|
displayName: string;
|
|
@@ -1025,16 +1030,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
1025
1030
|
};
|
|
1026
1031
|
connectedAccountInitiation: {
|
|
1027
1032
|
required: {
|
|
1028
|
-
type: string;
|
|
1029
1033
|
name: string;
|
|
1034
|
+
type: string;
|
|
1030
1035
|
description: string;
|
|
1031
1036
|
required: boolean;
|
|
1032
1037
|
displayName: string;
|
|
1033
1038
|
default?: string | null | undefined;
|
|
1034
1039
|
}[];
|
|
1035
1040
|
optional: {
|
|
1036
|
-
type: string;
|
|
1037
1041
|
name: string;
|
|
1042
|
+
type: string;
|
|
1038
1043
|
description: string;
|
|
1039
1044
|
required: boolean;
|
|
1040
1045
|
displayName: string;
|
|
@@ -1055,16 +1060,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
1055
1060
|
fields: {
|
|
1056
1061
|
authConfigCreation: {
|
|
1057
1062
|
required: {
|
|
1058
|
-
type: string;
|
|
1059
1063
|
name: string;
|
|
1064
|
+
type: string;
|
|
1060
1065
|
description: string;
|
|
1061
1066
|
required: boolean;
|
|
1062
1067
|
displayName: string;
|
|
1063
1068
|
default?: string | null | undefined;
|
|
1064
1069
|
}[];
|
|
1065
1070
|
optional: {
|
|
1066
|
-
type: string;
|
|
1067
1071
|
name: string;
|
|
1072
|
+
type: string;
|
|
1068
1073
|
description: string;
|
|
1069
1074
|
required: boolean;
|
|
1070
1075
|
displayName: string;
|
|
@@ -1073,16 +1078,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
1073
1078
|
};
|
|
1074
1079
|
connectedAccountInitiation: {
|
|
1075
1080
|
required: {
|
|
1076
|
-
type: string;
|
|
1077
1081
|
name: string;
|
|
1082
|
+
type: string;
|
|
1078
1083
|
description: string;
|
|
1079
1084
|
required: boolean;
|
|
1080
1085
|
displayName: string;
|
|
1081
1086
|
default?: string | null | undefined;
|
|
1082
1087
|
}[];
|
|
1083
1088
|
optional: {
|
|
1084
|
-
type: string;
|
|
1085
1089
|
name: string;
|
|
1090
|
+
type: string;
|
|
1086
1091
|
description: string;
|
|
1087
1092
|
required: boolean;
|
|
1088
1093
|
displayName: string;
|
|
@@ -1099,16 +1104,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
1099
1104
|
fields: {
|
|
1100
1105
|
authConfigCreation: {
|
|
1101
1106
|
required: {
|
|
1102
|
-
type: string;
|
|
1103
1107
|
name: string;
|
|
1108
|
+
type: string;
|
|
1104
1109
|
description: string;
|
|
1105
1110
|
required: boolean;
|
|
1106
1111
|
displayName: string;
|
|
1107
1112
|
default?: string | null | undefined;
|
|
1108
1113
|
}[];
|
|
1109
1114
|
optional: {
|
|
1110
|
-
type: string;
|
|
1111
1115
|
name: string;
|
|
1116
|
+
type: string;
|
|
1112
1117
|
description: string;
|
|
1113
1118
|
required: boolean;
|
|
1114
1119
|
displayName: string;
|
|
@@ -1117,16 +1122,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
1117
1122
|
};
|
|
1118
1123
|
connectedAccountInitiation: {
|
|
1119
1124
|
required: {
|
|
1120
|
-
type: string;
|
|
1121
1125
|
name: string;
|
|
1126
|
+
type: string;
|
|
1122
1127
|
description: string;
|
|
1123
1128
|
required: boolean;
|
|
1124
1129
|
displayName: string;
|
|
1125
1130
|
default?: string | null | undefined;
|
|
1126
1131
|
}[];
|
|
1127
1132
|
optional: {
|
|
1128
|
-
type: string;
|
|
1129
1133
|
name: string;
|
|
1134
|
+
type: string;
|
|
1130
1135
|
description: string;
|
|
1131
1136
|
required: boolean;
|
|
1132
1137
|
displayName: string;
|
|
@@ -1146,11 +1151,11 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1146
1151
|
slug: z$1.ZodString;
|
|
1147
1152
|
name: z$1.ZodString;
|
|
1148
1153
|
}, "strip", z$1.ZodTypeAny, {
|
|
1149
|
-
name: string;
|
|
1150
1154
|
slug: string;
|
|
1151
|
-
}, {
|
|
1152
1155
|
name: string;
|
|
1156
|
+
}, {
|
|
1153
1157
|
slug: string;
|
|
1158
|
+
name: string;
|
|
1154
1159
|
}>, "many">>;
|
|
1155
1160
|
appUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
1156
1161
|
createdAt: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -1161,27 +1166,27 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1161
1166
|
updatedAt: z$1.ZodOptional<z$1.ZodString>;
|
|
1162
1167
|
availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
1163
1168
|
}, "strip", z$1.ZodTypeAny, {
|
|
1164
|
-
createdAt?: string | undefined;
|
|
1165
|
-
updatedAt?: string | undefined;
|
|
1166
1169
|
logo?: string | undefined;
|
|
1167
1170
|
description?: string | undefined;
|
|
1168
1171
|
availableVersions?: string[] | undefined;
|
|
1172
|
+
createdAt?: string | undefined;
|
|
1173
|
+
updatedAt?: string | undefined;
|
|
1169
1174
|
categories?: {
|
|
1170
|
-
name: string;
|
|
1171
1175
|
slug: string;
|
|
1176
|
+
name: string;
|
|
1172
1177
|
}[] | undefined;
|
|
1173
1178
|
appUrl?: string | undefined;
|
|
1174
1179
|
toolsCount?: number | undefined;
|
|
1175
1180
|
triggersCount?: number | undefined;
|
|
1176
1181
|
}, {
|
|
1177
|
-
createdAt?: string | undefined;
|
|
1178
|
-
updatedAt?: string | undefined;
|
|
1179
1182
|
logo?: string | undefined;
|
|
1180
1183
|
description?: string | undefined;
|
|
1181
1184
|
availableVersions?: string[] | undefined;
|
|
1185
|
+
createdAt?: string | undefined;
|
|
1186
|
+
updatedAt?: string | undefined;
|
|
1182
1187
|
categories?: {
|
|
1183
|
-
name: string;
|
|
1184
1188
|
slug: string;
|
|
1189
|
+
name: string;
|
|
1185
1190
|
}[] | undefined;
|
|
1186
1191
|
appUrl?: string | undefined;
|
|
1187
1192
|
toolsCount?: number | undefined;
|
|
@@ -1202,15 +1207,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1202
1207
|
type: z$1.ZodString;
|
|
1203
1208
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
1204
1209
|
}, "strip", z$1.ZodTypeAny, {
|
|
1205
|
-
type: string;
|
|
1206
1210
|
name: string;
|
|
1211
|
+
type: string;
|
|
1207
1212
|
description: string;
|
|
1208
1213
|
required: boolean;
|
|
1209
1214
|
displayName: string;
|
|
1210
1215
|
default?: string | null | undefined;
|
|
1211
1216
|
}, {
|
|
1212
|
-
type: string;
|
|
1213
1217
|
name: string;
|
|
1218
|
+
type: string;
|
|
1214
1219
|
description: string;
|
|
1215
1220
|
required: boolean;
|
|
1216
1221
|
displayName: string;
|
|
@@ -1224,15 +1229,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1224
1229
|
type: z$1.ZodString;
|
|
1225
1230
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
1226
1231
|
}, "strip", z$1.ZodTypeAny, {
|
|
1227
|
-
type: string;
|
|
1228
1232
|
name: string;
|
|
1233
|
+
type: string;
|
|
1229
1234
|
description: string;
|
|
1230
1235
|
required: boolean;
|
|
1231
1236
|
displayName: string;
|
|
1232
1237
|
default?: string | null | undefined;
|
|
1233
1238
|
}, {
|
|
1234
|
-
type: string;
|
|
1235
1239
|
name: string;
|
|
1240
|
+
type: string;
|
|
1236
1241
|
description: string;
|
|
1237
1242
|
required: boolean;
|
|
1238
1243
|
displayName: string;
|
|
@@ -1240,16 +1245,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1240
1245
|
}>, "many">;
|
|
1241
1246
|
}, "strip", z$1.ZodTypeAny, {
|
|
1242
1247
|
required: {
|
|
1243
|
-
type: string;
|
|
1244
1248
|
name: string;
|
|
1249
|
+
type: string;
|
|
1245
1250
|
description: string;
|
|
1246
1251
|
required: boolean;
|
|
1247
1252
|
displayName: string;
|
|
1248
1253
|
default?: string | null | undefined;
|
|
1249
1254
|
}[];
|
|
1250
1255
|
optional: {
|
|
1251
|
-
type: string;
|
|
1252
1256
|
name: string;
|
|
1257
|
+
type: string;
|
|
1253
1258
|
description: string;
|
|
1254
1259
|
required: boolean;
|
|
1255
1260
|
displayName: string;
|
|
@@ -1257,16 +1262,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1257
1262
|
}[];
|
|
1258
1263
|
}, {
|
|
1259
1264
|
required: {
|
|
1260
|
-
type: string;
|
|
1261
1265
|
name: string;
|
|
1266
|
+
type: string;
|
|
1262
1267
|
description: string;
|
|
1263
1268
|
required: boolean;
|
|
1264
1269
|
displayName: string;
|
|
1265
1270
|
default?: string | null | undefined;
|
|
1266
1271
|
}[];
|
|
1267
1272
|
optional: {
|
|
1268
|
-
type: string;
|
|
1269
1273
|
name: string;
|
|
1274
|
+
type: string;
|
|
1270
1275
|
description: string;
|
|
1271
1276
|
required: boolean;
|
|
1272
1277
|
displayName: string;
|
|
@@ -1282,15 +1287,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1282
1287
|
type: z$1.ZodString;
|
|
1283
1288
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
1284
1289
|
}, "strip", z$1.ZodTypeAny, {
|
|
1285
|
-
type: string;
|
|
1286
1290
|
name: string;
|
|
1291
|
+
type: string;
|
|
1287
1292
|
description: string;
|
|
1288
1293
|
required: boolean;
|
|
1289
1294
|
displayName: string;
|
|
1290
1295
|
default?: string | null | undefined;
|
|
1291
1296
|
}, {
|
|
1292
|
-
type: string;
|
|
1293
1297
|
name: string;
|
|
1298
|
+
type: string;
|
|
1294
1299
|
description: string;
|
|
1295
1300
|
required: boolean;
|
|
1296
1301
|
displayName: string;
|
|
@@ -1304,15 +1309,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1304
1309
|
type: z$1.ZodString;
|
|
1305
1310
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
1306
1311
|
}, "strip", z$1.ZodTypeAny, {
|
|
1307
|
-
type: string;
|
|
1308
1312
|
name: string;
|
|
1313
|
+
type: string;
|
|
1309
1314
|
description: string;
|
|
1310
1315
|
required: boolean;
|
|
1311
1316
|
displayName: string;
|
|
1312
1317
|
default?: string | null | undefined;
|
|
1313
1318
|
}, {
|
|
1314
|
-
type: string;
|
|
1315
1319
|
name: string;
|
|
1320
|
+
type: string;
|
|
1316
1321
|
description: string;
|
|
1317
1322
|
required: boolean;
|
|
1318
1323
|
displayName: string;
|
|
@@ -1320,16 +1325,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1320
1325
|
}>, "many">;
|
|
1321
1326
|
}, "strip", z$1.ZodTypeAny, {
|
|
1322
1327
|
required: {
|
|
1323
|
-
type: string;
|
|
1324
1328
|
name: string;
|
|
1329
|
+
type: string;
|
|
1325
1330
|
description: string;
|
|
1326
1331
|
required: boolean;
|
|
1327
1332
|
displayName: string;
|
|
1328
1333
|
default?: string | null | undefined;
|
|
1329
1334
|
}[];
|
|
1330
1335
|
optional: {
|
|
1331
|
-
type: string;
|
|
1332
1336
|
name: string;
|
|
1337
|
+
type: string;
|
|
1333
1338
|
description: string;
|
|
1334
1339
|
required: boolean;
|
|
1335
1340
|
displayName: string;
|
|
@@ -1337,16 +1342,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1337
1342
|
}[];
|
|
1338
1343
|
}, {
|
|
1339
1344
|
required: {
|
|
1340
|
-
type: string;
|
|
1341
1345
|
name: string;
|
|
1346
|
+
type: string;
|
|
1342
1347
|
description: string;
|
|
1343
1348
|
required: boolean;
|
|
1344
1349
|
displayName: string;
|
|
1345
1350
|
default?: string | null | undefined;
|
|
1346
1351
|
}[];
|
|
1347
1352
|
optional: {
|
|
1348
|
-
type: string;
|
|
1349
1353
|
name: string;
|
|
1354
|
+
type: string;
|
|
1350
1355
|
description: string;
|
|
1351
1356
|
required: boolean;
|
|
1352
1357
|
displayName: string;
|
|
@@ -1356,16 +1361,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1356
1361
|
}, "strip", z$1.ZodTypeAny, {
|
|
1357
1362
|
authConfigCreation: {
|
|
1358
1363
|
required: {
|
|
1359
|
-
type: string;
|
|
1360
1364
|
name: string;
|
|
1365
|
+
type: string;
|
|
1361
1366
|
description: string;
|
|
1362
1367
|
required: boolean;
|
|
1363
1368
|
displayName: string;
|
|
1364
1369
|
default?: string | null | undefined;
|
|
1365
1370
|
}[];
|
|
1366
1371
|
optional: {
|
|
1367
|
-
type: string;
|
|
1368
1372
|
name: string;
|
|
1373
|
+
type: string;
|
|
1369
1374
|
description: string;
|
|
1370
1375
|
required: boolean;
|
|
1371
1376
|
displayName: string;
|
|
@@ -1374,16 +1379,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1374
1379
|
};
|
|
1375
1380
|
connectedAccountInitiation: {
|
|
1376
1381
|
required: {
|
|
1377
|
-
type: string;
|
|
1378
1382
|
name: string;
|
|
1383
|
+
type: string;
|
|
1379
1384
|
description: string;
|
|
1380
1385
|
required: boolean;
|
|
1381
1386
|
displayName: string;
|
|
1382
1387
|
default?: string | null | undefined;
|
|
1383
1388
|
}[];
|
|
1384
1389
|
optional: {
|
|
1385
|
-
type: string;
|
|
1386
1390
|
name: string;
|
|
1391
|
+
type: string;
|
|
1387
1392
|
description: string;
|
|
1388
1393
|
required: boolean;
|
|
1389
1394
|
displayName: string;
|
|
@@ -1393,16 +1398,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1393
1398
|
}, {
|
|
1394
1399
|
authConfigCreation: {
|
|
1395
1400
|
required: {
|
|
1396
|
-
type: string;
|
|
1397
1401
|
name: string;
|
|
1402
|
+
type: string;
|
|
1398
1403
|
description: string;
|
|
1399
1404
|
required: boolean;
|
|
1400
1405
|
displayName: string;
|
|
1401
1406
|
default?: string | null | undefined;
|
|
1402
1407
|
}[];
|
|
1403
1408
|
optional: {
|
|
1404
|
-
type: string;
|
|
1405
1409
|
name: string;
|
|
1410
|
+
type: string;
|
|
1406
1411
|
description: string;
|
|
1407
1412
|
required: boolean;
|
|
1408
1413
|
displayName: string;
|
|
@@ -1411,16 +1416,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1411
1416
|
};
|
|
1412
1417
|
connectedAccountInitiation: {
|
|
1413
1418
|
required: {
|
|
1414
|
-
type: string;
|
|
1415
1419
|
name: string;
|
|
1420
|
+
type: string;
|
|
1416
1421
|
description: string;
|
|
1417
1422
|
required: boolean;
|
|
1418
1423
|
displayName: string;
|
|
1419
1424
|
default?: string | null | undefined;
|
|
1420
1425
|
}[];
|
|
1421
1426
|
optional: {
|
|
1422
|
-
type: string;
|
|
1423
1427
|
name: string;
|
|
1428
|
+
type: string;
|
|
1424
1429
|
description: string;
|
|
1425
1430
|
required: boolean;
|
|
1426
1431
|
displayName: string;
|
|
@@ -1441,16 +1446,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1441
1446
|
fields: {
|
|
1442
1447
|
authConfigCreation: {
|
|
1443
1448
|
required: {
|
|
1444
|
-
type: string;
|
|
1445
1449
|
name: string;
|
|
1450
|
+
type: string;
|
|
1446
1451
|
description: string;
|
|
1447
1452
|
required: boolean;
|
|
1448
1453
|
displayName: string;
|
|
1449
1454
|
default?: string | null | undefined;
|
|
1450
1455
|
}[];
|
|
1451
1456
|
optional: {
|
|
1452
|
-
type: string;
|
|
1453
1457
|
name: string;
|
|
1458
|
+
type: string;
|
|
1454
1459
|
description: string;
|
|
1455
1460
|
required: boolean;
|
|
1456
1461
|
displayName: string;
|
|
@@ -1459,16 +1464,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1459
1464
|
};
|
|
1460
1465
|
connectedAccountInitiation: {
|
|
1461
1466
|
required: {
|
|
1462
|
-
type: string;
|
|
1463
1467
|
name: string;
|
|
1468
|
+
type: string;
|
|
1464
1469
|
description: string;
|
|
1465
1470
|
required: boolean;
|
|
1466
1471
|
displayName: string;
|
|
1467
1472
|
default?: string | null | undefined;
|
|
1468
1473
|
}[];
|
|
1469
1474
|
optional: {
|
|
1470
|
-
type: string;
|
|
1471
1475
|
name: string;
|
|
1476
|
+
type: string;
|
|
1472
1477
|
description: string;
|
|
1473
1478
|
required: boolean;
|
|
1474
1479
|
displayName: string;
|
|
@@ -1485,16 +1490,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1485
1490
|
fields: {
|
|
1486
1491
|
authConfigCreation: {
|
|
1487
1492
|
required: {
|
|
1488
|
-
type: string;
|
|
1489
1493
|
name: string;
|
|
1494
|
+
type: string;
|
|
1490
1495
|
description: string;
|
|
1491
1496
|
required: boolean;
|
|
1492
1497
|
displayName: string;
|
|
1493
1498
|
default?: string | null | undefined;
|
|
1494
1499
|
}[];
|
|
1495
1500
|
optional: {
|
|
1496
|
-
type: string;
|
|
1497
1501
|
name: string;
|
|
1502
|
+
type: string;
|
|
1498
1503
|
description: string;
|
|
1499
1504
|
required: boolean;
|
|
1500
1505
|
displayName: string;
|
|
@@ -1503,16 +1508,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1503
1508
|
};
|
|
1504
1509
|
connectedAccountInitiation: {
|
|
1505
1510
|
required: {
|
|
1506
|
-
type: string;
|
|
1507
1511
|
name: string;
|
|
1512
|
+
type: string;
|
|
1508
1513
|
description: string;
|
|
1509
1514
|
required: boolean;
|
|
1510
1515
|
displayName: string;
|
|
1511
1516
|
default?: string | null | undefined;
|
|
1512
1517
|
}[];
|
|
1513
1518
|
optional: {
|
|
1514
|
-
type: string;
|
|
1515
1519
|
name: string;
|
|
1520
|
+
type: string;
|
|
1516
1521
|
description: string;
|
|
1517
1522
|
required: boolean;
|
|
1518
1523
|
displayName: string;
|
|
@@ -1528,17 +1533,17 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1528
1533
|
getCurrentUserEndpoint: z$1.ZodOptional<z$1.ZodString>;
|
|
1529
1534
|
getCurrentUserEndpointMethod: z$1.ZodOptional<z$1.ZodString>;
|
|
1530
1535
|
}, "strip", z$1.ZodTypeAny, {
|
|
1531
|
-
name: string;
|
|
1532
1536
|
slug: string;
|
|
1537
|
+
name: string;
|
|
1533
1538
|
meta: {
|
|
1534
|
-
createdAt?: string | undefined;
|
|
1535
|
-
updatedAt?: string | undefined;
|
|
1536
1539
|
logo?: string | undefined;
|
|
1537
1540
|
description?: string | undefined;
|
|
1538
1541
|
availableVersions?: string[] | undefined;
|
|
1542
|
+
createdAt?: string | undefined;
|
|
1543
|
+
updatedAt?: string | undefined;
|
|
1539
1544
|
categories?: {
|
|
1540
|
-
name: string;
|
|
1541
1545
|
slug: string;
|
|
1546
|
+
name: string;
|
|
1542
1547
|
}[] | undefined;
|
|
1543
1548
|
appUrl?: string | undefined;
|
|
1544
1549
|
toolsCount?: number | undefined;
|
|
@@ -1553,16 +1558,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1553
1558
|
fields: {
|
|
1554
1559
|
authConfigCreation: {
|
|
1555
1560
|
required: {
|
|
1556
|
-
type: string;
|
|
1557
1561
|
name: string;
|
|
1562
|
+
type: string;
|
|
1558
1563
|
description: string;
|
|
1559
1564
|
required: boolean;
|
|
1560
1565
|
displayName: string;
|
|
1561
1566
|
default?: string | null | undefined;
|
|
1562
1567
|
}[];
|
|
1563
1568
|
optional: {
|
|
1564
|
-
type: string;
|
|
1565
1569
|
name: string;
|
|
1570
|
+
type: string;
|
|
1566
1571
|
description: string;
|
|
1567
1572
|
required: boolean;
|
|
1568
1573
|
displayName: string;
|
|
@@ -1571,16 +1576,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1571
1576
|
};
|
|
1572
1577
|
connectedAccountInitiation: {
|
|
1573
1578
|
required: {
|
|
1574
|
-
type: string;
|
|
1575
1579
|
name: string;
|
|
1580
|
+
type: string;
|
|
1576
1581
|
description: string;
|
|
1577
1582
|
required: boolean;
|
|
1578
1583
|
displayName: string;
|
|
1579
1584
|
default?: string | null | undefined;
|
|
1580
1585
|
}[];
|
|
1581
1586
|
optional: {
|
|
1582
|
-
type: string;
|
|
1583
1587
|
name: string;
|
|
1588
|
+
type: string;
|
|
1584
1589
|
description: string;
|
|
1585
1590
|
required: boolean;
|
|
1586
1591
|
displayName: string;
|
|
@@ -1595,17 +1600,17 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1595
1600
|
getCurrentUserEndpoint?: string | undefined;
|
|
1596
1601
|
getCurrentUserEndpointMethod?: string | undefined;
|
|
1597
1602
|
}, {
|
|
1598
|
-
name: string;
|
|
1599
1603
|
slug: string;
|
|
1604
|
+
name: string;
|
|
1600
1605
|
meta: {
|
|
1601
|
-
createdAt?: string | undefined;
|
|
1602
|
-
updatedAt?: string | undefined;
|
|
1603
1606
|
logo?: string | undefined;
|
|
1604
1607
|
description?: string | undefined;
|
|
1605
1608
|
availableVersions?: string[] | undefined;
|
|
1609
|
+
createdAt?: string | undefined;
|
|
1610
|
+
updatedAt?: string | undefined;
|
|
1606
1611
|
categories?: {
|
|
1607
|
-
name: string;
|
|
1608
1612
|
slug: string;
|
|
1613
|
+
name: string;
|
|
1609
1614
|
}[] | undefined;
|
|
1610
1615
|
appUrl?: string | undefined;
|
|
1611
1616
|
toolsCount?: number | undefined;
|
|
@@ -1620,16 +1625,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1620
1625
|
fields: {
|
|
1621
1626
|
authConfigCreation: {
|
|
1622
1627
|
required: {
|
|
1623
|
-
type: string;
|
|
1624
1628
|
name: string;
|
|
1629
|
+
type: string;
|
|
1625
1630
|
description: string;
|
|
1626
1631
|
required: boolean;
|
|
1627
1632
|
displayName: string;
|
|
1628
1633
|
default?: string | null | undefined;
|
|
1629
1634
|
}[];
|
|
1630
1635
|
optional: {
|
|
1631
|
-
type: string;
|
|
1632
1636
|
name: string;
|
|
1637
|
+
type: string;
|
|
1633
1638
|
description: string;
|
|
1634
1639
|
required: boolean;
|
|
1635
1640
|
displayName: string;
|
|
@@ -1638,16 +1643,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1638
1643
|
};
|
|
1639
1644
|
connectedAccountInitiation: {
|
|
1640
1645
|
required: {
|
|
1641
|
-
type: string;
|
|
1642
1646
|
name: string;
|
|
1647
|
+
type: string;
|
|
1643
1648
|
description: string;
|
|
1644
1649
|
required: boolean;
|
|
1645
1650
|
displayName: string;
|
|
1646
1651
|
default?: string | null | undefined;
|
|
1647
1652
|
}[];
|
|
1648
1653
|
optional: {
|
|
1649
|
-
type: string;
|
|
1650
1654
|
name: string;
|
|
1655
|
+
type: string;
|
|
1651
1656
|
description: string;
|
|
1652
1657
|
required: boolean;
|
|
1653
1658
|
displayName: string;
|
|
@@ -1717,15 +1722,15 @@ declare const ToolkitAuthFieldsResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
1717
1722
|
} & {
|
|
1718
1723
|
required: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
1719
1724
|
}, "strip", z$1.ZodTypeAny, {
|
|
1720
|
-
type: string;
|
|
1721
1725
|
name: string;
|
|
1726
|
+
type: string;
|
|
1722
1727
|
description: string;
|
|
1723
1728
|
displayName: string;
|
|
1724
1729
|
required?: boolean | undefined;
|
|
1725
1730
|
default?: string | null | undefined;
|
|
1726
1731
|
}, {
|
|
1727
|
-
type: string;
|
|
1728
1732
|
name: string;
|
|
1733
|
+
type: string;
|
|
1729
1734
|
description: string;
|
|
1730
1735
|
displayName: string;
|
|
1731
1736
|
required?: boolean | undefined;
|
|
@@ -1972,13 +1977,13 @@ declare const CreateAuthConfigResponseSchema: z$1.ZodObject<{
|
|
|
1972
1977
|
toolkit: z$1.ZodString;
|
|
1973
1978
|
}, "strip", z$1.ZodTypeAny, {
|
|
1974
1979
|
toolkit: string;
|
|
1975
|
-
id: string;
|
|
1976
1980
|
authScheme: string;
|
|
1981
|
+
id: string;
|
|
1977
1982
|
isComposioManaged: boolean;
|
|
1978
1983
|
}, {
|
|
1979
1984
|
toolkit: string;
|
|
1980
|
-
id: string;
|
|
1981
1985
|
authScheme: string;
|
|
1986
|
+
id: string;
|
|
1982
1987
|
isComposioManaged: boolean;
|
|
1983
1988
|
}>;
|
|
1984
1989
|
type CreateAuthConfigResponse = z$1.infer<typeof CreateAuthConfigResponseSchema>;
|
|
@@ -2020,16 +2025,16 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2020
2025
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2021
2026
|
}>>;
|
|
2022
2027
|
}, "strip", z$1.ZodTypeAny, {
|
|
2028
|
+
name: string;
|
|
2029
|
+
status: "ENABLED" | "DISABLED";
|
|
2023
2030
|
toolkit: {
|
|
2024
2031
|
slug: string;
|
|
2025
2032
|
logo: string;
|
|
2026
2033
|
};
|
|
2027
|
-
status: "ENABLED" | "DISABLED";
|
|
2028
|
-
name: string;
|
|
2029
2034
|
id: string;
|
|
2030
2035
|
noOfConnections: number;
|
|
2031
|
-
createdAt?: string | undefined;
|
|
2032
2036
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2037
|
+
createdAt?: string | undefined;
|
|
2033
2038
|
credentials?: Record<string, unknown> | undefined;
|
|
2034
2039
|
toolAccessConfig?: {
|
|
2035
2040
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2042,16 +2047,16 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2042
2047
|
createdBy?: string | undefined;
|
|
2043
2048
|
lastUpdatedAt?: string | undefined;
|
|
2044
2049
|
}, {
|
|
2050
|
+
name: string;
|
|
2051
|
+
status: "ENABLED" | "DISABLED";
|
|
2045
2052
|
toolkit: {
|
|
2046
2053
|
slug: string;
|
|
2047
2054
|
logo: string;
|
|
2048
2055
|
};
|
|
2049
|
-
status: "ENABLED" | "DISABLED";
|
|
2050
|
-
name: string;
|
|
2051
2056
|
id: string;
|
|
2052
2057
|
noOfConnections: number;
|
|
2053
|
-
createdAt?: string | undefined;
|
|
2054
2058
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2059
|
+
createdAt?: string | undefined;
|
|
2055
2060
|
credentials?: Record<string, unknown> | undefined;
|
|
2056
2061
|
toolAccessConfig?: {
|
|
2057
2062
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2074,16 +2079,16 @@ declare const AuthConfigListParamsSchema: z$1.ZodObject<{
|
|
|
2074
2079
|
toolkit: z$1.ZodOptional<z$1.ZodString>;
|
|
2075
2080
|
}, "strip", z$1.ZodTypeAny, {
|
|
2076
2081
|
toolkit?: string | undefined;
|
|
2077
|
-
cursor?: string | undefined;
|
|
2078
2082
|
limit?: number | undefined;
|
|
2079
2083
|
search?: string | undefined;
|
|
2084
|
+
cursor?: string | undefined;
|
|
2080
2085
|
isComposioManaged?: boolean | undefined;
|
|
2081
2086
|
showDisabled?: boolean | undefined;
|
|
2082
2087
|
}, {
|
|
2083
2088
|
toolkit?: string | undefined;
|
|
2084
|
-
cursor?: string | undefined;
|
|
2085
2089
|
limit?: number | undefined;
|
|
2086
2090
|
search?: string | undefined;
|
|
2091
|
+
cursor?: string | undefined;
|
|
2087
2092
|
isComposioManaged?: boolean | undefined;
|
|
2088
2093
|
showDisabled?: boolean | undefined;
|
|
2089
2094
|
}>;
|
|
@@ -2127,16 +2132,16 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2127
2132
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2128
2133
|
}>>;
|
|
2129
2134
|
}, "strip", z$1.ZodTypeAny, {
|
|
2135
|
+
name: string;
|
|
2136
|
+
status: "ENABLED" | "DISABLED";
|
|
2130
2137
|
toolkit: {
|
|
2131
2138
|
slug: string;
|
|
2132
2139
|
logo: string;
|
|
2133
2140
|
};
|
|
2134
|
-
status: "ENABLED" | "DISABLED";
|
|
2135
|
-
name: string;
|
|
2136
2141
|
id: string;
|
|
2137
2142
|
noOfConnections: number;
|
|
2138
|
-
createdAt?: string | undefined;
|
|
2139
2143
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2144
|
+
createdAt?: string | undefined;
|
|
2140
2145
|
credentials?: Record<string, unknown> | undefined;
|
|
2141
2146
|
toolAccessConfig?: {
|
|
2142
2147
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2149,16 +2154,16 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2149
2154
|
createdBy?: string | undefined;
|
|
2150
2155
|
lastUpdatedAt?: string | undefined;
|
|
2151
2156
|
}, {
|
|
2157
|
+
name: string;
|
|
2158
|
+
status: "ENABLED" | "DISABLED";
|
|
2152
2159
|
toolkit: {
|
|
2153
2160
|
slug: string;
|
|
2154
2161
|
logo: string;
|
|
2155
2162
|
};
|
|
2156
|
-
status: "ENABLED" | "DISABLED";
|
|
2157
|
-
name: string;
|
|
2158
2163
|
id: string;
|
|
2159
2164
|
noOfConnections: number;
|
|
2160
|
-
createdAt?: string | undefined;
|
|
2161
2165
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2166
|
+
createdAt?: string | undefined;
|
|
2162
2167
|
credentials?: Record<string, unknown> | undefined;
|
|
2163
2168
|
toolAccessConfig?: {
|
|
2164
2169
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2175,16 +2180,16 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2175
2180
|
totalPages: z$1.ZodNumber;
|
|
2176
2181
|
}, "strip", z$1.ZodTypeAny, {
|
|
2177
2182
|
items: {
|
|
2183
|
+
name: string;
|
|
2184
|
+
status: "ENABLED" | "DISABLED";
|
|
2178
2185
|
toolkit: {
|
|
2179
2186
|
slug: string;
|
|
2180
2187
|
logo: string;
|
|
2181
2188
|
};
|
|
2182
|
-
status: "ENABLED" | "DISABLED";
|
|
2183
|
-
name: string;
|
|
2184
2189
|
id: string;
|
|
2185
2190
|
noOfConnections: number;
|
|
2186
|
-
createdAt?: string | undefined;
|
|
2187
2191
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2192
|
+
createdAt?: string | undefined;
|
|
2188
2193
|
credentials?: Record<string, unknown> | undefined;
|
|
2189
2194
|
toolAccessConfig?: {
|
|
2190
2195
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2201,16 +2206,16 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2201
2206
|
totalPages: number;
|
|
2202
2207
|
}, {
|
|
2203
2208
|
items: {
|
|
2209
|
+
name: string;
|
|
2210
|
+
status: "ENABLED" | "DISABLED";
|
|
2204
2211
|
toolkit: {
|
|
2205
2212
|
slug: string;
|
|
2206
2213
|
logo: string;
|
|
2207
2214
|
};
|
|
2208
|
-
status: "ENABLED" | "DISABLED";
|
|
2209
|
-
name: string;
|
|
2210
2215
|
id: string;
|
|
2211
2216
|
noOfConnections: number;
|
|
2212
|
-
createdAt?: string | undefined;
|
|
2213
2217
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2218
|
+
createdAt?: string | undefined;
|
|
2214
2219
|
credentials?: Record<string, unknown> | undefined;
|
|
2215
2220
|
toolAccessConfig?: {
|
|
2216
2221
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2550,18 +2555,18 @@ declare const TriggerSubscribeParamSchema: z$1.ZodObject<{
|
|
|
2550
2555
|
triggerData: z$1.ZodOptional<z$1.ZodString>;
|
|
2551
2556
|
userId: z$1.ZodOptional<z$1.ZodString>;
|
|
2552
2557
|
}, "strip", z$1.ZodTypeAny, {
|
|
2553
|
-
authConfigId?: string | undefined;
|
|
2554
|
-
userId?: string | undefined;
|
|
2555
2558
|
toolkits?: string[] | undefined;
|
|
2556
2559
|
connectedAccountId?: string | undefined;
|
|
2560
|
+
userId?: string | undefined;
|
|
2561
|
+
authConfigId?: string | undefined;
|
|
2557
2562
|
triggerId?: string | undefined;
|
|
2558
2563
|
triggerSlug?: string[] | undefined;
|
|
2559
2564
|
triggerData?: string | undefined;
|
|
2560
2565
|
}, {
|
|
2561
|
-
authConfigId?: string | undefined;
|
|
2562
|
-
userId?: string | undefined;
|
|
2563
2566
|
toolkits?: string[] | undefined;
|
|
2564
2567
|
connectedAccountId?: string | undefined;
|
|
2568
|
+
userId?: string | undefined;
|
|
2569
|
+
authConfigId?: string | undefined;
|
|
2565
2570
|
triggerId?: string | undefined;
|
|
2566
2571
|
triggerSlug?: string[] | undefined;
|
|
2567
2572
|
triggerData?: string | undefined;
|
|
@@ -2576,18 +2581,18 @@ declare const TriggerInstanceListActiveParamsSchema: z$1.ZodObject<{
|
|
|
2576
2581
|
triggerIds: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
|
|
2577
2582
|
triggerNames: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
|
|
2578
2583
|
}, "strip", z$1.ZodTypeAny, {
|
|
2579
|
-
|
|
2584
|
+
limit?: number | undefined;
|
|
2580
2585
|
authConfigIds?: string[] | null | undefined;
|
|
2586
|
+
connectedAccountIds?: string[] | null | undefined;
|
|
2581
2587
|
cursor?: string | undefined;
|
|
2582
|
-
limit?: number | undefined;
|
|
2583
2588
|
showDisabled?: boolean | null | undefined;
|
|
2584
2589
|
triggerIds?: string[] | null | undefined;
|
|
2585
2590
|
triggerNames?: string[] | null | undefined;
|
|
2586
2591
|
}, {
|
|
2587
|
-
|
|
2592
|
+
limit?: number | undefined;
|
|
2588
2593
|
authConfigIds?: string[] | null | undefined;
|
|
2594
|
+
connectedAccountIds?: string[] | null | undefined;
|
|
2589
2595
|
cursor?: string | undefined;
|
|
2590
|
-
limit?: number | undefined;
|
|
2591
2596
|
showDisabled?: boolean | null | undefined;
|
|
2592
2597
|
triggerIds?: string[] | null | undefined;
|
|
2593
2598
|
triggerNames?: string[] | null | undefined;
|
|
@@ -2604,9 +2609,9 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
|
|
|
2604
2609
|
triggerData: z$1.ZodOptional<z$1.ZodString>;
|
|
2605
2610
|
uuid: z$1.ZodOptional<z$1.ZodString>;
|
|
2606
2611
|
}, "strip", z$1.ZodTypeAny, {
|
|
2612
|
+
connectedAccountId: string;
|
|
2607
2613
|
id: string;
|
|
2608
2614
|
updatedAt: string;
|
|
2609
|
-
connectedAccountId: string;
|
|
2610
2615
|
disabledAt: string | null;
|
|
2611
2616
|
state: Record<string, unknown>;
|
|
2612
2617
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2614,9 +2619,9 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
|
|
|
2614
2619
|
uuid?: string | undefined;
|
|
2615
2620
|
triggerData?: string | undefined;
|
|
2616
2621
|
}, {
|
|
2622
|
+
connectedAccountId: string;
|
|
2617
2623
|
id: string;
|
|
2618
2624
|
updatedAt: string;
|
|
2619
|
-
connectedAccountId: string;
|
|
2620
2625
|
disabledAt: string | null;
|
|
2621
2626
|
state: Record<string, unknown>;
|
|
2622
2627
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2636,9 +2641,9 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
2636
2641
|
triggerData: z$1.ZodOptional<z$1.ZodString>;
|
|
2637
2642
|
uuid: z$1.ZodOptional<z$1.ZodString>;
|
|
2638
2643
|
}, "strip", z$1.ZodTypeAny, {
|
|
2644
|
+
connectedAccountId: string;
|
|
2639
2645
|
id: string;
|
|
2640
2646
|
updatedAt: string;
|
|
2641
|
-
connectedAccountId: string;
|
|
2642
2647
|
disabledAt: string | null;
|
|
2643
2648
|
state: Record<string, unknown>;
|
|
2644
2649
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2646,9 +2651,9 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
2646
2651
|
uuid?: string | undefined;
|
|
2647
2652
|
triggerData?: string | undefined;
|
|
2648
2653
|
}, {
|
|
2654
|
+
connectedAccountId: string;
|
|
2649
2655
|
id: string;
|
|
2650
2656
|
updatedAt: string;
|
|
2651
|
-
connectedAccountId: string;
|
|
2652
2657
|
disabledAt: string | null;
|
|
2653
2658
|
state: Record<string, unknown>;
|
|
2654
2659
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2660,9 +2665,9 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
2660
2665
|
totalPages: z$1.ZodNumber;
|
|
2661
2666
|
}, "strip", z$1.ZodTypeAny, {
|
|
2662
2667
|
items: {
|
|
2668
|
+
connectedAccountId: string;
|
|
2663
2669
|
id: string;
|
|
2664
2670
|
updatedAt: string;
|
|
2665
|
-
connectedAccountId: string;
|
|
2666
2671
|
disabledAt: string | null;
|
|
2667
2672
|
state: Record<string, unknown>;
|
|
2668
2673
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2674,9 +2679,9 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
2674
2679
|
totalPages: number;
|
|
2675
2680
|
}, {
|
|
2676
2681
|
items: {
|
|
2682
|
+
connectedAccountId: string;
|
|
2677
2683
|
id: string;
|
|
2678
2684
|
updatedAt: string;
|
|
2679
|
-
connectedAccountId: string;
|
|
2680
2685
|
disabledAt: string | null;
|
|
2681
2686
|
state: Record<string, unknown>;
|
|
2682
2687
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2755,28 +2760,28 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
2755
2760
|
userId: z$1.ZodString;
|
|
2756
2761
|
status: z$1.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
2757
2762
|
}, "strip", z$1.ZodTypeAny, {
|
|
2758
|
-
authConfigId: string;
|
|
2759
2763
|
status: "ACTIVE" | "INACTIVE";
|
|
2760
2764
|
userId: string;
|
|
2765
|
+
authConfigId: string;
|
|
2761
2766
|
uuid: string;
|
|
2762
2767
|
id: string;
|
|
2763
2768
|
authConfigUUID: string;
|
|
2764
2769
|
}, {
|
|
2765
|
-
authConfigId: string;
|
|
2766
2770
|
status: "ACTIVE" | "INACTIVE";
|
|
2767
2771
|
userId: string;
|
|
2772
|
+
authConfigId: string;
|
|
2768
2773
|
uuid: string;
|
|
2769
2774
|
id: string;
|
|
2770
2775
|
authConfigUUID: string;
|
|
2771
2776
|
}>;
|
|
2772
2777
|
}, "strip", z$1.ZodTypeAny, {
|
|
2778
|
+
toolkitSlug: string;
|
|
2773
2779
|
uuid: string;
|
|
2774
2780
|
id: string;
|
|
2775
|
-
toolkitSlug: string;
|
|
2776
2781
|
connectedAccount: {
|
|
2777
|
-
authConfigId: string;
|
|
2778
2782
|
status: "ACTIVE" | "INACTIVE";
|
|
2779
2783
|
userId: string;
|
|
2784
|
+
authConfigId: string;
|
|
2780
2785
|
uuid: string;
|
|
2781
2786
|
id: string;
|
|
2782
2787
|
authConfigUUID: string;
|
|
@@ -2785,13 +2790,13 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
2785
2790
|
triggerConfig: Record<string, unknown>;
|
|
2786
2791
|
triggerData?: string | undefined;
|
|
2787
2792
|
}, {
|
|
2793
|
+
toolkitSlug: string;
|
|
2788
2794
|
uuid: string;
|
|
2789
2795
|
id: string;
|
|
2790
|
-
toolkitSlug: string;
|
|
2791
2796
|
connectedAccount: {
|
|
2792
|
-
authConfigId: string;
|
|
2793
2797
|
status: "ACTIVE" | "INACTIVE";
|
|
2794
2798
|
userId: string;
|
|
2799
|
+
authConfigId: string;
|
|
2795
2800
|
uuid: string;
|
|
2796
2801
|
id: string;
|
|
2797
2802
|
authConfigUUID: string;
|
|
@@ -2801,19 +2806,19 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
2801
2806
|
triggerData?: string | undefined;
|
|
2802
2807
|
}>;
|
|
2803
2808
|
}, "strip", z$1.ZodTypeAny, {
|
|
2809
|
+
toolkitSlug: string;
|
|
2804
2810
|
userId: string;
|
|
2805
2811
|
uuid: string;
|
|
2806
2812
|
id: string;
|
|
2807
|
-
toolkitSlug: string;
|
|
2808
2813
|
triggerSlug: string;
|
|
2809
2814
|
metadata: {
|
|
2815
|
+
toolkitSlug: string;
|
|
2810
2816
|
uuid: string;
|
|
2811
2817
|
id: string;
|
|
2812
|
-
toolkitSlug: string;
|
|
2813
2818
|
connectedAccount: {
|
|
2814
|
-
authConfigId: string;
|
|
2815
2819
|
status: "ACTIVE" | "INACTIVE";
|
|
2816
2820
|
userId: string;
|
|
2821
|
+
authConfigId: string;
|
|
2817
2822
|
uuid: string;
|
|
2818
2823
|
id: string;
|
|
2819
2824
|
authConfigUUID: string;
|
|
@@ -2825,19 +2830,19 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
2825
2830
|
payload?: Record<string, unknown> | undefined;
|
|
2826
2831
|
originalPayload?: Record<string, unknown> | undefined;
|
|
2827
2832
|
}, {
|
|
2833
|
+
toolkitSlug: string;
|
|
2828
2834
|
userId: string;
|
|
2829
2835
|
uuid: string;
|
|
2830
2836
|
id: string;
|
|
2831
|
-
toolkitSlug: string;
|
|
2832
2837
|
triggerSlug: string;
|
|
2833
2838
|
metadata: {
|
|
2839
|
+
toolkitSlug: string;
|
|
2834
2840
|
uuid: string;
|
|
2835
2841
|
id: string;
|
|
2836
|
-
toolkitSlug: string;
|
|
2837
2842
|
connectedAccount: {
|
|
2838
|
-
authConfigId: string;
|
|
2839
2843
|
status: "ACTIVE" | "INACTIVE";
|
|
2840
2844
|
userId: string;
|
|
2845
|
+
authConfigId: string;
|
|
2841
2846
|
uuid: string;
|
|
2842
2847
|
id: string;
|
|
2843
2848
|
authConfigUUID: string;
|
|
@@ -2877,12 +2882,12 @@ declare const TriggersTypeListParamsSchema: z$1.ZodObject<{
|
|
|
2877
2882
|
toolkits: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
|
|
2878
2883
|
}, "strip", z$1.ZodTypeAny, {
|
|
2879
2884
|
toolkits?: string[] | null | undefined;
|
|
2880
|
-
cursor?: string | undefined;
|
|
2881
2885
|
limit?: number | null | undefined;
|
|
2886
|
+
cursor?: string | undefined;
|
|
2882
2887
|
}, {
|
|
2883
2888
|
toolkits?: string[] | null | undefined;
|
|
2884
|
-
cursor?: string | undefined;
|
|
2885
2889
|
limit?: number | null | undefined;
|
|
2890
|
+
cursor?: string | undefined;
|
|
2886
2891
|
}>;
|
|
2887
2892
|
type TriggersTypeListParams = z$1.infer<typeof TriggersTypeListParamsSchema>;
|
|
2888
2893
|
declare const TriggerTypeSchema: z$1.ZodObject<{
|
|
@@ -2895,40 +2900,40 @@ declare const TriggerTypeSchema: z$1.ZodObject<{
|
|
|
2895
2900
|
slug: z$1.ZodString;
|
|
2896
2901
|
name: z$1.ZodString;
|
|
2897
2902
|
}, "strip", z$1.ZodTypeAny, {
|
|
2898
|
-
name: string;
|
|
2899
2903
|
slug: string;
|
|
2904
|
+
name: string;
|
|
2900
2905
|
logo: string;
|
|
2901
2906
|
}, {
|
|
2902
|
-
name: string;
|
|
2903
2907
|
slug: string;
|
|
2908
|
+
name: string;
|
|
2904
2909
|
logo: string;
|
|
2905
2910
|
}>;
|
|
2906
2911
|
payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
2907
2912
|
config: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
2908
2913
|
version: z$1.ZodOptional<z$1.ZodString>;
|
|
2909
2914
|
}, "strip", z$1.ZodTypeAny, {
|
|
2915
|
+
slug: string;
|
|
2916
|
+
name: string;
|
|
2917
|
+
description: string;
|
|
2910
2918
|
toolkit: {
|
|
2911
|
-
name: string;
|
|
2912
2919
|
slug: string;
|
|
2920
|
+
name: string;
|
|
2913
2921
|
logo: string;
|
|
2914
2922
|
};
|
|
2915
|
-
name: string;
|
|
2916
2923
|
config: Record<string, unknown>;
|
|
2917
|
-
slug: string;
|
|
2918
|
-
description: string;
|
|
2919
2924
|
payload: Record<string, unknown>;
|
|
2920
2925
|
version?: string | undefined;
|
|
2921
2926
|
instructions?: string | undefined;
|
|
2922
2927
|
}, {
|
|
2928
|
+
slug: string;
|
|
2929
|
+
name: string;
|
|
2930
|
+
description: string;
|
|
2923
2931
|
toolkit: {
|
|
2924
|
-
name: string;
|
|
2925
2932
|
slug: string;
|
|
2933
|
+
name: string;
|
|
2926
2934
|
logo: string;
|
|
2927
2935
|
};
|
|
2928
|
-
name: string;
|
|
2929
2936
|
config: Record<string, unknown>;
|
|
2930
|
-
slug: string;
|
|
2931
|
-
description: string;
|
|
2932
2937
|
payload: Record<string, unknown>;
|
|
2933
2938
|
version?: string | undefined;
|
|
2934
2939
|
instructions?: string | undefined;
|
|
@@ -2945,40 +2950,40 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
2945
2950
|
slug: z$1.ZodString;
|
|
2946
2951
|
name: z$1.ZodString;
|
|
2947
2952
|
}, "strip", z$1.ZodTypeAny, {
|
|
2948
|
-
name: string;
|
|
2949
2953
|
slug: string;
|
|
2954
|
+
name: string;
|
|
2950
2955
|
logo: string;
|
|
2951
2956
|
}, {
|
|
2952
|
-
name: string;
|
|
2953
2957
|
slug: string;
|
|
2958
|
+
name: string;
|
|
2954
2959
|
logo: string;
|
|
2955
2960
|
}>;
|
|
2956
2961
|
payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
2957
2962
|
config: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
2958
2963
|
version: z$1.ZodOptional<z$1.ZodString>;
|
|
2959
2964
|
}, "strip", z$1.ZodTypeAny, {
|
|
2965
|
+
slug: string;
|
|
2966
|
+
name: string;
|
|
2967
|
+
description: string;
|
|
2960
2968
|
toolkit: {
|
|
2961
|
-
name: string;
|
|
2962
2969
|
slug: string;
|
|
2970
|
+
name: string;
|
|
2963
2971
|
logo: string;
|
|
2964
2972
|
};
|
|
2965
|
-
name: string;
|
|
2966
2973
|
config: Record<string, unknown>;
|
|
2967
|
-
slug: string;
|
|
2968
|
-
description: string;
|
|
2969
2974
|
payload: Record<string, unknown>;
|
|
2970
2975
|
version?: string | undefined;
|
|
2971
2976
|
instructions?: string | undefined;
|
|
2972
2977
|
}, {
|
|
2978
|
+
slug: string;
|
|
2979
|
+
name: string;
|
|
2980
|
+
description: string;
|
|
2973
2981
|
toolkit: {
|
|
2974
|
-
name: string;
|
|
2975
2982
|
slug: string;
|
|
2983
|
+
name: string;
|
|
2976
2984
|
logo: string;
|
|
2977
2985
|
};
|
|
2978
|
-
name: string;
|
|
2979
2986
|
config: Record<string, unknown>;
|
|
2980
|
-
slug: string;
|
|
2981
|
-
description: string;
|
|
2982
2987
|
payload: Record<string, unknown>;
|
|
2983
2988
|
version?: string | undefined;
|
|
2984
2989
|
instructions?: string | undefined;
|
|
@@ -2987,15 +2992,15 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
2987
2992
|
totalPages: z$1.ZodNumber;
|
|
2988
2993
|
}, "strip", z$1.ZodTypeAny, {
|
|
2989
2994
|
items: {
|
|
2995
|
+
slug: string;
|
|
2996
|
+
name: string;
|
|
2997
|
+
description: string;
|
|
2990
2998
|
toolkit: {
|
|
2991
|
-
name: string;
|
|
2992
2999
|
slug: string;
|
|
3000
|
+
name: string;
|
|
2993
3001
|
logo: string;
|
|
2994
3002
|
};
|
|
2995
|
-
name: string;
|
|
2996
3003
|
config: Record<string, unknown>;
|
|
2997
|
-
slug: string;
|
|
2998
|
-
description: string;
|
|
2999
3004
|
payload: Record<string, unknown>;
|
|
3000
3005
|
version?: string | undefined;
|
|
3001
3006
|
instructions?: string | undefined;
|
|
@@ -3004,15 +3009,15 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
3004
3009
|
nextCursor?: string | null | undefined;
|
|
3005
3010
|
}, {
|
|
3006
3011
|
items: {
|
|
3012
|
+
slug: string;
|
|
3013
|
+
name: string;
|
|
3014
|
+
description: string;
|
|
3007
3015
|
toolkit: {
|
|
3008
|
-
name: string;
|
|
3009
3016
|
slug: string;
|
|
3017
|
+
name: string;
|
|
3010
3018
|
logo: string;
|
|
3011
3019
|
};
|
|
3012
|
-
name: string;
|
|
3013
3020
|
config: Record<string, unknown>;
|
|
3014
|
-
slug: string;
|
|
3015
|
-
description: string;
|
|
3016
3021
|
payload: Record<string, unknown>;
|
|
3017
3022
|
version?: string | undefined;
|
|
3018
3023
|
instructions?: string | undefined;
|
|
@@ -3126,14 +3131,14 @@ declare const WebhookPayloadV3Schema: z$1.ZodObject<{
|
|
|
3126
3131
|
data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
3127
3132
|
}, "strip", z$1.ZodTypeAny, {
|
|
3128
3133
|
type: string;
|
|
3129
|
-
id: string;
|
|
3130
3134
|
data: Record<string, unknown>;
|
|
3135
|
+
id: string;
|
|
3131
3136
|
metadata: Record<string, unknown>;
|
|
3132
3137
|
timestamp: string;
|
|
3133
3138
|
}, {
|
|
3134
3139
|
type: string;
|
|
3135
|
-
id: string;
|
|
3136
3140
|
data: Record<string, unknown>;
|
|
3141
|
+
id: string;
|
|
3137
3142
|
metadata: Record<string, unknown>;
|
|
3138
3143
|
timestamp: string;
|
|
3139
3144
|
}>;
|
|
@@ -3168,8 +3173,8 @@ declare const WebhookTriggerPayloadV3Schema: z$1.ZodObject<{
|
|
|
3168
3173
|
data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
3169
3174
|
}, "strip", z$1.ZodTypeAny, {
|
|
3170
3175
|
type: string;
|
|
3171
|
-
id: string;
|
|
3172
3176
|
data: Record<string, unknown>;
|
|
3177
|
+
id: string;
|
|
3173
3178
|
metadata: {
|
|
3174
3179
|
trigger_id: string;
|
|
3175
3180
|
log_id: string;
|
|
@@ -3183,8 +3188,8 @@ declare const WebhookTriggerPayloadV3Schema: z$1.ZodObject<{
|
|
|
3183
3188
|
timestamp: string;
|
|
3184
3189
|
}, {
|
|
3185
3190
|
type: string;
|
|
3186
|
-
id: string;
|
|
3187
3191
|
data: Record<string, unknown>;
|
|
3192
|
+
id: string;
|
|
3188
3193
|
metadata: {
|
|
3189
3194
|
trigger_id: string;
|
|
3190
3195
|
log_id: string;
|
|
@@ -3207,14 +3212,14 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
|
|
|
3207
3212
|
data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
3208
3213
|
}, "strip", z$1.ZodTypeAny, {
|
|
3209
3214
|
type: string;
|
|
3210
|
-
id: string;
|
|
3211
3215
|
data: Record<string, unknown>;
|
|
3216
|
+
id: string;
|
|
3212
3217
|
metadata: Record<string, unknown>;
|
|
3213
3218
|
timestamp: string;
|
|
3214
3219
|
}, {
|
|
3215
3220
|
type: string;
|
|
3216
|
-
id: string;
|
|
3217
3221
|
data: Record<string, unknown>;
|
|
3222
|
+
id: string;
|
|
3218
3223
|
metadata: Record<string, unknown>;
|
|
3219
3224
|
timestamp: string;
|
|
3220
3225
|
}>, z$1.ZodObject<{
|
|
@@ -4310,19 +4315,19 @@ declare const MCPServerInstanceSchema: z.ZodObject<{
|
|
|
4310
4315
|
allowedTools: z.ZodArray<z.ZodString, "many">;
|
|
4311
4316
|
authConfigs: z.ZodArray<z.ZodString, "many">;
|
|
4312
4317
|
}, "strip", z.ZodTypeAny, {
|
|
4318
|
+
name: string;
|
|
4313
4319
|
type: "streamable_http";
|
|
4314
|
-
allowedTools: string[];
|
|
4315
4320
|
userId: string;
|
|
4321
|
+
allowedTools: string[];
|
|
4316
4322
|
url: string;
|
|
4317
|
-
name: string;
|
|
4318
4323
|
id: string;
|
|
4319
4324
|
authConfigs: string[];
|
|
4320
4325
|
}, {
|
|
4326
|
+
name: string;
|
|
4321
4327
|
type: "streamable_http";
|
|
4322
|
-
allowedTools: string[];
|
|
4323
4328
|
userId: string;
|
|
4329
|
+
allowedTools: string[];
|
|
4324
4330
|
url: string;
|
|
4325
|
-
name: string;
|
|
4326
4331
|
id: string;
|
|
4327
4332
|
authConfigs: string[];
|
|
4328
4333
|
}>;
|
|
@@ -4403,10 +4408,10 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
|
|
|
4403
4408
|
*/
|
|
4404
4409
|
MCPUrl: z.ZodString;
|
|
4405
4410
|
}, "strip", z.ZodTypeAny, {
|
|
4406
|
-
allowedTools: string[];
|
|
4407
4411
|
name: string;
|
|
4408
|
-
id: string;
|
|
4409
4412
|
authConfigIds: string[];
|
|
4413
|
+
allowedTools: string[];
|
|
4414
|
+
id: string;
|
|
4410
4415
|
commands: {
|
|
4411
4416
|
claude: string;
|
|
4412
4417
|
cursor: string;
|
|
@@ -4414,10 +4419,10 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
|
|
|
4414
4419
|
};
|
|
4415
4420
|
MCPUrl: string;
|
|
4416
4421
|
}, {
|
|
4417
|
-
allowedTools: string[];
|
|
4418
4422
|
name: string;
|
|
4419
|
-
id: string;
|
|
4420
4423
|
authConfigIds: string[];
|
|
4424
|
+
allowedTools: string[];
|
|
4425
|
+
id: string;
|
|
4421
4426
|
commands: {
|
|
4422
4427
|
claude: string;
|
|
4423
4428
|
cursor: string;
|
|
@@ -4450,15 +4455,15 @@ declare const MCPListParamsSchema: z.ZodObject<{
|
|
|
4450
4455
|
name: z.ZodOptional<z.ZodString>;
|
|
4451
4456
|
}, "strip", z.ZodTypeAny, {
|
|
4452
4457
|
toolkits: string[];
|
|
4453
|
-
page: number;
|
|
4454
4458
|
limit: number;
|
|
4459
|
+
page: number;
|
|
4455
4460
|
authConfigs: string[];
|
|
4456
4461
|
name?: string | undefined;
|
|
4457
4462
|
}, {
|
|
4458
4463
|
name?: string | undefined;
|
|
4459
4464
|
toolkits?: string[] | undefined;
|
|
4460
|
-
page?: number | undefined;
|
|
4461
4465
|
limit?: number | undefined;
|
|
4466
|
+
page?: number | undefined;
|
|
4462
4467
|
authConfigs?: string[] | undefined;
|
|
4463
4468
|
}>;
|
|
4464
4469
|
type MCPListParams = z.infer<typeof MCPListParamsSchema>;
|
|
@@ -4513,11 +4518,11 @@ declare const MCPItemSchema: z.ZodObject<{
|
|
|
4513
4518
|
serverInstanceCount: z.ZodNumber;
|
|
4514
4519
|
toolkits: z.ZodArray<z.ZodString, "many">;
|
|
4515
4520
|
}, "strip", z.ZodTypeAny, {
|
|
4516
|
-
allowedTools: string[];
|
|
4517
4521
|
name: string;
|
|
4518
4522
|
toolkits: string[];
|
|
4519
|
-
id: string;
|
|
4520
4523
|
authConfigIds: string[];
|
|
4524
|
+
allowedTools: string[];
|
|
4525
|
+
id: string;
|
|
4521
4526
|
commands: {
|
|
4522
4527
|
claude: string;
|
|
4523
4528
|
cursor: string;
|
|
@@ -4527,11 +4532,11 @@ declare const MCPItemSchema: z.ZodObject<{
|
|
|
4527
4532
|
toolkitIcons: Record<string, string>;
|
|
4528
4533
|
serverInstanceCount: number;
|
|
4529
4534
|
}, {
|
|
4530
|
-
allowedTools: string[];
|
|
4531
4535
|
name: string;
|
|
4532
4536
|
toolkits: string[];
|
|
4533
|
-
id: string;
|
|
4534
4537
|
authConfigIds: string[];
|
|
4538
|
+
allowedTools: string[];
|
|
4539
|
+
id: string;
|
|
4535
4540
|
commands: {
|
|
4536
4541
|
claude: string;
|
|
4537
4542
|
cursor: string;
|
|
@@ -4594,11 +4599,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
4594
4599
|
serverInstanceCount: z.ZodNumber;
|
|
4595
4600
|
toolkits: z.ZodArray<z.ZodString, "many">;
|
|
4596
4601
|
}, "strip", z.ZodTypeAny, {
|
|
4597
|
-
allowedTools: string[];
|
|
4598
4602
|
name: string;
|
|
4599
4603
|
toolkits: string[];
|
|
4600
|
-
id: string;
|
|
4601
4604
|
authConfigIds: string[];
|
|
4605
|
+
allowedTools: string[];
|
|
4606
|
+
id: string;
|
|
4602
4607
|
commands: {
|
|
4603
4608
|
claude: string;
|
|
4604
4609
|
cursor: string;
|
|
@@ -4608,11 +4613,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
4608
4613
|
toolkitIcons: Record<string, string>;
|
|
4609
4614
|
serverInstanceCount: number;
|
|
4610
4615
|
}, {
|
|
4611
|
-
allowedTools: string[];
|
|
4612
4616
|
name: string;
|
|
4613
4617
|
toolkits: string[];
|
|
4614
|
-
id: string;
|
|
4615
4618
|
authConfigIds: string[];
|
|
4619
|
+
allowedTools: string[];
|
|
4620
|
+
id: string;
|
|
4616
4621
|
commands: {
|
|
4617
4622
|
claude: string;
|
|
4618
4623
|
cursor: string;
|
|
@@ -4626,11 +4631,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
4626
4631
|
totalPages: z.ZodNumber;
|
|
4627
4632
|
}, "strip", z.ZodTypeAny, {
|
|
4628
4633
|
items: {
|
|
4629
|
-
allowedTools: string[];
|
|
4630
4634
|
name: string;
|
|
4631
4635
|
toolkits: string[];
|
|
4632
|
-
id: string;
|
|
4633
4636
|
authConfigIds: string[];
|
|
4637
|
+
allowedTools: string[];
|
|
4638
|
+
id: string;
|
|
4634
4639
|
commands: {
|
|
4635
4640
|
claude: string;
|
|
4636
4641
|
cursor: string;
|
|
@@ -4644,11 +4649,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
4644
4649
|
currentPage: number;
|
|
4645
4650
|
}, {
|
|
4646
4651
|
items: {
|
|
4647
|
-
allowedTools: string[];
|
|
4648
4652
|
name: string;
|
|
4649
4653
|
toolkits: string[];
|
|
4650
|
-
id: string;
|
|
4651
4654
|
authConfigIds: string[];
|
|
4655
|
+
allowedTools: string[];
|
|
4656
|
+
id: string;
|
|
4652
4657
|
commands: {
|
|
4653
4658
|
claude: string;
|
|
4654
4659
|
cursor: string;
|
|
@@ -4677,20 +4682,20 @@ declare const MCPUpdateParamsSchema: z.ZodObject<{
|
|
|
4677
4682
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4678
4683
|
manuallyManageConnections: z.ZodOptional<z.ZodBoolean>;
|
|
4679
4684
|
}, "strip", z.ZodTypeAny, {
|
|
4680
|
-
allowedTools?: string[] | undefined;
|
|
4681
4685
|
name?: string | undefined;
|
|
4682
4686
|
toolkits?: (string | {
|
|
4683
4687
|
toolkit?: string | undefined;
|
|
4684
4688
|
authConfigId?: string | undefined;
|
|
4685
4689
|
})[] | undefined;
|
|
4690
|
+
allowedTools?: string[] | undefined;
|
|
4686
4691
|
manuallyManageConnections?: boolean | undefined;
|
|
4687
4692
|
}, {
|
|
4688
|
-
allowedTools?: string[] | undefined;
|
|
4689
4693
|
name?: string | undefined;
|
|
4690
4694
|
toolkits?: (string | {
|
|
4691
4695
|
toolkit?: string | undefined;
|
|
4692
4696
|
authConfigId?: string | undefined;
|
|
4693
4697
|
})[] | undefined;
|
|
4698
|
+
allowedTools?: string[] | undefined;
|
|
4694
4699
|
manuallyManageConnections?: boolean | undefined;
|
|
4695
4700
|
}>;
|
|
4696
4701
|
type MCPUpdateParams = z.infer<typeof MCPUpdateParamsSchema>;
|
|
@@ -5029,7 +5034,7 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
|
|
|
5029
5034
|
* This method processes a tool call from OpenAI's chat completion API,
|
|
5030
5035
|
* executes the corresponding Composio tool, and returns the result.
|
|
5031
5036
|
*
|
|
5032
|
-
* @param {string}
|
|
5037
|
+
* @param {string | ToolCallSession} executionTarget - A user ID for direct tools or the session that produced session tools
|
|
5033
5038
|
* @param {OpenAI.ChatCompletionMessageToolCall} tool - The tool call from OpenAI
|
|
5034
5039
|
* @param {ExecuteToolFnOptions} [options] - Optional execution options
|
|
5035
5040
|
* @param {ExecuteToolModifiers} [modifiers] - Optional execution modifiers
|
|
@@ -5055,6 +5060,7 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
|
|
|
5055
5060
|
* console.log(JSON.parse(result));
|
|
5056
5061
|
* ```
|
|
5057
5062
|
*/
|
|
5063
|
+
executeToolCall(session: ToolCallSession, tool: OpenAI.ChatCompletionMessageFunctionToolCall): Promise<string>;
|
|
5058
5064
|
executeToolCall(userId: string, tool: OpenAI.ChatCompletionMessageFunctionToolCall, options?: ExecuteToolFnOptions, modifiers?: ExecuteToolModifiers): Promise<string>;
|
|
5059
5065
|
/**
|
|
5060
5066
|
* Handles tool calls from OpenAI's chat completion response.
|
|
@@ -5062,7 +5068,7 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
|
|
|
5062
5068
|
* This method processes tool calls from an OpenAI chat completion response,
|
|
5063
5069
|
* executes each tool call, and returns the results.
|
|
5064
5070
|
*
|
|
5065
|
-
* @param {string}
|
|
5071
|
+
* @param {string | ToolCallSession} executionTarget - A user ID for direct tools or the session that produced session tools
|
|
5066
5072
|
* @param {OpenAI.ChatCompletion} chatCompletion - The chat completion response from OpenAI
|
|
5067
5073
|
* @param {ExecuteToolFnOptions} [options] - Optional execution options
|
|
5068
5074
|
* @param {ExecuteToolModifiers} [modifiers] - Optional execution modifiers
|
|
@@ -5098,6 +5104,7 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
|
|
|
5098
5104
|
* console.log(results); // Array of tool execution results
|
|
5099
5105
|
* ```
|
|
5100
5106
|
*/
|
|
5107
|
+
handleToolCalls(session: ToolCallSession, chatCompletion: OpenAI.ChatCompletion): Promise<OpenAI.ChatCompletionToolMessageParam[]>;
|
|
5101
5108
|
handleToolCalls(userId: string, chatCompletion: OpenAI.ChatCompletion, options?: ExecuteToolFnOptions, modifiers?: ExecuteToolModifiers): Promise<OpenAI.ChatCompletionToolMessageParam[]>;
|
|
5102
5109
|
/**
|
|
5103
5110
|
* Handles all the tool calls from the OpenAI Assistant API.
|