@composio/core 0.14.0 → 0.14.1
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/{BaseProvider-lCxnjFKQ.d.mts → BaseProvider-Dc5yKZhk.d.mts} +81 -82
- package/dist/{CustomTool-CmokRT9q.d.mts → CustomTool-4nVuwLzO.d.mts} +1 -2
- package/dist/{CustomTool-C_5NvBsX.mjs → CustomTool-l-j5HtEf.mjs} +1 -1
- package/dist/FileModifierErrors-B8V8_3VE.mjs +97 -0
- package/dist/{SsrfErrors-BQRozkeU.mjs → SsrfErrors-DNJt57GL.mjs} +5 -98
- package/dist/{Telemetry-llfvticE.mjs → Telemetry-CF0rNHu2.mjs} +2 -2
- package/dist/{cancellation-W65QRyj2.mjs → cancellation-BbJ-UQ__.mjs} +2 -2
- package/dist/{composio-6C8kHtqc.d.mts → composio-ChU3eD9F.d.mts} +260 -257
- package/dist/{customTool.types-kFhNYuzh.d.mts → customTool.types-CX2-LbfI.d.mts} +142 -109
- package/dist/docs/reference/sdk-reference/typescript/session-files.mdx +2 -0
- package/dist/{errors-B165yJUQ.mjs → errors-BcEUHZbq.mjs} +2 -1
- package/dist/experimental/index.d.mts +2 -2
- package/dist/experimental/index.mjs +1 -1
- package/dist/{fileUtils.node-iPFi2o4i.mjs → fileUtils.node-DOkW4PBg.mjs} +5 -153
- package/dist/index.d.mts +1585 -753
- package/dist/index.mjs +14 -10
- package/dist/models/Files.node.d.mts +2 -11
- package/dist/models/Files.node.mjs +2 -2
- package/dist/models/Files.workerd.d.mts +0 -1
- package/dist/platform/node.d.mts +0 -1
- package/dist/platform/workerd.d.mts +0 -1
- package/dist/platform/workerd.mjs +27 -3
- package/dist/{sensitiveFileUploadPaths-B1OLsd8F.mjs → sensitiveFileUploadPaths-C43dHP7S.mjs} +52 -2
- package/dist/{types-yCrveqAj.d.mts → types-D5N60gUD.d.mts} +2 -3
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -2
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -2
- package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -2
- package/dist/utils/modifiers/FileToolModifier.node.mjs +5 -4
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -2
- package/dist/utils/ssrfGuard.node.d.mts +22 -0
- package/dist/utils/ssrfGuard.node.mjs +152 -0
- package/dist/utils/ssrfGuard.workerd.d.mts +9 -0
- package/dist/utils/ssrfGuard.workerd.mjs +17 -0
- package/package.json +14 -9
- package/src/errors/SsrfErrors.ts +4 -3
- package/src/models/ToolRouterSessionFileMount.ts +7 -3
- package/src/platform/workerd.ts +30 -3
- package/src/utils/fileUtils.node.ts +2 -2
- package/src/utils/readResponseBody.ts +63 -0
- package/src/utils/ssrfGuard.node.ts +6 -6
- package/src/utils/ssrfGuard.workerd.ts +19 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $t as ExecuteToolModifiers, An as ToolRetrievalOptions, Cn as ToolList, Ln as ToolkitVersionParam, On as ToolProxyParams, X as McpServerGetResponse, _n as ToolExecuteMetaParams, at as ExecuteToolFnOptions, gn as Tool, hn as SchemaModifierOptions, n as BaseComposioProvider, nn as SessionExecuteMetaModifiers, r as BaseNonAgenticProvider, tn as ProviderOptions, tt as McpUrlResponse, wn as ToolListParams, xn as ToolExecuteResponse, yn as ToolExecuteParams } from "./BaseProvider-
|
|
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-
|
|
1
|
+
import { $t as ExecuteToolModifiers, An as ToolRetrievalOptions, Cn as ToolList, Ln as ToolkitVersionParam, On as ToolProxyParams, X as McpServerGetResponse, _n as ToolExecuteMetaParams, at as ExecuteToolFnOptions, gn as Tool, hn as SchemaModifierOptions, n as BaseComposioProvider, nn as SessionExecuteMetaModifiers, r as BaseNonAgenticProvider, tn as ProviderOptions, tt as McpUrlResponse, wn as ToolListParams, xn as ToolExecuteResponse, yn as ToolExecuteParams } from "./BaseProvider-Dc5yKZhk.mjs";
|
|
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-CX2-LbfI.mjs";
|
|
3
3
|
import ComposioClient, { Composio } from "@composio/client";
|
|
4
4
|
import z, { z as z$1 } from "zod/v3";
|
|
5
5
|
import { OpenAI } from "openai";
|
|
@@ -10,7 +10,6 @@ import { ToolGetInputParams, ToolGetInputResponse, ToolProxyResponse, ToolRetrie
|
|
|
10
10
|
import { TriggersTypeRetrieveEnumResponse } from "@composio/client/resources/index";
|
|
11
11
|
import { AuthConfigDeleteResponse, AuthConfigUpdateResponse, AuthConfigUpdateStatusResponse } from "@composio/client/resources/auth-configs";
|
|
12
12
|
import { Stream } from "openai/streaming";
|
|
13
|
-
|
|
14
13
|
//#region src/models/Tools.d.ts
|
|
15
14
|
type ToolRouterSessionExecuteOptions = {
|
|
16
15
|
experimental?: SessionExecuteParams.Experimental;
|
|
@@ -515,14 +514,14 @@ declare const ToolkitsListParamsSchema: z$1.ZodObject<{
|
|
|
515
514
|
cursor: z$1.ZodOptional<z$1.ZodString>;
|
|
516
515
|
limit: z$1.ZodOptional<z$1.ZodNumber>;
|
|
517
516
|
}, "strip", z$1.ZodTypeAny, {
|
|
518
|
-
limit?: number | undefined;
|
|
519
517
|
cursor?: string | undefined;
|
|
518
|
+
limit?: number | undefined;
|
|
520
519
|
category?: string | undefined;
|
|
521
520
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
522
521
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
523
522
|
}, {
|
|
524
|
-
limit?: number | undefined;
|
|
525
523
|
cursor?: string | undefined;
|
|
524
|
+
limit?: number | undefined;
|
|
526
525
|
category?: string | undefined;
|
|
527
526
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
528
527
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
@@ -538,11 +537,11 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
|
|
|
538
537
|
slug: z$1.ZodString;
|
|
539
538
|
name: z$1.ZodString;
|
|
540
539
|
}, "strip", z$1.ZodTypeAny, {
|
|
541
|
-
slug: string;
|
|
542
540
|
name: string;
|
|
543
|
-
}, {
|
|
544
541
|
slug: string;
|
|
542
|
+
}, {
|
|
545
543
|
name: string;
|
|
544
|
+
slug: string;
|
|
546
545
|
}>, "many">>;
|
|
547
546
|
appUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
548
547
|
createdAt: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -553,27 +552,27 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
|
|
|
553
552
|
updatedAt: z$1.ZodOptional<z$1.ZodString>;
|
|
554
553
|
availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
555
554
|
}, "strip", z$1.ZodTypeAny, {
|
|
555
|
+
createdAt?: string | undefined;
|
|
556
|
+
updatedAt?: string | undefined;
|
|
556
557
|
logo?: string | undefined;
|
|
557
558
|
description?: string | undefined;
|
|
558
559
|
availableVersions?: string[] | undefined;
|
|
559
|
-
createdAt?: string | undefined;
|
|
560
|
-
updatedAt?: string | undefined;
|
|
561
560
|
categories?: {
|
|
562
|
-
slug: string;
|
|
563
561
|
name: string;
|
|
562
|
+
slug: string;
|
|
564
563
|
}[] | undefined;
|
|
565
564
|
appUrl?: string | undefined;
|
|
566
565
|
toolsCount?: number | undefined;
|
|
567
566
|
triggersCount?: number | undefined;
|
|
568
567
|
}, {
|
|
568
|
+
createdAt?: string | undefined;
|
|
569
|
+
updatedAt?: string | undefined;
|
|
569
570
|
logo?: string | undefined;
|
|
570
571
|
description?: string | undefined;
|
|
571
572
|
availableVersions?: string[] | undefined;
|
|
572
|
-
createdAt?: string | undefined;
|
|
573
|
-
updatedAt?: string | undefined;
|
|
574
573
|
categories?: {
|
|
575
|
-
slug: string;
|
|
576
574
|
name: string;
|
|
575
|
+
slug: string;
|
|
577
576
|
}[] | undefined;
|
|
578
577
|
appUrl?: string | undefined;
|
|
579
578
|
toolsCount?: number | undefined;
|
|
@@ -587,11 +586,11 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
587
586
|
slug: z$1.ZodString;
|
|
588
587
|
name: z$1.ZodString;
|
|
589
588
|
}, "strip", z$1.ZodTypeAny, {
|
|
590
|
-
slug: string;
|
|
591
589
|
name: string;
|
|
592
|
-
}, {
|
|
593
590
|
slug: string;
|
|
591
|
+
}, {
|
|
594
592
|
name: string;
|
|
593
|
+
slug: string;
|
|
595
594
|
}>, "many">>;
|
|
596
595
|
appUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
597
596
|
createdAt: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -602,27 +601,27 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
602
601
|
updatedAt: z$1.ZodOptional<z$1.ZodString>;
|
|
603
602
|
availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
604
603
|
}, "strip", z$1.ZodTypeAny, {
|
|
604
|
+
createdAt?: string | undefined;
|
|
605
|
+
updatedAt?: string | undefined;
|
|
605
606
|
logo?: string | undefined;
|
|
606
607
|
description?: string | undefined;
|
|
607
608
|
availableVersions?: string[] | undefined;
|
|
608
|
-
createdAt?: string | undefined;
|
|
609
|
-
updatedAt?: string | undefined;
|
|
610
609
|
categories?: {
|
|
611
|
-
slug: string;
|
|
612
610
|
name: string;
|
|
611
|
+
slug: string;
|
|
613
612
|
}[] | undefined;
|
|
614
613
|
appUrl?: string | undefined;
|
|
615
614
|
toolsCount?: number | undefined;
|
|
616
615
|
triggersCount?: number | undefined;
|
|
617
616
|
}, {
|
|
617
|
+
createdAt?: string | undefined;
|
|
618
|
+
updatedAt?: string | undefined;
|
|
618
619
|
logo?: string | undefined;
|
|
619
620
|
description?: string | undefined;
|
|
620
621
|
availableVersions?: string[] | undefined;
|
|
621
|
-
createdAt?: string | undefined;
|
|
622
|
-
updatedAt?: string | undefined;
|
|
623
622
|
categories?: {
|
|
624
|
-
slug: string;
|
|
625
623
|
name: string;
|
|
624
|
+
slug: string;
|
|
626
625
|
}[] | undefined;
|
|
627
626
|
appUrl?: string | undefined;
|
|
628
627
|
toolsCount?: number | undefined;
|
|
@@ -633,17 +632,17 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
633
632
|
composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
634
633
|
noAuth: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
635
634
|
}, "strip", z$1.ZodTypeAny, {
|
|
636
|
-
slug: string;
|
|
637
635
|
name: string;
|
|
636
|
+
slug: string;
|
|
638
637
|
meta: {
|
|
638
|
+
createdAt?: string | undefined;
|
|
639
|
+
updatedAt?: string | undefined;
|
|
639
640
|
logo?: string | undefined;
|
|
640
641
|
description?: string | undefined;
|
|
641
642
|
availableVersions?: string[] | undefined;
|
|
642
|
-
createdAt?: string | undefined;
|
|
643
|
-
updatedAt?: string | undefined;
|
|
644
643
|
categories?: {
|
|
645
|
-
slug: string;
|
|
646
644
|
name: string;
|
|
645
|
+
slug: string;
|
|
647
646
|
}[] | undefined;
|
|
648
647
|
appUrl?: string | undefined;
|
|
649
648
|
toolsCount?: number | undefined;
|
|
@@ -654,17 +653,17 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
654
653
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
655
654
|
noAuth?: boolean | undefined;
|
|
656
655
|
}, {
|
|
657
|
-
slug: string;
|
|
658
656
|
name: string;
|
|
657
|
+
slug: string;
|
|
659
658
|
meta: {
|
|
659
|
+
createdAt?: string | undefined;
|
|
660
|
+
updatedAt?: string | undefined;
|
|
660
661
|
logo?: string | undefined;
|
|
661
662
|
description?: string | undefined;
|
|
662
663
|
availableVersions?: string[] | undefined;
|
|
663
|
-
createdAt?: string | undefined;
|
|
664
|
-
updatedAt?: string | undefined;
|
|
665
664
|
categories?: {
|
|
666
|
-
slug: string;
|
|
667
665
|
name: string;
|
|
666
|
+
slug: string;
|
|
668
667
|
}[] | undefined;
|
|
669
668
|
appUrl?: string | undefined;
|
|
670
669
|
toolsCount?: number | undefined;
|
|
@@ -683,11 +682,11 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
683
682
|
slug: z$1.ZodString;
|
|
684
683
|
name: z$1.ZodString;
|
|
685
684
|
}, "strip", z$1.ZodTypeAny, {
|
|
686
|
-
slug: string;
|
|
687
685
|
name: string;
|
|
688
|
-
}, {
|
|
689
686
|
slug: string;
|
|
687
|
+
}, {
|
|
690
688
|
name: string;
|
|
689
|
+
slug: string;
|
|
691
690
|
}>, "many">>;
|
|
692
691
|
appUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
693
692
|
createdAt: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -698,27 +697,27 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
698
697
|
updatedAt: z$1.ZodOptional<z$1.ZodString>;
|
|
699
698
|
availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
700
699
|
}, "strip", z$1.ZodTypeAny, {
|
|
700
|
+
createdAt?: string | undefined;
|
|
701
|
+
updatedAt?: string | undefined;
|
|
701
702
|
logo?: string | undefined;
|
|
702
703
|
description?: string | undefined;
|
|
703
704
|
availableVersions?: string[] | undefined;
|
|
704
|
-
createdAt?: string | undefined;
|
|
705
|
-
updatedAt?: string | undefined;
|
|
706
705
|
categories?: {
|
|
707
|
-
slug: string;
|
|
708
706
|
name: string;
|
|
707
|
+
slug: string;
|
|
709
708
|
}[] | undefined;
|
|
710
709
|
appUrl?: string | undefined;
|
|
711
710
|
toolsCount?: number | undefined;
|
|
712
711
|
triggersCount?: number | undefined;
|
|
713
712
|
}, {
|
|
713
|
+
createdAt?: string | undefined;
|
|
714
|
+
updatedAt?: string | undefined;
|
|
714
715
|
logo?: string | undefined;
|
|
715
716
|
description?: string | undefined;
|
|
716
717
|
availableVersions?: string[] | undefined;
|
|
717
|
-
createdAt?: string | undefined;
|
|
718
|
-
updatedAt?: string | undefined;
|
|
719
718
|
categories?: {
|
|
720
|
-
slug: string;
|
|
721
719
|
name: string;
|
|
720
|
+
slug: string;
|
|
722
721
|
}[] | undefined;
|
|
723
722
|
appUrl?: string | undefined;
|
|
724
723
|
toolsCount?: number | undefined;
|
|
@@ -729,17 +728,17 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
729
728
|
composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
730
729
|
noAuth: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
731
730
|
}, "strip", z$1.ZodTypeAny, {
|
|
732
|
-
slug: string;
|
|
733
731
|
name: string;
|
|
732
|
+
slug: string;
|
|
734
733
|
meta: {
|
|
734
|
+
createdAt?: string | undefined;
|
|
735
|
+
updatedAt?: string | undefined;
|
|
735
736
|
logo?: string | undefined;
|
|
736
737
|
description?: string | undefined;
|
|
737
738
|
availableVersions?: string[] | undefined;
|
|
738
|
-
createdAt?: string | undefined;
|
|
739
|
-
updatedAt?: string | undefined;
|
|
740
739
|
categories?: {
|
|
741
|
-
slug: string;
|
|
742
740
|
name: string;
|
|
741
|
+
slug: string;
|
|
743
742
|
}[] | undefined;
|
|
744
743
|
appUrl?: string | undefined;
|
|
745
744
|
toolsCount?: number | undefined;
|
|
@@ -750,17 +749,17 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
750
749
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
751
750
|
noAuth?: boolean | undefined;
|
|
752
751
|
}, {
|
|
753
|
-
slug: string;
|
|
754
752
|
name: string;
|
|
753
|
+
slug: string;
|
|
755
754
|
meta: {
|
|
755
|
+
createdAt?: string | undefined;
|
|
756
|
+
updatedAt?: string | undefined;
|
|
756
757
|
logo?: string | undefined;
|
|
757
758
|
description?: string | undefined;
|
|
758
759
|
availableVersions?: string[] | undefined;
|
|
759
|
-
createdAt?: string | undefined;
|
|
760
|
-
updatedAt?: string | undefined;
|
|
761
760
|
categories?: {
|
|
762
|
-
slug: string;
|
|
763
761
|
name: string;
|
|
762
|
+
slug: string;
|
|
764
763
|
}[] | undefined;
|
|
765
764
|
appUrl?: string | undefined;
|
|
766
765
|
toolsCount?: number | undefined;
|
|
@@ -785,15 +784,15 @@ declare const ToolkitAuthFieldSchema: z$1.ZodObject<{
|
|
|
785
784
|
type: z$1.ZodString;
|
|
786
785
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
787
786
|
}, "strip", z$1.ZodTypeAny, {
|
|
788
|
-
name: string;
|
|
789
787
|
type: string;
|
|
788
|
+
name: string;
|
|
790
789
|
description: string;
|
|
791
790
|
required: boolean;
|
|
792
791
|
displayName: string;
|
|
793
792
|
default?: string | null | undefined;
|
|
794
793
|
}, {
|
|
795
|
-
name: string;
|
|
796
794
|
type: string;
|
|
795
|
+
name: string;
|
|
797
796
|
description: string;
|
|
798
797
|
required: boolean;
|
|
799
798
|
displayName: string;
|
|
@@ -812,15 +811,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
812
811
|
type: z$1.ZodString;
|
|
813
812
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
814
813
|
}, "strip", z$1.ZodTypeAny, {
|
|
815
|
-
name: string;
|
|
816
814
|
type: string;
|
|
815
|
+
name: string;
|
|
817
816
|
description: string;
|
|
818
817
|
required: boolean;
|
|
819
818
|
displayName: string;
|
|
820
819
|
default?: string | null | undefined;
|
|
821
820
|
}, {
|
|
822
|
-
name: string;
|
|
823
821
|
type: string;
|
|
822
|
+
name: string;
|
|
824
823
|
description: string;
|
|
825
824
|
required: boolean;
|
|
826
825
|
displayName: string;
|
|
@@ -834,15 +833,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
834
833
|
type: z$1.ZodString;
|
|
835
834
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
836
835
|
}, "strip", z$1.ZodTypeAny, {
|
|
837
|
-
name: string;
|
|
838
836
|
type: string;
|
|
837
|
+
name: string;
|
|
839
838
|
description: string;
|
|
840
839
|
required: boolean;
|
|
841
840
|
displayName: string;
|
|
842
841
|
default?: string | null | undefined;
|
|
843
842
|
}, {
|
|
844
|
-
name: string;
|
|
845
843
|
type: string;
|
|
844
|
+
name: string;
|
|
846
845
|
description: string;
|
|
847
846
|
required: boolean;
|
|
848
847
|
displayName: string;
|
|
@@ -850,16 +849,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
850
849
|
}>, "many">;
|
|
851
850
|
}, "strip", z$1.ZodTypeAny, {
|
|
852
851
|
required: {
|
|
853
|
-
name: string;
|
|
854
852
|
type: string;
|
|
853
|
+
name: string;
|
|
855
854
|
description: string;
|
|
856
855
|
required: boolean;
|
|
857
856
|
displayName: string;
|
|
858
857
|
default?: string | null | undefined;
|
|
859
858
|
}[];
|
|
860
859
|
optional: {
|
|
861
|
-
name: string;
|
|
862
860
|
type: string;
|
|
861
|
+
name: string;
|
|
863
862
|
description: string;
|
|
864
863
|
required: boolean;
|
|
865
864
|
displayName: string;
|
|
@@ -867,16 +866,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
867
866
|
}[];
|
|
868
867
|
}, {
|
|
869
868
|
required: {
|
|
870
|
-
name: string;
|
|
871
869
|
type: string;
|
|
870
|
+
name: string;
|
|
872
871
|
description: string;
|
|
873
872
|
required: boolean;
|
|
874
873
|
displayName: string;
|
|
875
874
|
default?: string | null | undefined;
|
|
876
875
|
}[];
|
|
877
876
|
optional: {
|
|
878
|
-
name: string;
|
|
879
877
|
type: string;
|
|
878
|
+
name: string;
|
|
880
879
|
description: string;
|
|
881
880
|
required: boolean;
|
|
882
881
|
displayName: string;
|
|
@@ -892,15 +891,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
892
891
|
type: z$1.ZodString;
|
|
893
892
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
894
893
|
}, "strip", z$1.ZodTypeAny, {
|
|
895
|
-
name: string;
|
|
896
894
|
type: string;
|
|
895
|
+
name: string;
|
|
897
896
|
description: string;
|
|
898
897
|
required: boolean;
|
|
899
898
|
displayName: string;
|
|
900
899
|
default?: string | null | undefined;
|
|
901
900
|
}, {
|
|
902
|
-
name: string;
|
|
903
901
|
type: string;
|
|
902
|
+
name: string;
|
|
904
903
|
description: string;
|
|
905
904
|
required: boolean;
|
|
906
905
|
displayName: string;
|
|
@@ -914,15 +913,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
914
913
|
type: z$1.ZodString;
|
|
915
914
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
916
915
|
}, "strip", z$1.ZodTypeAny, {
|
|
917
|
-
name: string;
|
|
918
916
|
type: string;
|
|
917
|
+
name: string;
|
|
919
918
|
description: string;
|
|
920
919
|
required: boolean;
|
|
921
920
|
displayName: string;
|
|
922
921
|
default?: string | null | undefined;
|
|
923
922
|
}, {
|
|
924
|
-
name: string;
|
|
925
923
|
type: string;
|
|
924
|
+
name: string;
|
|
926
925
|
description: string;
|
|
927
926
|
required: boolean;
|
|
928
927
|
displayName: string;
|
|
@@ -930,16 +929,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
930
929
|
}>, "many">;
|
|
931
930
|
}, "strip", z$1.ZodTypeAny, {
|
|
932
931
|
required: {
|
|
933
|
-
name: string;
|
|
934
932
|
type: string;
|
|
933
|
+
name: string;
|
|
935
934
|
description: string;
|
|
936
935
|
required: boolean;
|
|
937
936
|
displayName: string;
|
|
938
937
|
default?: string | null | undefined;
|
|
939
938
|
}[];
|
|
940
939
|
optional: {
|
|
941
|
-
name: string;
|
|
942
940
|
type: string;
|
|
941
|
+
name: string;
|
|
943
942
|
description: string;
|
|
944
943
|
required: boolean;
|
|
945
944
|
displayName: string;
|
|
@@ -947,16 +946,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
947
946
|
}[];
|
|
948
947
|
}, {
|
|
949
948
|
required: {
|
|
950
|
-
name: string;
|
|
951
949
|
type: string;
|
|
950
|
+
name: string;
|
|
952
951
|
description: string;
|
|
953
952
|
required: boolean;
|
|
954
953
|
displayName: string;
|
|
955
954
|
default?: string | null | undefined;
|
|
956
955
|
}[];
|
|
957
956
|
optional: {
|
|
958
|
-
name: string;
|
|
959
957
|
type: string;
|
|
958
|
+
name: string;
|
|
960
959
|
description: string;
|
|
961
960
|
required: boolean;
|
|
962
961
|
displayName: string;
|
|
@@ -966,16 +965,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
966
965
|
}, "strip", z$1.ZodTypeAny, {
|
|
967
966
|
authConfigCreation: {
|
|
968
967
|
required: {
|
|
969
|
-
name: string;
|
|
970
968
|
type: string;
|
|
969
|
+
name: string;
|
|
971
970
|
description: string;
|
|
972
971
|
required: boolean;
|
|
973
972
|
displayName: string;
|
|
974
973
|
default?: string | null | undefined;
|
|
975
974
|
}[];
|
|
976
975
|
optional: {
|
|
977
|
-
name: string;
|
|
978
976
|
type: string;
|
|
977
|
+
name: string;
|
|
979
978
|
description: string;
|
|
980
979
|
required: boolean;
|
|
981
980
|
displayName: string;
|
|
@@ -984,16 +983,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
984
983
|
};
|
|
985
984
|
connectedAccountInitiation: {
|
|
986
985
|
required: {
|
|
987
|
-
name: string;
|
|
988
986
|
type: string;
|
|
987
|
+
name: string;
|
|
989
988
|
description: string;
|
|
990
989
|
required: boolean;
|
|
991
990
|
displayName: string;
|
|
992
991
|
default?: string | null | undefined;
|
|
993
992
|
}[];
|
|
994
993
|
optional: {
|
|
995
|
-
name: string;
|
|
996
994
|
type: string;
|
|
995
|
+
name: string;
|
|
997
996
|
description: string;
|
|
998
997
|
required: boolean;
|
|
999
998
|
displayName: string;
|
|
@@ -1003,16 +1002,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
1003
1002
|
}, {
|
|
1004
1003
|
authConfigCreation: {
|
|
1005
1004
|
required: {
|
|
1006
|
-
name: string;
|
|
1007
1005
|
type: string;
|
|
1006
|
+
name: string;
|
|
1008
1007
|
description: string;
|
|
1009
1008
|
required: boolean;
|
|
1010
1009
|
displayName: string;
|
|
1011
1010
|
default?: string | null | undefined;
|
|
1012
1011
|
}[];
|
|
1013
1012
|
optional: {
|
|
1014
|
-
name: string;
|
|
1015
1013
|
type: string;
|
|
1014
|
+
name: string;
|
|
1016
1015
|
description: string;
|
|
1017
1016
|
required: boolean;
|
|
1018
1017
|
displayName: string;
|
|
@@ -1021,16 +1020,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
1021
1020
|
};
|
|
1022
1021
|
connectedAccountInitiation: {
|
|
1023
1022
|
required: {
|
|
1024
|
-
name: string;
|
|
1025
1023
|
type: string;
|
|
1024
|
+
name: string;
|
|
1026
1025
|
description: string;
|
|
1027
1026
|
required: boolean;
|
|
1028
1027
|
displayName: string;
|
|
1029
1028
|
default?: string | null | undefined;
|
|
1030
1029
|
}[];
|
|
1031
1030
|
optional: {
|
|
1032
|
-
name: string;
|
|
1033
1031
|
type: string;
|
|
1032
|
+
name: string;
|
|
1034
1033
|
description: string;
|
|
1035
1034
|
required: boolean;
|
|
1036
1035
|
displayName: string;
|
|
@@ -1051,16 +1050,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
1051
1050
|
fields: {
|
|
1052
1051
|
authConfigCreation: {
|
|
1053
1052
|
required: {
|
|
1054
|
-
name: string;
|
|
1055
1053
|
type: string;
|
|
1054
|
+
name: string;
|
|
1056
1055
|
description: string;
|
|
1057
1056
|
required: boolean;
|
|
1058
1057
|
displayName: string;
|
|
1059
1058
|
default?: string | null | undefined;
|
|
1060
1059
|
}[];
|
|
1061
1060
|
optional: {
|
|
1062
|
-
name: string;
|
|
1063
1061
|
type: string;
|
|
1062
|
+
name: string;
|
|
1064
1063
|
description: string;
|
|
1065
1064
|
required: boolean;
|
|
1066
1065
|
displayName: string;
|
|
@@ -1069,16 +1068,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
1069
1068
|
};
|
|
1070
1069
|
connectedAccountInitiation: {
|
|
1071
1070
|
required: {
|
|
1072
|
-
name: string;
|
|
1073
1071
|
type: string;
|
|
1072
|
+
name: string;
|
|
1074
1073
|
description: string;
|
|
1075
1074
|
required: boolean;
|
|
1076
1075
|
displayName: string;
|
|
1077
1076
|
default?: string | null | undefined;
|
|
1078
1077
|
}[];
|
|
1079
1078
|
optional: {
|
|
1080
|
-
name: string;
|
|
1081
1079
|
type: string;
|
|
1080
|
+
name: string;
|
|
1082
1081
|
description: string;
|
|
1083
1082
|
required: boolean;
|
|
1084
1083
|
displayName: string;
|
|
@@ -1095,16 +1094,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
1095
1094
|
fields: {
|
|
1096
1095
|
authConfigCreation: {
|
|
1097
1096
|
required: {
|
|
1098
|
-
name: string;
|
|
1099
1097
|
type: string;
|
|
1098
|
+
name: string;
|
|
1100
1099
|
description: string;
|
|
1101
1100
|
required: boolean;
|
|
1102
1101
|
displayName: string;
|
|
1103
1102
|
default?: string | null | undefined;
|
|
1104
1103
|
}[];
|
|
1105
1104
|
optional: {
|
|
1106
|
-
name: string;
|
|
1107
1105
|
type: string;
|
|
1106
|
+
name: string;
|
|
1108
1107
|
description: string;
|
|
1109
1108
|
required: boolean;
|
|
1110
1109
|
displayName: string;
|
|
@@ -1113,16 +1112,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
1113
1112
|
};
|
|
1114
1113
|
connectedAccountInitiation: {
|
|
1115
1114
|
required: {
|
|
1116
|
-
name: string;
|
|
1117
1115
|
type: string;
|
|
1116
|
+
name: string;
|
|
1118
1117
|
description: string;
|
|
1119
1118
|
required: boolean;
|
|
1120
1119
|
displayName: string;
|
|
1121
1120
|
default?: string | null | undefined;
|
|
1122
1121
|
}[];
|
|
1123
1122
|
optional: {
|
|
1124
|
-
name: string;
|
|
1125
1123
|
type: string;
|
|
1124
|
+
name: string;
|
|
1126
1125
|
description: string;
|
|
1127
1126
|
required: boolean;
|
|
1128
1127
|
displayName: string;
|
|
@@ -1142,11 +1141,11 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1142
1141
|
slug: z$1.ZodString;
|
|
1143
1142
|
name: z$1.ZodString;
|
|
1144
1143
|
}, "strip", z$1.ZodTypeAny, {
|
|
1145
|
-
slug: string;
|
|
1146
1144
|
name: string;
|
|
1147
|
-
}, {
|
|
1148
1145
|
slug: string;
|
|
1146
|
+
}, {
|
|
1149
1147
|
name: string;
|
|
1148
|
+
slug: string;
|
|
1150
1149
|
}>, "many">>;
|
|
1151
1150
|
appUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
1152
1151
|
createdAt: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -1157,27 +1156,27 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1157
1156
|
updatedAt: z$1.ZodOptional<z$1.ZodString>;
|
|
1158
1157
|
availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
1159
1158
|
}, "strip", z$1.ZodTypeAny, {
|
|
1159
|
+
createdAt?: string | undefined;
|
|
1160
|
+
updatedAt?: string | undefined;
|
|
1160
1161
|
logo?: string | undefined;
|
|
1161
1162
|
description?: string | undefined;
|
|
1162
1163
|
availableVersions?: string[] | undefined;
|
|
1163
|
-
createdAt?: string | undefined;
|
|
1164
|
-
updatedAt?: string | undefined;
|
|
1165
1164
|
categories?: {
|
|
1166
|
-
slug: string;
|
|
1167
1165
|
name: string;
|
|
1166
|
+
slug: string;
|
|
1168
1167
|
}[] | undefined;
|
|
1169
1168
|
appUrl?: string | undefined;
|
|
1170
1169
|
toolsCount?: number | undefined;
|
|
1171
1170
|
triggersCount?: number | undefined;
|
|
1172
1171
|
}, {
|
|
1172
|
+
createdAt?: string | undefined;
|
|
1173
|
+
updatedAt?: string | undefined;
|
|
1173
1174
|
logo?: string | undefined;
|
|
1174
1175
|
description?: string | undefined;
|
|
1175
1176
|
availableVersions?: string[] | undefined;
|
|
1176
|
-
createdAt?: string | undefined;
|
|
1177
|
-
updatedAt?: string | undefined;
|
|
1178
1177
|
categories?: {
|
|
1179
|
-
slug: string;
|
|
1180
1178
|
name: string;
|
|
1179
|
+
slug: string;
|
|
1181
1180
|
}[] | undefined;
|
|
1182
1181
|
appUrl?: string | undefined;
|
|
1183
1182
|
toolsCount?: number | undefined;
|
|
@@ -1198,15 +1197,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1198
1197
|
type: z$1.ZodString;
|
|
1199
1198
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
1200
1199
|
}, "strip", z$1.ZodTypeAny, {
|
|
1201
|
-
name: string;
|
|
1202
1200
|
type: string;
|
|
1201
|
+
name: string;
|
|
1203
1202
|
description: string;
|
|
1204
1203
|
required: boolean;
|
|
1205
1204
|
displayName: string;
|
|
1206
1205
|
default?: string | null | undefined;
|
|
1207
1206
|
}, {
|
|
1208
|
-
name: string;
|
|
1209
1207
|
type: string;
|
|
1208
|
+
name: string;
|
|
1210
1209
|
description: string;
|
|
1211
1210
|
required: boolean;
|
|
1212
1211
|
displayName: string;
|
|
@@ -1220,15 +1219,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1220
1219
|
type: z$1.ZodString;
|
|
1221
1220
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
1222
1221
|
}, "strip", z$1.ZodTypeAny, {
|
|
1223
|
-
name: string;
|
|
1224
1222
|
type: string;
|
|
1223
|
+
name: string;
|
|
1225
1224
|
description: string;
|
|
1226
1225
|
required: boolean;
|
|
1227
1226
|
displayName: string;
|
|
1228
1227
|
default?: string | null | undefined;
|
|
1229
1228
|
}, {
|
|
1230
|
-
name: string;
|
|
1231
1229
|
type: string;
|
|
1230
|
+
name: string;
|
|
1232
1231
|
description: string;
|
|
1233
1232
|
required: boolean;
|
|
1234
1233
|
displayName: string;
|
|
@@ -1236,16 +1235,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1236
1235
|
}>, "many">;
|
|
1237
1236
|
}, "strip", z$1.ZodTypeAny, {
|
|
1238
1237
|
required: {
|
|
1239
|
-
name: string;
|
|
1240
1238
|
type: string;
|
|
1239
|
+
name: string;
|
|
1241
1240
|
description: string;
|
|
1242
1241
|
required: boolean;
|
|
1243
1242
|
displayName: string;
|
|
1244
1243
|
default?: string | null | undefined;
|
|
1245
1244
|
}[];
|
|
1246
1245
|
optional: {
|
|
1247
|
-
name: string;
|
|
1248
1246
|
type: string;
|
|
1247
|
+
name: string;
|
|
1249
1248
|
description: string;
|
|
1250
1249
|
required: boolean;
|
|
1251
1250
|
displayName: string;
|
|
@@ -1253,16 +1252,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1253
1252
|
}[];
|
|
1254
1253
|
}, {
|
|
1255
1254
|
required: {
|
|
1256
|
-
name: string;
|
|
1257
1255
|
type: string;
|
|
1256
|
+
name: string;
|
|
1258
1257
|
description: string;
|
|
1259
1258
|
required: boolean;
|
|
1260
1259
|
displayName: string;
|
|
1261
1260
|
default?: string | null | undefined;
|
|
1262
1261
|
}[];
|
|
1263
1262
|
optional: {
|
|
1264
|
-
name: string;
|
|
1265
1263
|
type: string;
|
|
1264
|
+
name: string;
|
|
1266
1265
|
description: string;
|
|
1267
1266
|
required: boolean;
|
|
1268
1267
|
displayName: string;
|
|
@@ -1278,15 +1277,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1278
1277
|
type: z$1.ZodString;
|
|
1279
1278
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
1280
1279
|
}, "strip", z$1.ZodTypeAny, {
|
|
1281
|
-
name: string;
|
|
1282
1280
|
type: string;
|
|
1281
|
+
name: string;
|
|
1283
1282
|
description: string;
|
|
1284
1283
|
required: boolean;
|
|
1285
1284
|
displayName: string;
|
|
1286
1285
|
default?: string | null | undefined;
|
|
1287
1286
|
}, {
|
|
1288
|
-
name: string;
|
|
1289
1287
|
type: string;
|
|
1288
|
+
name: string;
|
|
1290
1289
|
description: string;
|
|
1291
1290
|
required: boolean;
|
|
1292
1291
|
displayName: string;
|
|
@@ -1300,15 +1299,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1300
1299
|
type: z$1.ZodString;
|
|
1301
1300
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
1302
1301
|
}, "strip", z$1.ZodTypeAny, {
|
|
1303
|
-
name: string;
|
|
1304
1302
|
type: string;
|
|
1303
|
+
name: string;
|
|
1305
1304
|
description: string;
|
|
1306
1305
|
required: boolean;
|
|
1307
1306
|
displayName: string;
|
|
1308
1307
|
default?: string | null | undefined;
|
|
1309
1308
|
}, {
|
|
1310
|
-
name: string;
|
|
1311
1309
|
type: string;
|
|
1310
|
+
name: string;
|
|
1312
1311
|
description: string;
|
|
1313
1312
|
required: boolean;
|
|
1314
1313
|
displayName: string;
|
|
@@ -1316,16 +1315,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1316
1315
|
}>, "many">;
|
|
1317
1316
|
}, "strip", z$1.ZodTypeAny, {
|
|
1318
1317
|
required: {
|
|
1319
|
-
name: string;
|
|
1320
1318
|
type: string;
|
|
1319
|
+
name: string;
|
|
1321
1320
|
description: string;
|
|
1322
1321
|
required: boolean;
|
|
1323
1322
|
displayName: string;
|
|
1324
1323
|
default?: string | null | undefined;
|
|
1325
1324
|
}[];
|
|
1326
1325
|
optional: {
|
|
1327
|
-
name: string;
|
|
1328
1326
|
type: string;
|
|
1327
|
+
name: string;
|
|
1329
1328
|
description: string;
|
|
1330
1329
|
required: boolean;
|
|
1331
1330
|
displayName: string;
|
|
@@ -1333,16 +1332,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1333
1332
|
}[];
|
|
1334
1333
|
}, {
|
|
1335
1334
|
required: {
|
|
1336
|
-
name: string;
|
|
1337
1335
|
type: string;
|
|
1336
|
+
name: string;
|
|
1338
1337
|
description: string;
|
|
1339
1338
|
required: boolean;
|
|
1340
1339
|
displayName: string;
|
|
1341
1340
|
default?: string | null | undefined;
|
|
1342
1341
|
}[];
|
|
1343
1342
|
optional: {
|
|
1344
|
-
name: string;
|
|
1345
1343
|
type: string;
|
|
1344
|
+
name: string;
|
|
1346
1345
|
description: string;
|
|
1347
1346
|
required: boolean;
|
|
1348
1347
|
displayName: string;
|
|
@@ -1352,16 +1351,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1352
1351
|
}, "strip", z$1.ZodTypeAny, {
|
|
1353
1352
|
authConfigCreation: {
|
|
1354
1353
|
required: {
|
|
1355
|
-
name: string;
|
|
1356
1354
|
type: string;
|
|
1355
|
+
name: string;
|
|
1357
1356
|
description: string;
|
|
1358
1357
|
required: boolean;
|
|
1359
1358
|
displayName: string;
|
|
1360
1359
|
default?: string | null | undefined;
|
|
1361
1360
|
}[];
|
|
1362
1361
|
optional: {
|
|
1363
|
-
name: string;
|
|
1364
1362
|
type: string;
|
|
1363
|
+
name: string;
|
|
1365
1364
|
description: string;
|
|
1366
1365
|
required: boolean;
|
|
1367
1366
|
displayName: string;
|
|
@@ -1370,16 +1369,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1370
1369
|
};
|
|
1371
1370
|
connectedAccountInitiation: {
|
|
1372
1371
|
required: {
|
|
1373
|
-
name: string;
|
|
1374
1372
|
type: string;
|
|
1373
|
+
name: string;
|
|
1375
1374
|
description: string;
|
|
1376
1375
|
required: boolean;
|
|
1377
1376
|
displayName: string;
|
|
1378
1377
|
default?: string | null | undefined;
|
|
1379
1378
|
}[];
|
|
1380
1379
|
optional: {
|
|
1381
|
-
name: string;
|
|
1382
1380
|
type: string;
|
|
1381
|
+
name: string;
|
|
1383
1382
|
description: string;
|
|
1384
1383
|
required: boolean;
|
|
1385
1384
|
displayName: string;
|
|
@@ -1389,16 +1388,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1389
1388
|
}, {
|
|
1390
1389
|
authConfigCreation: {
|
|
1391
1390
|
required: {
|
|
1392
|
-
name: string;
|
|
1393
1391
|
type: string;
|
|
1392
|
+
name: string;
|
|
1394
1393
|
description: string;
|
|
1395
1394
|
required: boolean;
|
|
1396
1395
|
displayName: string;
|
|
1397
1396
|
default?: string | null | undefined;
|
|
1398
1397
|
}[];
|
|
1399
1398
|
optional: {
|
|
1400
|
-
name: string;
|
|
1401
1399
|
type: string;
|
|
1400
|
+
name: string;
|
|
1402
1401
|
description: string;
|
|
1403
1402
|
required: boolean;
|
|
1404
1403
|
displayName: string;
|
|
@@ -1407,16 +1406,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1407
1406
|
};
|
|
1408
1407
|
connectedAccountInitiation: {
|
|
1409
1408
|
required: {
|
|
1410
|
-
name: string;
|
|
1411
1409
|
type: string;
|
|
1410
|
+
name: string;
|
|
1412
1411
|
description: string;
|
|
1413
1412
|
required: boolean;
|
|
1414
1413
|
displayName: string;
|
|
1415
1414
|
default?: string | null | undefined;
|
|
1416
1415
|
}[];
|
|
1417
1416
|
optional: {
|
|
1418
|
-
name: string;
|
|
1419
1417
|
type: string;
|
|
1418
|
+
name: string;
|
|
1420
1419
|
description: string;
|
|
1421
1420
|
required: boolean;
|
|
1422
1421
|
displayName: string;
|
|
@@ -1437,16 +1436,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1437
1436
|
fields: {
|
|
1438
1437
|
authConfigCreation: {
|
|
1439
1438
|
required: {
|
|
1440
|
-
name: string;
|
|
1441
1439
|
type: string;
|
|
1440
|
+
name: string;
|
|
1442
1441
|
description: string;
|
|
1443
1442
|
required: boolean;
|
|
1444
1443
|
displayName: string;
|
|
1445
1444
|
default?: string | null | undefined;
|
|
1446
1445
|
}[];
|
|
1447
1446
|
optional: {
|
|
1448
|
-
name: string;
|
|
1449
1447
|
type: string;
|
|
1448
|
+
name: string;
|
|
1450
1449
|
description: string;
|
|
1451
1450
|
required: boolean;
|
|
1452
1451
|
displayName: string;
|
|
@@ -1455,16 +1454,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1455
1454
|
};
|
|
1456
1455
|
connectedAccountInitiation: {
|
|
1457
1456
|
required: {
|
|
1458
|
-
name: string;
|
|
1459
1457
|
type: string;
|
|
1458
|
+
name: string;
|
|
1460
1459
|
description: string;
|
|
1461
1460
|
required: boolean;
|
|
1462
1461
|
displayName: string;
|
|
1463
1462
|
default?: string | null | undefined;
|
|
1464
1463
|
}[];
|
|
1465
1464
|
optional: {
|
|
1466
|
-
name: string;
|
|
1467
1465
|
type: string;
|
|
1466
|
+
name: string;
|
|
1468
1467
|
description: string;
|
|
1469
1468
|
required: boolean;
|
|
1470
1469
|
displayName: string;
|
|
@@ -1481,16 +1480,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1481
1480
|
fields: {
|
|
1482
1481
|
authConfigCreation: {
|
|
1483
1482
|
required: {
|
|
1484
|
-
name: string;
|
|
1485
1483
|
type: string;
|
|
1484
|
+
name: string;
|
|
1486
1485
|
description: string;
|
|
1487
1486
|
required: boolean;
|
|
1488
1487
|
displayName: string;
|
|
1489
1488
|
default?: string | null | undefined;
|
|
1490
1489
|
}[];
|
|
1491
1490
|
optional: {
|
|
1492
|
-
name: string;
|
|
1493
1491
|
type: string;
|
|
1492
|
+
name: string;
|
|
1494
1493
|
description: string;
|
|
1495
1494
|
required: boolean;
|
|
1496
1495
|
displayName: string;
|
|
@@ -1499,16 +1498,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1499
1498
|
};
|
|
1500
1499
|
connectedAccountInitiation: {
|
|
1501
1500
|
required: {
|
|
1502
|
-
name: string;
|
|
1503
1501
|
type: string;
|
|
1502
|
+
name: string;
|
|
1504
1503
|
description: string;
|
|
1505
1504
|
required: boolean;
|
|
1506
1505
|
displayName: string;
|
|
1507
1506
|
default?: string | null | undefined;
|
|
1508
1507
|
}[];
|
|
1509
1508
|
optional: {
|
|
1510
|
-
name: string;
|
|
1511
1509
|
type: string;
|
|
1510
|
+
name: string;
|
|
1512
1511
|
description: string;
|
|
1513
1512
|
required: boolean;
|
|
1514
1513
|
displayName: string;
|
|
@@ -1524,17 +1523,17 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1524
1523
|
getCurrentUserEndpoint: z$1.ZodOptional<z$1.ZodString>;
|
|
1525
1524
|
getCurrentUserEndpointMethod: z$1.ZodOptional<z$1.ZodString>;
|
|
1526
1525
|
}, "strip", z$1.ZodTypeAny, {
|
|
1527
|
-
slug: string;
|
|
1528
1526
|
name: string;
|
|
1527
|
+
slug: string;
|
|
1529
1528
|
meta: {
|
|
1529
|
+
createdAt?: string | undefined;
|
|
1530
|
+
updatedAt?: string | undefined;
|
|
1530
1531
|
logo?: string | undefined;
|
|
1531
1532
|
description?: string | undefined;
|
|
1532
1533
|
availableVersions?: string[] | undefined;
|
|
1533
|
-
createdAt?: string | undefined;
|
|
1534
|
-
updatedAt?: string | undefined;
|
|
1535
1534
|
categories?: {
|
|
1536
|
-
slug: string;
|
|
1537
1535
|
name: string;
|
|
1536
|
+
slug: string;
|
|
1538
1537
|
}[] | undefined;
|
|
1539
1538
|
appUrl?: string | undefined;
|
|
1540
1539
|
toolsCount?: number | undefined;
|
|
@@ -1549,16 +1548,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1549
1548
|
fields: {
|
|
1550
1549
|
authConfigCreation: {
|
|
1551
1550
|
required: {
|
|
1552
|
-
name: string;
|
|
1553
1551
|
type: string;
|
|
1552
|
+
name: string;
|
|
1554
1553
|
description: string;
|
|
1555
1554
|
required: boolean;
|
|
1556
1555
|
displayName: string;
|
|
1557
1556
|
default?: string | null | undefined;
|
|
1558
1557
|
}[];
|
|
1559
1558
|
optional: {
|
|
1560
|
-
name: string;
|
|
1561
1559
|
type: string;
|
|
1560
|
+
name: string;
|
|
1562
1561
|
description: string;
|
|
1563
1562
|
required: boolean;
|
|
1564
1563
|
displayName: string;
|
|
@@ -1567,16 +1566,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1567
1566
|
};
|
|
1568
1567
|
connectedAccountInitiation: {
|
|
1569
1568
|
required: {
|
|
1570
|
-
name: string;
|
|
1571
1569
|
type: string;
|
|
1570
|
+
name: string;
|
|
1572
1571
|
description: string;
|
|
1573
1572
|
required: boolean;
|
|
1574
1573
|
displayName: string;
|
|
1575
1574
|
default?: string | null | undefined;
|
|
1576
1575
|
}[];
|
|
1577
1576
|
optional: {
|
|
1578
|
-
name: string;
|
|
1579
1577
|
type: string;
|
|
1578
|
+
name: string;
|
|
1580
1579
|
description: string;
|
|
1581
1580
|
required: boolean;
|
|
1582
1581
|
displayName: string;
|
|
@@ -1591,17 +1590,17 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1591
1590
|
getCurrentUserEndpoint?: string | undefined;
|
|
1592
1591
|
getCurrentUserEndpointMethod?: string | undefined;
|
|
1593
1592
|
}, {
|
|
1594
|
-
slug: string;
|
|
1595
1593
|
name: string;
|
|
1594
|
+
slug: string;
|
|
1596
1595
|
meta: {
|
|
1596
|
+
createdAt?: string | undefined;
|
|
1597
|
+
updatedAt?: string | undefined;
|
|
1597
1598
|
logo?: string | undefined;
|
|
1598
1599
|
description?: string | undefined;
|
|
1599
1600
|
availableVersions?: string[] | undefined;
|
|
1600
|
-
createdAt?: string | undefined;
|
|
1601
|
-
updatedAt?: string | undefined;
|
|
1602
1601
|
categories?: {
|
|
1603
|
-
slug: string;
|
|
1604
1602
|
name: string;
|
|
1603
|
+
slug: string;
|
|
1605
1604
|
}[] | undefined;
|
|
1606
1605
|
appUrl?: string | undefined;
|
|
1607
1606
|
toolsCount?: number | undefined;
|
|
@@ -1616,16 +1615,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1616
1615
|
fields: {
|
|
1617
1616
|
authConfigCreation: {
|
|
1618
1617
|
required: {
|
|
1619
|
-
name: string;
|
|
1620
1618
|
type: string;
|
|
1619
|
+
name: string;
|
|
1621
1620
|
description: string;
|
|
1622
1621
|
required: boolean;
|
|
1623
1622
|
displayName: string;
|
|
1624
1623
|
default?: string | null | undefined;
|
|
1625
1624
|
}[];
|
|
1626
1625
|
optional: {
|
|
1627
|
-
name: string;
|
|
1628
1626
|
type: string;
|
|
1627
|
+
name: string;
|
|
1629
1628
|
description: string;
|
|
1630
1629
|
required: boolean;
|
|
1631
1630
|
displayName: string;
|
|
@@ -1634,16 +1633,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1634
1633
|
};
|
|
1635
1634
|
connectedAccountInitiation: {
|
|
1636
1635
|
required: {
|
|
1637
|
-
name: string;
|
|
1638
1636
|
type: string;
|
|
1637
|
+
name: string;
|
|
1639
1638
|
description: string;
|
|
1640
1639
|
required: boolean;
|
|
1641
1640
|
displayName: string;
|
|
1642
1641
|
default?: string | null | undefined;
|
|
1643
1642
|
}[];
|
|
1644
1643
|
optional: {
|
|
1645
|
-
name: string;
|
|
1646
1644
|
type: string;
|
|
1645
|
+
name: string;
|
|
1647
1646
|
description: string;
|
|
1648
1647
|
required: boolean;
|
|
1649
1648
|
displayName: string;
|
|
@@ -1713,15 +1712,15 @@ declare const ToolkitAuthFieldsResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
1713
1712
|
} & {
|
|
1714
1713
|
required: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
1715
1714
|
}, "strip", z$1.ZodTypeAny, {
|
|
1716
|
-
name: string;
|
|
1717
1715
|
type: string;
|
|
1716
|
+
name: string;
|
|
1718
1717
|
description: string;
|
|
1719
1718
|
displayName: string;
|
|
1720
1719
|
required?: boolean | undefined;
|
|
1721
1720
|
default?: string | null | undefined;
|
|
1722
1721
|
}, {
|
|
1723
|
-
name: string;
|
|
1724
1722
|
type: string;
|
|
1723
|
+
name: string;
|
|
1725
1724
|
description: string;
|
|
1726
1725
|
displayName: string;
|
|
1727
1726
|
required?: boolean | undefined;
|
|
@@ -1968,13 +1967,13 @@ declare const CreateAuthConfigResponseSchema: z$1.ZodObject<{
|
|
|
1968
1967
|
toolkit: z$1.ZodString;
|
|
1969
1968
|
}, "strip", z$1.ZodTypeAny, {
|
|
1970
1969
|
toolkit: string;
|
|
1971
|
-
authScheme: string;
|
|
1972
1970
|
id: string;
|
|
1971
|
+
authScheme: string;
|
|
1973
1972
|
isComposioManaged: boolean;
|
|
1974
1973
|
}, {
|
|
1975
1974
|
toolkit: string;
|
|
1976
|
-
authScheme: string;
|
|
1977
1975
|
id: string;
|
|
1976
|
+
authScheme: string;
|
|
1978
1977
|
isComposioManaged: boolean;
|
|
1979
1978
|
}>;
|
|
1980
1979
|
type CreateAuthConfigResponse = z$1.infer<typeof CreateAuthConfigResponseSchema>;
|
|
@@ -2016,16 +2015,16 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2016
2015
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2017
2016
|
}>>;
|
|
2018
2017
|
}, "strip", z$1.ZodTypeAny, {
|
|
2019
|
-
name: string;
|
|
2020
|
-
status: "ENABLED" | "DISABLED";
|
|
2021
2018
|
toolkit: {
|
|
2022
2019
|
slug: string;
|
|
2023
2020
|
logo: string;
|
|
2024
2021
|
};
|
|
2022
|
+
status: "ENABLED" | "DISABLED";
|
|
2023
|
+
name: string;
|
|
2025
2024
|
id: string;
|
|
2026
2025
|
noOfConnections: number;
|
|
2027
|
-
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;
|
|
2028
2026
|
createdAt?: string | undefined;
|
|
2027
|
+
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;
|
|
2029
2028
|
credentials?: Record<string, unknown> | undefined;
|
|
2030
2029
|
toolAccessConfig?: {
|
|
2031
2030
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2038,16 +2037,16 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2038
2037
|
createdBy?: string | undefined;
|
|
2039
2038
|
lastUpdatedAt?: string | undefined;
|
|
2040
2039
|
}, {
|
|
2041
|
-
name: string;
|
|
2042
|
-
status: "ENABLED" | "DISABLED";
|
|
2043
2040
|
toolkit: {
|
|
2044
2041
|
slug: string;
|
|
2045
2042
|
logo: string;
|
|
2046
2043
|
};
|
|
2044
|
+
status: "ENABLED" | "DISABLED";
|
|
2045
|
+
name: string;
|
|
2047
2046
|
id: string;
|
|
2048
2047
|
noOfConnections: number;
|
|
2049
|
-
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;
|
|
2050
2048
|
createdAt?: string | undefined;
|
|
2049
|
+
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;
|
|
2051
2050
|
credentials?: Record<string, unknown> | undefined;
|
|
2052
2051
|
toolAccessConfig?: {
|
|
2053
2052
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2070,16 +2069,16 @@ declare const AuthConfigListParamsSchema: z$1.ZodObject<{
|
|
|
2070
2069
|
toolkit: z$1.ZodOptional<z$1.ZodString>;
|
|
2071
2070
|
}, "strip", z$1.ZodTypeAny, {
|
|
2072
2071
|
toolkit?: string | undefined;
|
|
2072
|
+
cursor?: string | undefined;
|
|
2073
2073
|
limit?: number | undefined;
|
|
2074
2074
|
search?: string | undefined;
|
|
2075
|
-
cursor?: string | undefined;
|
|
2076
2075
|
isComposioManaged?: boolean | undefined;
|
|
2077
2076
|
showDisabled?: boolean | undefined;
|
|
2078
2077
|
}, {
|
|
2079
2078
|
toolkit?: string | undefined;
|
|
2079
|
+
cursor?: string | undefined;
|
|
2080
2080
|
limit?: number | undefined;
|
|
2081
2081
|
search?: string | undefined;
|
|
2082
|
-
cursor?: string | undefined;
|
|
2083
2082
|
isComposioManaged?: boolean | undefined;
|
|
2084
2083
|
showDisabled?: boolean | undefined;
|
|
2085
2084
|
}>;
|
|
@@ -2123,16 +2122,16 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2123
2122
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2124
2123
|
}>>;
|
|
2125
2124
|
}, "strip", z$1.ZodTypeAny, {
|
|
2126
|
-
name: string;
|
|
2127
|
-
status: "ENABLED" | "DISABLED";
|
|
2128
2125
|
toolkit: {
|
|
2129
2126
|
slug: string;
|
|
2130
2127
|
logo: string;
|
|
2131
2128
|
};
|
|
2129
|
+
status: "ENABLED" | "DISABLED";
|
|
2130
|
+
name: string;
|
|
2132
2131
|
id: string;
|
|
2133
2132
|
noOfConnections: number;
|
|
2134
|
-
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;
|
|
2135
2133
|
createdAt?: string | undefined;
|
|
2134
|
+
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;
|
|
2136
2135
|
credentials?: Record<string, unknown> | undefined;
|
|
2137
2136
|
toolAccessConfig?: {
|
|
2138
2137
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2145,16 +2144,16 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2145
2144
|
createdBy?: string | undefined;
|
|
2146
2145
|
lastUpdatedAt?: string | undefined;
|
|
2147
2146
|
}, {
|
|
2148
|
-
name: string;
|
|
2149
|
-
status: "ENABLED" | "DISABLED";
|
|
2150
2147
|
toolkit: {
|
|
2151
2148
|
slug: string;
|
|
2152
2149
|
logo: string;
|
|
2153
2150
|
};
|
|
2151
|
+
status: "ENABLED" | "DISABLED";
|
|
2152
|
+
name: string;
|
|
2154
2153
|
id: string;
|
|
2155
2154
|
noOfConnections: number;
|
|
2156
|
-
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;
|
|
2157
2155
|
createdAt?: string | undefined;
|
|
2156
|
+
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;
|
|
2158
2157
|
credentials?: Record<string, unknown> | undefined;
|
|
2159
2158
|
toolAccessConfig?: {
|
|
2160
2159
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2171,16 +2170,16 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2171
2170
|
totalPages: z$1.ZodNumber;
|
|
2172
2171
|
}, "strip", z$1.ZodTypeAny, {
|
|
2173
2172
|
items: {
|
|
2174
|
-
name: string;
|
|
2175
|
-
status: "ENABLED" | "DISABLED";
|
|
2176
2173
|
toolkit: {
|
|
2177
2174
|
slug: string;
|
|
2178
2175
|
logo: string;
|
|
2179
2176
|
};
|
|
2177
|
+
status: "ENABLED" | "DISABLED";
|
|
2178
|
+
name: string;
|
|
2180
2179
|
id: string;
|
|
2181
2180
|
noOfConnections: number;
|
|
2182
|
-
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;
|
|
2183
2181
|
createdAt?: string | undefined;
|
|
2182
|
+
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;
|
|
2184
2183
|
credentials?: Record<string, unknown> | undefined;
|
|
2185
2184
|
toolAccessConfig?: {
|
|
2186
2185
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2197,16 +2196,16 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2197
2196
|
totalPages: number;
|
|
2198
2197
|
}, {
|
|
2199
2198
|
items: {
|
|
2200
|
-
name: string;
|
|
2201
|
-
status: "ENABLED" | "DISABLED";
|
|
2202
2199
|
toolkit: {
|
|
2203
2200
|
slug: string;
|
|
2204
2201
|
logo: string;
|
|
2205
2202
|
};
|
|
2203
|
+
status: "ENABLED" | "DISABLED";
|
|
2204
|
+
name: string;
|
|
2206
2205
|
id: string;
|
|
2207
2206
|
noOfConnections: number;
|
|
2208
|
-
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;
|
|
2209
2207
|
createdAt?: string | undefined;
|
|
2208
|
+
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;
|
|
2210
2209
|
credentials?: Record<string, unknown> | undefined;
|
|
2211
2210
|
toolAccessConfig?: {
|
|
2212
2211
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
@@ -2485,9 +2484,7 @@ declare class Toolkits {
|
|
|
2485
2484
|
* @param options.requiredOnly - Whether to only return the required fields
|
|
2486
2485
|
* @returns {Promise<ToolkitAuthFieldsResponse>} The fields required for creating an auth config
|
|
2487
2486
|
*/
|
|
2488
|
-
getAuthConfigCreationFields(toolkitSlug: string, authScheme: AuthSchemeType, {
|
|
2489
|
-
requiredOnly
|
|
2490
|
-
}?: {
|
|
2487
|
+
getAuthConfigCreationFields(toolkitSlug: string, authScheme: AuthSchemeType, { requiredOnly }?: {
|
|
2491
2488
|
requiredOnly?: boolean;
|
|
2492
2489
|
}): Promise<ToolkitAuthFieldsResponse>;
|
|
2493
2490
|
/**
|
|
@@ -2497,9 +2494,7 @@ declare class Toolkits {
|
|
|
2497
2494
|
* @param options.requiredOnly - Whether to only return the required fields
|
|
2498
2495
|
* @returns {Promise<ToolkitAuthFieldsResponse>} The fields required for initiating a connected account
|
|
2499
2496
|
*/
|
|
2500
|
-
getConnectedAccountInitiationFields(toolkitSlug: string, authScheme: AuthSchemeType, {
|
|
2501
|
-
requiredOnly
|
|
2502
|
-
}?: {
|
|
2497
|
+
getConnectedAccountInitiationFields(toolkitSlug: string, authScheme: AuthSchemeType, { requiredOnly }?: {
|
|
2503
2498
|
requiredOnly?: boolean;
|
|
2504
2499
|
}): Promise<ToolkitAuthFieldsResponse>;
|
|
2505
2500
|
/**
|
|
@@ -2550,18 +2545,18 @@ declare const TriggerSubscribeParamSchema: z$1.ZodObject<{
|
|
|
2550
2545
|
triggerData: z$1.ZodOptional<z$1.ZodString>;
|
|
2551
2546
|
userId: z$1.ZodOptional<z$1.ZodString>;
|
|
2552
2547
|
}, "strip", z$1.ZodTypeAny, {
|
|
2548
|
+
authConfigId?: string | undefined;
|
|
2549
|
+
userId?: string | undefined;
|
|
2553
2550
|
toolkits?: string[] | undefined;
|
|
2554
2551
|
connectedAccountId?: string | undefined;
|
|
2555
|
-
userId?: string | undefined;
|
|
2556
|
-
authConfigId?: string | undefined;
|
|
2557
2552
|
triggerId?: string | undefined;
|
|
2558
2553
|
triggerSlug?: string[] | undefined;
|
|
2559
2554
|
triggerData?: string | undefined;
|
|
2560
2555
|
}, {
|
|
2556
|
+
authConfigId?: string | undefined;
|
|
2557
|
+
userId?: string | undefined;
|
|
2561
2558
|
toolkits?: string[] | undefined;
|
|
2562
2559
|
connectedAccountId?: string | undefined;
|
|
2563
|
-
userId?: string | undefined;
|
|
2564
|
-
authConfigId?: string | undefined;
|
|
2565
2560
|
triggerId?: string | undefined;
|
|
2566
2561
|
triggerSlug?: string[] | undefined;
|
|
2567
2562
|
triggerData?: string | undefined;
|
|
@@ -2576,18 +2571,18 @@ declare const TriggerInstanceListActiveParamsSchema: z$1.ZodObject<{
|
|
|
2576
2571
|
triggerIds: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
|
|
2577
2572
|
triggerNames: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
|
|
2578
2573
|
}, "strip", z$1.ZodTypeAny, {
|
|
2579
|
-
limit?: number | undefined;
|
|
2580
|
-
authConfigIds?: string[] | null | undefined;
|
|
2581
2574
|
connectedAccountIds?: string[] | null | undefined;
|
|
2575
|
+
authConfigIds?: string[] | null | undefined;
|
|
2582
2576
|
cursor?: string | undefined;
|
|
2577
|
+
limit?: number | undefined;
|
|
2583
2578
|
showDisabled?: boolean | null | undefined;
|
|
2584
2579
|
triggerIds?: string[] | null | undefined;
|
|
2585
2580
|
triggerNames?: string[] | null | undefined;
|
|
2586
2581
|
}, {
|
|
2587
|
-
limit?: number | undefined;
|
|
2588
|
-
authConfigIds?: string[] | null | undefined;
|
|
2589
2582
|
connectedAccountIds?: string[] | null | undefined;
|
|
2583
|
+
authConfigIds?: string[] | null | undefined;
|
|
2590
2584
|
cursor?: string | undefined;
|
|
2585
|
+
limit?: number | undefined;
|
|
2591
2586
|
showDisabled?: boolean | null | undefined;
|
|
2592
2587
|
triggerIds?: string[] | null | undefined;
|
|
2593
2588
|
triggerNames?: string[] | null | undefined;
|
|
@@ -2604,9 +2599,9 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
|
|
|
2604
2599
|
triggerData: z$1.ZodOptional<z$1.ZodString>;
|
|
2605
2600
|
uuid: z$1.ZodOptional<z$1.ZodString>;
|
|
2606
2601
|
}, "strip", z$1.ZodTypeAny, {
|
|
2607
|
-
connectedAccountId: string;
|
|
2608
2602
|
id: string;
|
|
2609
2603
|
updatedAt: string;
|
|
2604
|
+
connectedAccountId: string;
|
|
2610
2605
|
disabledAt: string | null;
|
|
2611
2606
|
state: Record<string, unknown>;
|
|
2612
2607
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2614,9 +2609,9 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
|
|
|
2614
2609
|
uuid?: string | undefined;
|
|
2615
2610
|
triggerData?: string | undefined;
|
|
2616
2611
|
}, {
|
|
2617
|
-
connectedAccountId: string;
|
|
2618
2612
|
id: string;
|
|
2619
2613
|
updatedAt: string;
|
|
2614
|
+
connectedAccountId: string;
|
|
2620
2615
|
disabledAt: string | null;
|
|
2621
2616
|
state: Record<string, unknown>;
|
|
2622
2617
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2636,9 +2631,9 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
2636
2631
|
triggerData: z$1.ZodOptional<z$1.ZodString>;
|
|
2637
2632
|
uuid: z$1.ZodOptional<z$1.ZodString>;
|
|
2638
2633
|
}, "strip", z$1.ZodTypeAny, {
|
|
2639
|
-
connectedAccountId: string;
|
|
2640
2634
|
id: string;
|
|
2641
2635
|
updatedAt: string;
|
|
2636
|
+
connectedAccountId: string;
|
|
2642
2637
|
disabledAt: string | null;
|
|
2643
2638
|
state: Record<string, unknown>;
|
|
2644
2639
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2646,9 +2641,9 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
2646
2641
|
uuid?: string | undefined;
|
|
2647
2642
|
triggerData?: string | undefined;
|
|
2648
2643
|
}, {
|
|
2649
|
-
connectedAccountId: string;
|
|
2650
2644
|
id: string;
|
|
2651
2645
|
updatedAt: string;
|
|
2646
|
+
connectedAccountId: string;
|
|
2652
2647
|
disabledAt: string | null;
|
|
2653
2648
|
state: Record<string, unknown>;
|
|
2654
2649
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2660,9 +2655,9 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
2660
2655
|
totalPages: z$1.ZodNumber;
|
|
2661
2656
|
}, "strip", z$1.ZodTypeAny, {
|
|
2662
2657
|
items: {
|
|
2663
|
-
connectedAccountId: string;
|
|
2664
2658
|
id: string;
|
|
2665
2659
|
updatedAt: string;
|
|
2660
|
+
connectedAccountId: string;
|
|
2666
2661
|
disabledAt: string | null;
|
|
2667
2662
|
state: Record<string, unknown>;
|
|
2668
2663
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2674,9 +2669,9 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
2674
2669
|
totalPages: number;
|
|
2675
2670
|
}, {
|
|
2676
2671
|
items: {
|
|
2677
|
-
connectedAccountId: string;
|
|
2678
2672
|
id: string;
|
|
2679
2673
|
updatedAt: string;
|
|
2674
|
+
connectedAccountId: string;
|
|
2680
2675
|
disabledAt: string | null;
|
|
2681
2676
|
state: Record<string, unknown>;
|
|
2682
2677
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2755,28 +2750,28 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
2755
2750
|
userId: z$1.ZodString;
|
|
2756
2751
|
status: z$1.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
2757
2752
|
}, "strip", z$1.ZodTypeAny, {
|
|
2753
|
+
authConfigId: string;
|
|
2758
2754
|
status: "ACTIVE" | "INACTIVE";
|
|
2759
2755
|
userId: string;
|
|
2760
|
-
authConfigId: string;
|
|
2761
2756
|
uuid: string;
|
|
2762
2757
|
id: string;
|
|
2763
2758
|
authConfigUUID: string;
|
|
2764
2759
|
}, {
|
|
2760
|
+
authConfigId: string;
|
|
2765
2761
|
status: "ACTIVE" | "INACTIVE";
|
|
2766
2762
|
userId: string;
|
|
2767
|
-
authConfigId: string;
|
|
2768
2763
|
uuid: string;
|
|
2769
2764
|
id: string;
|
|
2770
2765
|
authConfigUUID: string;
|
|
2771
2766
|
}>;
|
|
2772
2767
|
}, "strip", z$1.ZodTypeAny, {
|
|
2773
|
-
toolkitSlug: string;
|
|
2774
2768
|
uuid: string;
|
|
2775
2769
|
id: string;
|
|
2770
|
+
toolkitSlug: string;
|
|
2776
2771
|
connectedAccount: {
|
|
2772
|
+
authConfigId: string;
|
|
2777
2773
|
status: "ACTIVE" | "INACTIVE";
|
|
2778
2774
|
userId: string;
|
|
2779
|
-
authConfigId: string;
|
|
2780
2775
|
uuid: string;
|
|
2781
2776
|
id: string;
|
|
2782
2777
|
authConfigUUID: string;
|
|
@@ -2785,13 +2780,13 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
2785
2780
|
triggerConfig: Record<string, unknown>;
|
|
2786
2781
|
triggerData?: string | undefined;
|
|
2787
2782
|
}, {
|
|
2788
|
-
toolkitSlug: string;
|
|
2789
2783
|
uuid: string;
|
|
2790
2784
|
id: string;
|
|
2785
|
+
toolkitSlug: string;
|
|
2791
2786
|
connectedAccount: {
|
|
2787
|
+
authConfigId: string;
|
|
2792
2788
|
status: "ACTIVE" | "INACTIVE";
|
|
2793
2789
|
userId: string;
|
|
2794
|
-
authConfigId: string;
|
|
2795
2790
|
uuid: string;
|
|
2796
2791
|
id: string;
|
|
2797
2792
|
authConfigUUID: string;
|
|
@@ -2801,19 +2796,19 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
2801
2796
|
triggerData?: string | undefined;
|
|
2802
2797
|
}>;
|
|
2803
2798
|
}, "strip", z$1.ZodTypeAny, {
|
|
2804
|
-
toolkitSlug: string;
|
|
2805
2799
|
userId: string;
|
|
2806
2800
|
uuid: string;
|
|
2807
2801
|
id: string;
|
|
2802
|
+
toolkitSlug: string;
|
|
2808
2803
|
triggerSlug: string;
|
|
2809
2804
|
metadata: {
|
|
2810
|
-
toolkitSlug: string;
|
|
2811
2805
|
uuid: string;
|
|
2812
2806
|
id: string;
|
|
2807
|
+
toolkitSlug: string;
|
|
2813
2808
|
connectedAccount: {
|
|
2809
|
+
authConfigId: string;
|
|
2814
2810
|
status: "ACTIVE" | "INACTIVE";
|
|
2815
2811
|
userId: string;
|
|
2816
|
-
authConfigId: string;
|
|
2817
2812
|
uuid: string;
|
|
2818
2813
|
id: string;
|
|
2819
2814
|
authConfigUUID: string;
|
|
@@ -2825,19 +2820,19 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
2825
2820
|
payload?: Record<string, unknown> | undefined;
|
|
2826
2821
|
originalPayload?: Record<string, unknown> | undefined;
|
|
2827
2822
|
}, {
|
|
2828
|
-
toolkitSlug: string;
|
|
2829
2823
|
userId: string;
|
|
2830
2824
|
uuid: string;
|
|
2831
2825
|
id: string;
|
|
2826
|
+
toolkitSlug: string;
|
|
2832
2827
|
triggerSlug: string;
|
|
2833
2828
|
metadata: {
|
|
2834
|
-
toolkitSlug: string;
|
|
2835
2829
|
uuid: string;
|
|
2836
2830
|
id: string;
|
|
2831
|
+
toolkitSlug: string;
|
|
2837
2832
|
connectedAccount: {
|
|
2833
|
+
authConfigId: string;
|
|
2838
2834
|
status: "ACTIVE" | "INACTIVE";
|
|
2839
2835
|
userId: string;
|
|
2840
|
-
authConfigId: string;
|
|
2841
2836
|
uuid: string;
|
|
2842
2837
|
id: string;
|
|
2843
2838
|
authConfigUUID: string;
|
|
@@ -2877,12 +2872,12 @@ declare const TriggersTypeListParamsSchema: z$1.ZodObject<{
|
|
|
2877
2872
|
toolkits: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
|
|
2878
2873
|
}, "strip", z$1.ZodTypeAny, {
|
|
2879
2874
|
toolkits?: string[] | null | undefined;
|
|
2880
|
-
limit?: number | null | undefined;
|
|
2881
2875
|
cursor?: string | undefined;
|
|
2876
|
+
limit?: number | null | undefined;
|
|
2882
2877
|
}, {
|
|
2883
2878
|
toolkits?: string[] | null | undefined;
|
|
2884
|
-
limit?: number | null | undefined;
|
|
2885
2879
|
cursor?: string | undefined;
|
|
2880
|
+
limit?: number | null | undefined;
|
|
2886
2881
|
}>;
|
|
2887
2882
|
type TriggersTypeListParams = z$1.infer<typeof TriggersTypeListParamsSchema>;
|
|
2888
2883
|
declare const TriggerTypeSchema: z$1.ZodObject<{
|
|
@@ -2895,40 +2890,40 @@ declare const TriggerTypeSchema: z$1.ZodObject<{
|
|
|
2895
2890
|
slug: z$1.ZodString;
|
|
2896
2891
|
name: z$1.ZodString;
|
|
2897
2892
|
}, "strip", z$1.ZodTypeAny, {
|
|
2898
|
-
slug: string;
|
|
2899
2893
|
name: string;
|
|
2894
|
+
slug: string;
|
|
2900
2895
|
logo: string;
|
|
2901
2896
|
}, {
|
|
2902
|
-
slug: string;
|
|
2903
2897
|
name: string;
|
|
2898
|
+
slug: string;
|
|
2904
2899
|
logo: string;
|
|
2905
2900
|
}>;
|
|
2906
2901
|
payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
2907
2902
|
config: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
2908
2903
|
version: z$1.ZodOptional<z$1.ZodString>;
|
|
2909
2904
|
}, "strip", z$1.ZodTypeAny, {
|
|
2910
|
-
slug: string;
|
|
2911
|
-
name: string;
|
|
2912
|
-
description: string;
|
|
2913
2905
|
toolkit: {
|
|
2914
|
-
slug: string;
|
|
2915
2906
|
name: string;
|
|
2907
|
+
slug: string;
|
|
2916
2908
|
logo: string;
|
|
2917
2909
|
};
|
|
2910
|
+
name: string;
|
|
2918
2911
|
config: Record<string, unknown>;
|
|
2912
|
+
slug: string;
|
|
2913
|
+
description: string;
|
|
2919
2914
|
payload: Record<string, unknown>;
|
|
2920
2915
|
version?: string | undefined;
|
|
2921
2916
|
instructions?: string | undefined;
|
|
2922
2917
|
}, {
|
|
2923
|
-
slug: string;
|
|
2924
|
-
name: string;
|
|
2925
|
-
description: string;
|
|
2926
2918
|
toolkit: {
|
|
2927
|
-
slug: string;
|
|
2928
2919
|
name: string;
|
|
2920
|
+
slug: string;
|
|
2929
2921
|
logo: string;
|
|
2930
2922
|
};
|
|
2923
|
+
name: string;
|
|
2931
2924
|
config: Record<string, unknown>;
|
|
2925
|
+
slug: string;
|
|
2926
|
+
description: string;
|
|
2932
2927
|
payload: Record<string, unknown>;
|
|
2933
2928
|
version?: string | undefined;
|
|
2934
2929
|
instructions?: string | undefined;
|
|
@@ -2945,40 +2940,40 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
2945
2940
|
slug: z$1.ZodString;
|
|
2946
2941
|
name: z$1.ZodString;
|
|
2947
2942
|
}, "strip", z$1.ZodTypeAny, {
|
|
2948
|
-
slug: string;
|
|
2949
2943
|
name: string;
|
|
2944
|
+
slug: string;
|
|
2950
2945
|
logo: string;
|
|
2951
2946
|
}, {
|
|
2952
|
-
slug: string;
|
|
2953
2947
|
name: string;
|
|
2948
|
+
slug: string;
|
|
2954
2949
|
logo: string;
|
|
2955
2950
|
}>;
|
|
2956
2951
|
payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
2957
2952
|
config: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
2958
2953
|
version: z$1.ZodOptional<z$1.ZodString>;
|
|
2959
2954
|
}, "strip", z$1.ZodTypeAny, {
|
|
2960
|
-
slug: string;
|
|
2961
|
-
name: string;
|
|
2962
|
-
description: string;
|
|
2963
2955
|
toolkit: {
|
|
2964
|
-
slug: string;
|
|
2965
2956
|
name: string;
|
|
2957
|
+
slug: string;
|
|
2966
2958
|
logo: string;
|
|
2967
2959
|
};
|
|
2960
|
+
name: string;
|
|
2968
2961
|
config: Record<string, unknown>;
|
|
2962
|
+
slug: string;
|
|
2963
|
+
description: string;
|
|
2969
2964
|
payload: Record<string, unknown>;
|
|
2970
2965
|
version?: string | undefined;
|
|
2971
2966
|
instructions?: string | undefined;
|
|
2972
2967
|
}, {
|
|
2973
|
-
slug: string;
|
|
2974
|
-
name: string;
|
|
2975
|
-
description: string;
|
|
2976
2968
|
toolkit: {
|
|
2977
|
-
slug: string;
|
|
2978
2969
|
name: string;
|
|
2970
|
+
slug: string;
|
|
2979
2971
|
logo: string;
|
|
2980
2972
|
};
|
|
2973
|
+
name: string;
|
|
2981
2974
|
config: Record<string, unknown>;
|
|
2975
|
+
slug: string;
|
|
2976
|
+
description: string;
|
|
2982
2977
|
payload: Record<string, unknown>;
|
|
2983
2978
|
version?: string | undefined;
|
|
2984
2979
|
instructions?: string | undefined;
|
|
@@ -2987,15 +2982,15 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
2987
2982
|
totalPages: z$1.ZodNumber;
|
|
2988
2983
|
}, "strip", z$1.ZodTypeAny, {
|
|
2989
2984
|
items: {
|
|
2990
|
-
slug: string;
|
|
2991
|
-
name: string;
|
|
2992
|
-
description: string;
|
|
2993
2985
|
toolkit: {
|
|
2994
|
-
slug: string;
|
|
2995
2986
|
name: string;
|
|
2987
|
+
slug: string;
|
|
2996
2988
|
logo: string;
|
|
2997
2989
|
};
|
|
2990
|
+
name: string;
|
|
2998
2991
|
config: Record<string, unknown>;
|
|
2992
|
+
slug: string;
|
|
2993
|
+
description: string;
|
|
2999
2994
|
payload: Record<string, unknown>;
|
|
3000
2995
|
version?: string | undefined;
|
|
3001
2996
|
instructions?: string | undefined;
|
|
@@ -3004,15 +2999,15 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
3004
2999
|
nextCursor?: string | null | undefined;
|
|
3005
3000
|
}, {
|
|
3006
3001
|
items: {
|
|
3007
|
-
slug: string;
|
|
3008
|
-
name: string;
|
|
3009
|
-
description: string;
|
|
3010
3002
|
toolkit: {
|
|
3011
|
-
slug: string;
|
|
3012
3003
|
name: string;
|
|
3004
|
+
slug: string;
|
|
3013
3005
|
logo: string;
|
|
3014
3006
|
};
|
|
3007
|
+
name: string;
|
|
3015
3008
|
config: Record<string, unknown>;
|
|
3009
|
+
slug: string;
|
|
3010
|
+
description: string;
|
|
3016
3011
|
payload: Record<string, unknown>;
|
|
3017
3012
|
version?: string | undefined;
|
|
3018
3013
|
instructions?: string | undefined;
|
|
@@ -3126,14 +3121,14 @@ declare const WebhookPayloadV3Schema: z$1.ZodObject<{
|
|
|
3126
3121
|
data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
3127
3122
|
}, "strip", z$1.ZodTypeAny, {
|
|
3128
3123
|
type: string;
|
|
3129
|
-
data: Record<string, unknown>;
|
|
3130
3124
|
id: string;
|
|
3125
|
+
data: Record<string, unknown>;
|
|
3131
3126
|
metadata: Record<string, unknown>;
|
|
3132
3127
|
timestamp: string;
|
|
3133
3128
|
}, {
|
|
3134
3129
|
type: string;
|
|
3135
|
-
data: Record<string, unknown>;
|
|
3136
3130
|
id: string;
|
|
3131
|
+
data: Record<string, unknown>;
|
|
3137
3132
|
metadata: Record<string, unknown>;
|
|
3138
3133
|
timestamp: string;
|
|
3139
3134
|
}>;
|
|
@@ -3168,8 +3163,8 @@ declare const WebhookTriggerPayloadV3Schema: z$1.ZodObject<{
|
|
|
3168
3163
|
data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
3169
3164
|
}, "strip", z$1.ZodTypeAny, {
|
|
3170
3165
|
type: string;
|
|
3171
|
-
data: Record<string, unknown>;
|
|
3172
3166
|
id: string;
|
|
3167
|
+
data: Record<string, unknown>;
|
|
3173
3168
|
metadata: {
|
|
3174
3169
|
trigger_id: string;
|
|
3175
3170
|
log_id: string;
|
|
@@ -3183,8 +3178,8 @@ declare const WebhookTriggerPayloadV3Schema: z$1.ZodObject<{
|
|
|
3183
3178
|
timestamp: string;
|
|
3184
3179
|
}, {
|
|
3185
3180
|
type: string;
|
|
3186
|
-
data: Record<string, unknown>;
|
|
3187
3181
|
id: string;
|
|
3182
|
+
data: Record<string, unknown>;
|
|
3188
3183
|
metadata: {
|
|
3189
3184
|
trigger_id: string;
|
|
3190
3185
|
log_id: string;
|
|
@@ -3207,14 +3202,14 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
|
|
|
3207
3202
|
data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
3208
3203
|
}, "strip", z$1.ZodTypeAny, {
|
|
3209
3204
|
type: string;
|
|
3210
|
-
data: Record<string, unknown>;
|
|
3211
3205
|
id: string;
|
|
3206
|
+
data: Record<string, unknown>;
|
|
3212
3207
|
metadata: Record<string, unknown>;
|
|
3213
3208
|
timestamp: string;
|
|
3214
3209
|
}, {
|
|
3215
3210
|
type: string;
|
|
3216
|
-
data: Record<string, unknown>;
|
|
3217
3211
|
id: string;
|
|
3212
|
+
data: Record<string, unknown>;
|
|
3218
3213
|
metadata: Record<string, unknown>;
|
|
3219
3214
|
timestamp: string;
|
|
3220
3215
|
}>, z$1.ZodObject<{
|
|
@@ -3295,8 +3290,11 @@ declare const WebhookVersions: {
|
|
|
3295
3290
|
type WebhookVersion = (typeof WebhookVersions)[keyof typeof WebhookVersions];
|
|
3296
3291
|
declare const DefaultWebhookSubscriptionEvents: readonly ["composio.trigger.message"];
|
|
3297
3292
|
declare const SetWebhookSubscriptionParamsSchema: z$1.ZodObject<{
|
|
3298
|
-
/** HTTPS URL to receive webhook events. */
|
|
3299
|
-
|
|
3293
|
+
/** HTTPS URL to receive webhook events. */
|
|
3294
|
+
webhookUrl: z$1.ZodString;
|
|
3295
|
+
/** Event types to subscribe to. Defaults to trigger messages. */
|
|
3296
|
+
enabledEvents: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
3297
|
+
/** Webhook payload version. Defaults to V3. */
|
|
3300
3298
|
version: z$1.ZodOptional<z$1.ZodEnum<["V1", "V2", "V3"]>>;
|
|
3301
3299
|
}, "strip", z$1.ZodTypeAny, {
|
|
3302
3300
|
webhookUrl: string;
|
|
@@ -3325,8 +3323,10 @@ declare const VerifyWebhookParamsSchema: z$1.ZodObject<{
|
|
|
3325
3323
|
* The webhook message ID from the 'webhook-id' header.
|
|
3326
3324
|
* Format: 'msg_xxx'
|
|
3327
3325
|
*/
|
|
3328
|
-
id: z$1.ZodString;
|
|
3329
|
-
|
|
3326
|
+
id: z$1.ZodString;
|
|
3327
|
+
/** The raw webhook payload as a string (request body) */
|
|
3328
|
+
payload: z$1.ZodString;
|
|
3329
|
+
/** The webhook secret used to sign the payload (from Composio dashboard) */
|
|
3330
3330
|
secret: z$1.ZodString;
|
|
3331
3331
|
/**
|
|
3332
3332
|
* The signature from the 'webhook-signature' header.
|
|
@@ -3397,8 +3397,11 @@ type ParseWebhookOptions = {
|
|
|
3397
3397
|
* Contains the parsed payload along with version information.
|
|
3398
3398
|
*/
|
|
3399
3399
|
type VerifyWebhookResult = {
|
|
3400
|
-
/** The webhook version (V1, V2, or V3), from 'x-composio-webhook-version' */
|
|
3401
|
-
|
|
3400
|
+
/** The webhook version (V1, V2, or V3), from 'x-composio-webhook-version' */
|
|
3401
|
+
version: WebhookVersion;
|
|
3402
|
+
/** The parsed and normalized webhook payload */
|
|
3403
|
+
payload: IncomingTriggerPayload;
|
|
3404
|
+
/** The raw parsed payload before normalization */
|
|
3402
3405
|
rawPayload: WebhookPayload;
|
|
3403
3406
|
};
|
|
3404
3407
|
//#endregion
|
|
@@ -4302,19 +4305,19 @@ declare const MCPServerInstanceSchema: z.ZodObject<{
|
|
|
4302
4305
|
allowedTools: z.ZodArray<z.ZodString, "many">;
|
|
4303
4306
|
authConfigs: z.ZodArray<z.ZodString, "many">;
|
|
4304
4307
|
}, "strip", z.ZodTypeAny, {
|
|
4305
|
-
name: string;
|
|
4306
4308
|
type: "streamable_http";
|
|
4307
|
-
userId: string;
|
|
4308
4309
|
allowedTools: string[];
|
|
4310
|
+
userId: string;
|
|
4309
4311
|
url: string;
|
|
4312
|
+
name: string;
|
|
4310
4313
|
id: string;
|
|
4311
4314
|
authConfigs: string[];
|
|
4312
4315
|
}, {
|
|
4313
|
-
name: string;
|
|
4314
4316
|
type: "streamable_http";
|
|
4315
|
-
userId: string;
|
|
4316
4317
|
allowedTools: string[];
|
|
4318
|
+
userId: string;
|
|
4317
4319
|
url: string;
|
|
4320
|
+
name: string;
|
|
4318
4321
|
id: string;
|
|
4319
4322
|
authConfigs: string[];
|
|
4320
4323
|
}>;
|
|
@@ -4395,10 +4398,10 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
|
|
|
4395
4398
|
*/
|
|
4396
4399
|
MCPUrl: z.ZodString;
|
|
4397
4400
|
}, "strip", z.ZodTypeAny, {
|
|
4398
|
-
name: string;
|
|
4399
|
-
authConfigIds: string[];
|
|
4400
4401
|
allowedTools: string[];
|
|
4402
|
+
name: string;
|
|
4401
4403
|
id: string;
|
|
4404
|
+
authConfigIds: string[];
|
|
4402
4405
|
commands: {
|
|
4403
4406
|
claude: string;
|
|
4404
4407
|
cursor: string;
|
|
@@ -4406,10 +4409,10 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
|
|
|
4406
4409
|
};
|
|
4407
4410
|
MCPUrl: string;
|
|
4408
4411
|
}, {
|
|
4409
|
-
name: string;
|
|
4410
|
-
authConfigIds: string[];
|
|
4411
4412
|
allowedTools: string[];
|
|
4413
|
+
name: string;
|
|
4412
4414
|
id: string;
|
|
4415
|
+
authConfigIds: string[];
|
|
4413
4416
|
commands: {
|
|
4414
4417
|
claude: string;
|
|
4415
4418
|
cursor: string;
|
|
@@ -4442,15 +4445,15 @@ declare const MCPListParamsSchema: z.ZodObject<{
|
|
|
4442
4445
|
name: z.ZodOptional<z.ZodString>;
|
|
4443
4446
|
}, "strip", z.ZodTypeAny, {
|
|
4444
4447
|
toolkits: string[];
|
|
4445
|
-
limit: number;
|
|
4446
4448
|
page: number;
|
|
4449
|
+
limit: number;
|
|
4447
4450
|
authConfigs: string[];
|
|
4448
4451
|
name?: string | undefined;
|
|
4449
4452
|
}, {
|
|
4450
4453
|
name?: string | undefined;
|
|
4451
4454
|
toolkits?: string[] | undefined;
|
|
4452
|
-
limit?: number | undefined;
|
|
4453
4455
|
page?: number | undefined;
|
|
4456
|
+
limit?: number | undefined;
|
|
4454
4457
|
authConfigs?: string[] | undefined;
|
|
4455
4458
|
}>;
|
|
4456
4459
|
type MCPListParams = z.infer<typeof MCPListParamsSchema>;
|
|
@@ -4505,11 +4508,11 @@ declare const MCPItemSchema: z.ZodObject<{
|
|
|
4505
4508
|
serverInstanceCount: z.ZodNumber;
|
|
4506
4509
|
toolkits: z.ZodArray<z.ZodString, "many">;
|
|
4507
4510
|
}, "strip", z.ZodTypeAny, {
|
|
4511
|
+
allowedTools: string[];
|
|
4508
4512
|
name: string;
|
|
4509
4513
|
toolkits: string[];
|
|
4510
|
-
authConfigIds: string[];
|
|
4511
|
-
allowedTools: string[];
|
|
4512
4514
|
id: string;
|
|
4515
|
+
authConfigIds: string[];
|
|
4513
4516
|
commands: {
|
|
4514
4517
|
claude: string;
|
|
4515
4518
|
cursor: string;
|
|
@@ -4519,11 +4522,11 @@ declare const MCPItemSchema: z.ZodObject<{
|
|
|
4519
4522
|
toolkitIcons: Record<string, string>;
|
|
4520
4523
|
serverInstanceCount: number;
|
|
4521
4524
|
}, {
|
|
4525
|
+
allowedTools: string[];
|
|
4522
4526
|
name: string;
|
|
4523
4527
|
toolkits: string[];
|
|
4524
|
-
authConfigIds: string[];
|
|
4525
|
-
allowedTools: string[];
|
|
4526
4528
|
id: string;
|
|
4529
|
+
authConfigIds: string[];
|
|
4527
4530
|
commands: {
|
|
4528
4531
|
claude: string;
|
|
4529
4532
|
cursor: string;
|
|
@@ -4586,11 +4589,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
4586
4589
|
serverInstanceCount: z.ZodNumber;
|
|
4587
4590
|
toolkits: z.ZodArray<z.ZodString, "many">;
|
|
4588
4591
|
}, "strip", z.ZodTypeAny, {
|
|
4592
|
+
allowedTools: string[];
|
|
4589
4593
|
name: string;
|
|
4590
4594
|
toolkits: string[];
|
|
4591
|
-
authConfigIds: string[];
|
|
4592
|
-
allowedTools: string[];
|
|
4593
4595
|
id: string;
|
|
4596
|
+
authConfigIds: string[];
|
|
4594
4597
|
commands: {
|
|
4595
4598
|
claude: string;
|
|
4596
4599
|
cursor: string;
|
|
@@ -4600,11 +4603,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
4600
4603
|
toolkitIcons: Record<string, string>;
|
|
4601
4604
|
serverInstanceCount: number;
|
|
4602
4605
|
}, {
|
|
4606
|
+
allowedTools: string[];
|
|
4603
4607
|
name: string;
|
|
4604
4608
|
toolkits: string[];
|
|
4605
|
-
authConfigIds: string[];
|
|
4606
|
-
allowedTools: string[];
|
|
4607
4609
|
id: string;
|
|
4610
|
+
authConfigIds: string[];
|
|
4608
4611
|
commands: {
|
|
4609
4612
|
claude: string;
|
|
4610
4613
|
cursor: string;
|
|
@@ -4618,11 +4621,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
4618
4621
|
totalPages: z.ZodNumber;
|
|
4619
4622
|
}, "strip", z.ZodTypeAny, {
|
|
4620
4623
|
items: {
|
|
4624
|
+
allowedTools: string[];
|
|
4621
4625
|
name: string;
|
|
4622
4626
|
toolkits: string[];
|
|
4623
|
-
authConfigIds: string[];
|
|
4624
|
-
allowedTools: string[];
|
|
4625
4627
|
id: string;
|
|
4628
|
+
authConfigIds: string[];
|
|
4626
4629
|
commands: {
|
|
4627
4630
|
claude: string;
|
|
4628
4631
|
cursor: string;
|
|
@@ -4636,11 +4639,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
4636
4639
|
currentPage: number;
|
|
4637
4640
|
}, {
|
|
4638
4641
|
items: {
|
|
4642
|
+
allowedTools: string[];
|
|
4639
4643
|
name: string;
|
|
4640
4644
|
toolkits: string[];
|
|
4641
|
-
authConfigIds: string[];
|
|
4642
|
-
allowedTools: string[];
|
|
4643
4645
|
id: string;
|
|
4646
|
+
authConfigIds: string[];
|
|
4644
4647
|
commands: {
|
|
4645
4648
|
claude: string;
|
|
4646
4649
|
cursor: string;
|
|
@@ -4669,20 +4672,20 @@ declare const MCPUpdateParamsSchema: z.ZodObject<{
|
|
|
4669
4672
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4670
4673
|
manuallyManageConnections: z.ZodOptional<z.ZodBoolean>;
|
|
4671
4674
|
}, "strip", z.ZodTypeAny, {
|
|
4675
|
+
allowedTools?: string[] | undefined;
|
|
4672
4676
|
name?: string | undefined;
|
|
4673
4677
|
toolkits?: (string | {
|
|
4674
4678
|
toolkit?: string | undefined;
|
|
4675
4679
|
authConfigId?: string | undefined;
|
|
4676
4680
|
})[] | undefined;
|
|
4677
|
-
allowedTools?: string[] | undefined;
|
|
4678
4681
|
manuallyManageConnections?: boolean | undefined;
|
|
4679
4682
|
}, {
|
|
4683
|
+
allowedTools?: string[] | undefined;
|
|
4680
4684
|
name?: string | undefined;
|
|
4681
4685
|
toolkits?: (string | {
|
|
4682
4686
|
toolkit?: string | undefined;
|
|
4683
4687
|
authConfigId?: string | undefined;
|
|
4684
4688
|
})[] | undefined;
|
|
4685
|
-
allowedTools?: string[] | undefined;
|
|
4686
4689
|
manuallyManageConnections?: boolean | undefined;
|
|
4687
4690
|
}>;
|
|
4688
4691
|
type MCPUpdateParams = z.infer<typeof MCPUpdateParamsSchema>;
|