@composio/core 0.15.0 → 0.17.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-zjeDpZ91.d.mts → CustomTool-Uip-fhPw.d.mts} +1 -1
- package/dist/{cancellation-BbJ-UQ__.mjs → cancellation-NVtGf3St.mjs} +69 -1
- package/dist/{composio-Bf8hnBBq.d.mts → composio-B27X6i6A.d.mts} +253 -247
- package/dist/{BaseProvider-BN2-Nktx.d.mts → customTool.types-B2Ava_j5.d.mts} +3020 -126
- package/dist/experimental/index.d.mts +2 -2
- package/dist/{fileUtils.node-BQ0fWge3.mjs → fileUtils.node-B1Wn848p.mjs} +2 -2
- package/dist/index.d.mts +18 -7
- package/dist/index.mjs +91 -120
- package/dist/models/Files.node.mjs +1 -1
- package/dist/{types-CePuCfD-.d.mts → types-DdZJuMm2.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 +2 -2
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
- package/dist/utils/ssrfGuard.node.d.mts +11 -1
- package/dist/utils/ssrfGuard.node.mjs +11 -1
- package/dist/utils/ssrfGuard.workerd.d.mts +13 -1
- package/dist/utils/ssrfGuard.workerd.mjs +13 -1
- package/package.json +3 -3
- package/src/index.ts +1 -0
- package/src/models/RemoteFile.ts +7 -2
- package/src/models/ToolRouterSessionFileMount.ts +14 -8
- package/src/models/Tools.ts +108 -77
- package/src/provider/BaseProvider.ts +53 -1
- package/src/provider/OpenAIProvider.ts +43 -15
- package/src/types/provider.types.ts +15 -0
- package/src/types/tool.types.ts +8 -2
- package/src/utils/fileUtils.node.ts +8 -2
- package/src/utils/jsonSchema.ts +86 -1
- package/src/utils/ssrfGuard.node.ts +11 -0
- package/src/utils/ssrfGuard.workerd.ts +16 -0
- package/dist/customTool.types-Bhom9a2R.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-Bhom9a2R.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-B2Ava_j5.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";
|
|
@@ -292,6 +291,7 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
292
291
|
* ```
|
|
293
292
|
*/
|
|
294
293
|
get<T extends TProvider>(userId: string, slug: string, options?: ProviderOptions<TProvider> & ComposioRequestOptions): Promise<ReturnType<T['wrapTools']>>;
|
|
294
|
+
private applySchemaModifiers;
|
|
295
295
|
/**
|
|
296
296
|
* @internal
|
|
297
297
|
* Creates a global execute tool function.
|
|
@@ -307,9 +307,10 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
307
307
|
* @param userId - The user id to get the tools for
|
|
308
308
|
* @param tools - The tools to wrap
|
|
309
309
|
* @param modifiers - The modifiers to be applied to the tools
|
|
310
|
+
* @param rawTools - The fetched schemas used during execution
|
|
310
311
|
* @returns The wrapped tools
|
|
311
312
|
*/
|
|
312
|
-
wrapToolsForProvider<T extends TProvider>(userId: string, tools: Tool[], modifiers?: ExecuteToolModifiers): ReturnType<T['wrapTools']>;
|
|
313
|
+
wrapToolsForProvider<T extends TProvider>(userId: string, tools: Tool[], modifiers?: ExecuteToolModifiers, rawTools?: Tool[]): ReturnType<T['wrapTools']>;
|
|
313
314
|
/**
|
|
314
315
|
* @internal
|
|
315
316
|
* Utility to wrap a given set of tools in the format expected by the tool router
|
|
@@ -328,6 +329,7 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
328
329
|
*
|
|
329
330
|
* @param {string} userId - The user id
|
|
330
331
|
* @param {ExecuteToolModifiers} modifiers - The modifiers to be applied to the tool
|
|
332
|
+
* @param {Tool[]} tools - The fetched tools available to the provider
|
|
331
333
|
* @returns {ExecuteToolFn} The execute tool function
|
|
332
334
|
*/
|
|
333
335
|
private createExecuteToolFn;
|
|
@@ -348,6 +350,8 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
348
350
|
* @returns The response from the tool execution
|
|
349
351
|
*/
|
|
350
352
|
private executeComposioTool;
|
|
353
|
+
private executeWithTool;
|
|
354
|
+
private parseToolExecuteParams;
|
|
351
355
|
/**
|
|
352
356
|
* Executes a given tool with the provided parameters.
|
|
353
357
|
*
|
|
@@ -514,14 +518,14 @@ declare const ToolkitsListParamsSchema: z$1.ZodObject<{
|
|
|
514
518
|
cursor: z$1.ZodOptional<z$1.ZodString>;
|
|
515
519
|
limit: z$1.ZodOptional<z$1.ZodNumber>;
|
|
516
520
|
}, "strip", z$1.ZodTypeAny, {
|
|
517
|
-
limit?: number | undefined;
|
|
518
521
|
cursor?: string | undefined;
|
|
522
|
+
limit?: number | undefined;
|
|
519
523
|
category?: string | undefined;
|
|
520
524
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
521
525
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
522
526
|
}, {
|
|
523
|
-
limit?: number | undefined;
|
|
524
527
|
cursor?: string | undefined;
|
|
528
|
+
limit?: number | undefined;
|
|
525
529
|
category?: string | undefined;
|
|
526
530
|
managedBy?: "all" | "composio" | "project" | undefined;
|
|
527
531
|
sortBy?: "usage" | "alphabetically" | undefined;
|
|
@@ -537,11 +541,11 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
|
|
|
537
541
|
slug: z$1.ZodString;
|
|
538
542
|
name: z$1.ZodString;
|
|
539
543
|
}, "strip", z$1.ZodTypeAny, {
|
|
540
|
-
slug: string;
|
|
541
544
|
name: string;
|
|
542
|
-
}, {
|
|
543
545
|
slug: string;
|
|
546
|
+
}, {
|
|
544
547
|
name: string;
|
|
548
|
+
slug: string;
|
|
545
549
|
}>, "many">>;
|
|
546
550
|
appUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
547
551
|
createdAt: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -552,27 +556,27 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
|
|
|
552
556
|
updatedAt: z$1.ZodOptional<z$1.ZodString>;
|
|
553
557
|
availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
554
558
|
}, "strip", z$1.ZodTypeAny, {
|
|
559
|
+
createdAt?: string | undefined;
|
|
560
|
+
updatedAt?: string | undefined;
|
|
555
561
|
logo?: string | undefined;
|
|
556
562
|
description?: string | undefined;
|
|
557
563
|
availableVersions?: string[] | undefined;
|
|
558
|
-
createdAt?: string | undefined;
|
|
559
|
-
updatedAt?: string | undefined;
|
|
560
564
|
categories?: {
|
|
561
|
-
slug: string;
|
|
562
565
|
name: string;
|
|
566
|
+
slug: string;
|
|
563
567
|
}[] | undefined;
|
|
564
568
|
appUrl?: string | undefined;
|
|
565
569
|
toolsCount?: number | undefined;
|
|
566
570
|
triggersCount?: number | undefined;
|
|
567
571
|
}, {
|
|
572
|
+
createdAt?: string | undefined;
|
|
573
|
+
updatedAt?: string | undefined;
|
|
568
574
|
logo?: string | undefined;
|
|
569
575
|
description?: string | undefined;
|
|
570
576
|
availableVersions?: string[] | undefined;
|
|
571
|
-
createdAt?: string | undefined;
|
|
572
|
-
updatedAt?: string | undefined;
|
|
573
577
|
categories?: {
|
|
574
|
-
slug: string;
|
|
575
578
|
name: string;
|
|
579
|
+
slug: string;
|
|
576
580
|
}[] | undefined;
|
|
577
581
|
appUrl?: string | undefined;
|
|
578
582
|
toolsCount?: number | undefined;
|
|
@@ -586,11 +590,11 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
586
590
|
slug: z$1.ZodString;
|
|
587
591
|
name: z$1.ZodString;
|
|
588
592
|
}, "strip", z$1.ZodTypeAny, {
|
|
589
|
-
slug: string;
|
|
590
593
|
name: string;
|
|
591
|
-
}, {
|
|
592
594
|
slug: string;
|
|
595
|
+
}, {
|
|
593
596
|
name: string;
|
|
597
|
+
slug: string;
|
|
594
598
|
}>, "many">>;
|
|
595
599
|
appUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
596
600
|
createdAt: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -601,27 +605,27 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
601
605
|
updatedAt: z$1.ZodOptional<z$1.ZodString>;
|
|
602
606
|
availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
603
607
|
}, "strip", z$1.ZodTypeAny, {
|
|
608
|
+
createdAt?: string | undefined;
|
|
609
|
+
updatedAt?: string | undefined;
|
|
604
610
|
logo?: string | undefined;
|
|
605
611
|
description?: string | undefined;
|
|
606
612
|
availableVersions?: string[] | undefined;
|
|
607
|
-
createdAt?: string | undefined;
|
|
608
|
-
updatedAt?: string | undefined;
|
|
609
613
|
categories?: {
|
|
610
|
-
slug: string;
|
|
611
614
|
name: string;
|
|
615
|
+
slug: string;
|
|
612
616
|
}[] | undefined;
|
|
613
617
|
appUrl?: string | undefined;
|
|
614
618
|
toolsCount?: number | undefined;
|
|
615
619
|
triggersCount?: number | undefined;
|
|
616
620
|
}, {
|
|
621
|
+
createdAt?: string | undefined;
|
|
622
|
+
updatedAt?: string | undefined;
|
|
617
623
|
logo?: string | undefined;
|
|
618
624
|
description?: string | undefined;
|
|
619
625
|
availableVersions?: string[] | undefined;
|
|
620
|
-
createdAt?: string | undefined;
|
|
621
|
-
updatedAt?: string | undefined;
|
|
622
626
|
categories?: {
|
|
623
|
-
slug: string;
|
|
624
627
|
name: string;
|
|
628
|
+
slug: string;
|
|
625
629
|
}[] | undefined;
|
|
626
630
|
appUrl?: string | undefined;
|
|
627
631
|
toolsCount?: number | undefined;
|
|
@@ -632,17 +636,17 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
632
636
|
composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
633
637
|
noAuth: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
634
638
|
}, "strip", z$1.ZodTypeAny, {
|
|
635
|
-
slug: string;
|
|
636
639
|
name: string;
|
|
640
|
+
slug: string;
|
|
637
641
|
meta: {
|
|
642
|
+
createdAt?: string | undefined;
|
|
643
|
+
updatedAt?: string | undefined;
|
|
638
644
|
logo?: string | undefined;
|
|
639
645
|
description?: string | undefined;
|
|
640
646
|
availableVersions?: string[] | undefined;
|
|
641
|
-
createdAt?: string | undefined;
|
|
642
|
-
updatedAt?: string | undefined;
|
|
643
647
|
categories?: {
|
|
644
|
-
slug: string;
|
|
645
648
|
name: string;
|
|
649
|
+
slug: string;
|
|
646
650
|
}[] | undefined;
|
|
647
651
|
appUrl?: string | undefined;
|
|
648
652
|
toolsCount?: number | undefined;
|
|
@@ -653,17 +657,17 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
653
657
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
654
658
|
noAuth?: boolean | undefined;
|
|
655
659
|
}, {
|
|
656
|
-
slug: string;
|
|
657
660
|
name: string;
|
|
661
|
+
slug: string;
|
|
658
662
|
meta: {
|
|
663
|
+
createdAt?: string | undefined;
|
|
664
|
+
updatedAt?: string | undefined;
|
|
659
665
|
logo?: string | undefined;
|
|
660
666
|
description?: string | undefined;
|
|
661
667
|
availableVersions?: string[] | undefined;
|
|
662
|
-
createdAt?: string | undefined;
|
|
663
|
-
updatedAt?: string | undefined;
|
|
664
668
|
categories?: {
|
|
665
|
-
slug: string;
|
|
666
669
|
name: string;
|
|
670
|
+
slug: string;
|
|
667
671
|
}[] | undefined;
|
|
668
672
|
appUrl?: string | undefined;
|
|
669
673
|
toolsCount?: number | undefined;
|
|
@@ -682,11 +686,11 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
682
686
|
slug: z$1.ZodString;
|
|
683
687
|
name: z$1.ZodString;
|
|
684
688
|
}, "strip", z$1.ZodTypeAny, {
|
|
685
|
-
slug: string;
|
|
686
689
|
name: string;
|
|
687
|
-
}, {
|
|
688
690
|
slug: string;
|
|
691
|
+
}, {
|
|
689
692
|
name: string;
|
|
693
|
+
slug: string;
|
|
690
694
|
}>, "many">>;
|
|
691
695
|
appUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
692
696
|
createdAt: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -697,27 +701,27 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
697
701
|
updatedAt: z$1.ZodOptional<z$1.ZodString>;
|
|
698
702
|
availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
699
703
|
}, "strip", z$1.ZodTypeAny, {
|
|
704
|
+
createdAt?: string | undefined;
|
|
705
|
+
updatedAt?: string | undefined;
|
|
700
706
|
logo?: string | undefined;
|
|
701
707
|
description?: string | undefined;
|
|
702
708
|
availableVersions?: string[] | undefined;
|
|
703
|
-
createdAt?: string | undefined;
|
|
704
|
-
updatedAt?: string | undefined;
|
|
705
709
|
categories?: {
|
|
706
|
-
slug: string;
|
|
707
710
|
name: string;
|
|
711
|
+
slug: string;
|
|
708
712
|
}[] | undefined;
|
|
709
713
|
appUrl?: string | undefined;
|
|
710
714
|
toolsCount?: number | undefined;
|
|
711
715
|
triggersCount?: number | undefined;
|
|
712
716
|
}, {
|
|
717
|
+
createdAt?: string | undefined;
|
|
718
|
+
updatedAt?: string | undefined;
|
|
713
719
|
logo?: string | undefined;
|
|
714
720
|
description?: string | undefined;
|
|
715
721
|
availableVersions?: string[] | undefined;
|
|
716
|
-
createdAt?: string | undefined;
|
|
717
|
-
updatedAt?: string | undefined;
|
|
718
722
|
categories?: {
|
|
719
|
-
slug: string;
|
|
720
723
|
name: string;
|
|
724
|
+
slug: string;
|
|
721
725
|
}[] | undefined;
|
|
722
726
|
appUrl?: string | undefined;
|
|
723
727
|
toolsCount?: number | undefined;
|
|
@@ -728,17 +732,17 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
728
732
|
composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
729
733
|
noAuth: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
730
734
|
}, "strip", z$1.ZodTypeAny, {
|
|
731
|
-
slug: string;
|
|
732
735
|
name: string;
|
|
736
|
+
slug: string;
|
|
733
737
|
meta: {
|
|
738
|
+
createdAt?: string | undefined;
|
|
739
|
+
updatedAt?: string | undefined;
|
|
734
740
|
logo?: string | undefined;
|
|
735
741
|
description?: string | undefined;
|
|
736
742
|
availableVersions?: string[] | undefined;
|
|
737
|
-
createdAt?: string | undefined;
|
|
738
|
-
updatedAt?: string | undefined;
|
|
739
743
|
categories?: {
|
|
740
|
-
slug: string;
|
|
741
744
|
name: string;
|
|
745
|
+
slug: string;
|
|
742
746
|
}[] | undefined;
|
|
743
747
|
appUrl?: string | undefined;
|
|
744
748
|
toolsCount?: number | undefined;
|
|
@@ -749,17 +753,17 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
749
753
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
750
754
|
noAuth?: boolean | undefined;
|
|
751
755
|
}, {
|
|
752
|
-
slug: string;
|
|
753
756
|
name: string;
|
|
757
|
+
slug: string;
|
|
754
758
|
meta: {
|
|
759
|
+
createdAt?: string | undefined;
|
|
760
|
+
updatedAt?: string | undefined;
|
|
755
761
|
logo?: string | undefined;
|
|
756
762
|
description?: string | undefined;
|
|
757
763
|
availableVersions?: string[] | undefined;
|
|
758
|
-
createdAt?: string | undefined;
|
|
759
|
-
updatedAt?: string | undefined;
|
|
760
764
|
categories?: {
|
|
761
|
-
slug: string;
|
|
762
765
|
name: string;
|
|
766
|
+
slug: string;
|
|
763
767
|
}[] | undefined;
|
|
764
768
|
appUrl?: string | undefined;
|
|
765
769
|
toolsCount?: number | undefined;
|
|
@@ -784,15 +788,15 @@ declare const ToolkitAuthFieldSchema: z$1.ZodObject<{
|
|
|
784
788
|
type: z$1.ZodString;
|
|
785
789
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
786
790
|
}, "strip", z$1.ZodTypeAny, {
|
|
787
|
-
name: string;
|
|
788
791
|
type: string;
|
|
792
|
+
name: string;
|
|
789
793
|
description: string;
|
|
790
794
|
required: boolean;
|
|
791
795
|
displayName: string;
|
|
792
796
|
default?: string | null | undefined;
|
|
793
797
|
}, {
|
|
794
|
-
name: string;
|
|
795
798
|
type: string;
|
|
799
|
+
name: string;
|
|
796
800
|
description: string;
|
|
797
801
|
required: boolean;
|
|
798
802
|
displayName: string;
|
|
@@ -811,15 +815,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
811
815
|
type: z$1.ZodString;
|
|
812
816
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
813
817
|
}, "strip", z$1.ZodTypeAny, {
|
|
814
|
-
name: string;
|
|
815
818
|
type: string;
|
|
819
|
+
name: string;
|
|
816
820
|
description: string;
|
|
817
821
|
required: boolean;
|
|
818
822
|
displayName: string;
|
|
819
823
|
default?: string | null | undefined;
|
|
820
824
|
}, {
|
|
821
|
-
name: string;
|
|
822
825
|
type: string;
|
|
826
|
+
name: string;
|
|
823
827
|
description: string;
|
|
824
828
|
required: boolean;
|
|
825
829
|
displayName: string;
|
|
@@ -833,15 +837,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
833
837
|
type: z$1.ZodString;
|
|
834
838
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
835
839
|
}, "strip", z$1.ZodTypeAny, {
|
|
836
|
-
name: string;
|
|
837
840
|
type: string;
|
|
841
|
+
name: string;
|
|
838
842
|
description: string;
|
|
839
843
|
required: boolean;
|
|
840
844
|
displayName: string;
|
|
841
845
|
default?: string | null | undefined;
|
|
842
846
|
}, {
|
|
843
|
-
name: string;
|
|
844
847
|
type: string;
|
|
848
|
+
name: string;
|
|
845
849
|
description: string;
|
|
846
850
|
required: boolean;
|
|
847
851
|
displayName: string;
|
|
@@ -849,16 +853,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
849
853
|
}>, "many">;
|
|
850
854
|
}, "strip", z$1.ZodTypeAny, {
|
|
851
855
|
required: {
|
|
852
|
-
name: string;
|
|
853
856
|
type: string;
|
|
857
|
+
name: string;
|
|
854
858
|
description: string;
|
|
855
859
|
required: boolean;
|
|
856
860
|
displayName: string;
|
|
857
861
|
default?: string | null | undefined;
|
|
858
862
|
}[];
|
|
859
863
|
optional: {
|
|
860
|
-
name: string;
|
|
861
864
|
type: string;
|
|
865
|
+
name: string;
|
|
862
866
|
description: string;
|
|
863
867
|
required: boolean;
|
|
864
868
|
displayName: string;
|
|
@@ -866,16 +870,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
866
870
|
}[];
|
|
867
871
|
}, {
|
|
868
872
|
required: {
|
|
869
|
-
name: string;
|
|
870
873
|
type: string;
|
|
874
|
+
name: string;
|
|
871
875
|
description: string;
|
|
872
876
|
required: boolean;
|
|
873
877
|
displayName: string;
|
|
874
878
|
default?: string | null | undefined;
|
|
875
879
|
}[];
|
|
876
880
|
optional: {
|
|
877
|
-
name: string;
|
|
878
881
|
type: string;
|
|
882
|
+
name: string;
|
|
879
883
|
description: string;
|
|
880
884
|
required: boolean;
|
|
881
885
|
displayName: string;
|
|
@@ -891,15 +895,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
891
895
|
type: z$1.ZodString;
|
|
892
896
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
893
897
|
}, "strip", z$1.ZodTypeAny, {
|
|
894
|
-
name: string;
|
|
895
898
|
type: string;
|
|
899
|
+
name: string;
|
|
896
900
|
description: string;
|
|
897
901
|
required: boolean;
|
|
898
902
|
displayName: string;
|
|
899
903
|
default?: string | null | undefined;
|
|
900
904
|
}, {
|
|
901
|
-
name: string;
|
|
902
905
|
type: string;
|
|
906
|
+
name: string;
|
|
903
907
|
description: string;
|
|
904
908
|
required: boolean;
|
|
905
909
|
displayName: string;
|
|
@@ -913,15 +917,15 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
913
917
|
type: z$1.ZodString;
|
|
914
918
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
915
919
|
}, "strip", z$1.ZodTypeAny, {
|
|
916
|
-
name: string;
|
|
917
920
|
type: string;
|
|
921
|
+
name: string;
|
|
918
922
|
description: string;
|
|
919
923
|
required: boolean;
|
|
920
924
|
displayName: string;
|
|
921
925
|
default?: string | null | undefined;
|
|
922
926
|
}, {
|
|
923
|
-
name: string;
|
|
924
927
|
type: string;
|
|
928
|
+
name: string;
|
|
925
929
|
description: string;
|
|
926
930
|
required: boolean;
|
|
927
931
|
displayName: string;
|
|
@@ -929,16 +933,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
929
933
|
}>, "many">;
|
|
930
934
|
}, "strip", z$1.ZodTypeAny, {
|
|
931
935
|
required: {
|
|
932
|
-
name: string;
|
|
933
936
|
type: string;
|
|
937
|
+
name: string;
|
|
934
938
|
description: string;
|
|
935
939
|
required: boolean;
|
|
936
940
|
displayName: string;
|
|
937
941
|
default?: string | null | undefined;
|
|
938
942
|
}[];
|
|
939
943
|
optional: {
|
|
940
|
-
name: string;
|
|
941
944
|
type: string;
|
|
945
|
+
name: string;
|
|
942
946
|
description: string;
|
|
943
947
|
required: boolean;
|
|
944
948
|
displayName: string;
|
|
@@ -946,16 +950,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
946
950
|
}[];
|
|
947
951
|
}, {
|
|
948
952
|
required: {
|
|
949
|
-
name: string;
|
|
950
953
|
type: string;
|
|
954
|
+
name: string;
|
|
951
955
|
description: string;
|
|
952
956
|
required: boolean;
|
|
953
957
|
displayName: string;
|
|
954
958
|
default?: string | null | undefined;
|
|
955
959
|
}[];
|
|
956
960
|
optional: {
|
|
957
|
-
name: string;
|
|
958
961
|
type: string;
|
|
962
|
+
name: string;
|
|
959
963
|
description: string;
|
|
960
964
|
required: boolean;
|
|
961
965
|
displayName: string;
|
|
@@ -965,16 +969,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
965
969
|
}, "strip", z$1.ZodTypeAny, {
|
|
966
970
|
authConfigCreation: {
|
|
967
971
|
required: {
|
|
968
|
-
name: string;
|
|
969
972
|
type: string;
|
|
973
|
+
name: string;
|
|
970
974
|
description: string;
|
|
971
975
|
required: boolean;
|
|
972
976
|
displayName: string;
|
|
973
977
|
default?: string | null | undefined;
|
|
974
978
|
}[];
|
|
975
979
|
optional: {
|
|
976
|
-
name: string;
|
|
977
980
|
type: string;
|
|
981
|
+
name: string;
|
|
978
982
|
description: string;
|
|
979
983
|
required: boolean;
|
|
980
984
|
displayName: string;
|
|
@@ -983,16 +987,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
983
987
|
};
|
|
984
988
|
connectedAccountInitiation: {
|
|
985
989
|
required: {
|
|
986
|
-
name: string;
|
|
987
990
|
type: string;
|
|
991
|
+
name: string;
|
|
988
992
|
description: string;
|
|
989
993
|
required: boolean;
|
|
990
994
|
displayName: string;
|
|
991
995
|
default?: string | null | undefined;
|
|
992
996
|
}[];
|
|
993
997
|
optional: {
|
|
994
|
-
name: string;
|
|
995
998
|
type: string;
|
|
999
|
+
name: string;
|
|
996
1000
|
description: string;
|
|
997
1001
|
required: boolean;
|
|
998
1002
|
displayName: string;
|
|
@@ -1002,16 +1006,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
1002
1006
|
}, {
|
|
1003
1007
|
authConfigCreation: {
|
|
1004
1008
|
required: {
|
|
1005
|
-
name: string;
|
|
1006
1009
|
type: string;
|
|
1010
|
+
name: string;
|
|
1007
1011
|
description: string;
|
|
1008
1012
|
required: boolean;
|
|
1009
1013
|
displayName: string;
|
|
1010
1014
|
default?: string | null | undefined;
|
|
1011
1015
|
}[];
|
|
1012
1016
|
optional: {
|
|
1013
|
-
name: string;
|
|
1014
1017
|
type: string;
|
|
1018
|
+
name: string;
|
|
1015
1019
|
description: string;
|
|
1016
1020
|
required: boolean;
|
|
1017
1021
|
displayName: string;
|
|
@@ -1020,16 +1024,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
1020
1024
|
};
|
|
1021
1025
|
connectedAccountInitiation: {
|
|
1022
1026
|
required: {
|
|
1023
|
-
name: string;
|
|
1024
1027
|
type: string;
|
|
1028
|
+
name: string;
|
|
1025
1029
|
description: string;
|
|
1026
1030
|
required: boolean;
|
|
1027
1031
|
displayName: string;
|
|
1028
1032
|
default?: string | null | undefined;
|
|
1029
1033
|
}[];
|
|
1030
1034
|
optional: {
|
|
1031
|
-
name: string;
|
|
1032
1035
|
type: string;
|
|
1036
|
+
name: string;
|
|
1033
1037
|
description: string;
|
|
1034
1038
|
required: boolean;
|
|
1035
1039
|
displayName: string;
|
|
@@ -1050,16 +1054,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
1050
1054
|
fields: {
|
|
1051
1055
|
authConfigCreation: {
|
|
1052
1056
|
required: {
|
|
1053
|
-
name: string;
|
|
1054
1057
|
type: string;
|
|
1058
|
+
name: string;
|
|
1055
1059
|
description: string;
|
|
1056
1060
|
required: boolean;
|
|
1057
1061
|
displayName: string;
|
|
1058
1062
|
default?: string | null | undefined;
|
|
1059
1063
|
}[];
|
|
1060
1064
|
optional: {
|
|
1061
|
-
name: string;
|
|
1062
1065
|
type: string;
|
|
1066
|
+
name: string;
|
|
1063
1067
|
description: string;
|
|
1064
1068
|
required: boolean;
|
|
1065
1069
|
displayName: string;
|
|
@@ -1068,16 +1072,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
1068
1072
|
};
|
|
1069
1073
|
connectedAccountInitiation: {
|
|
1070
1074
|
required: {
|
|
1071
|
-
name: string;
|
|
1072
1075
|
type: string;
|
|
1076
|
+
name: string;
|
|
1073
1077
|
description: string;
|
|
1074
1078
|
required: boolean;
|
|
1075
1079
|
displayName: string;
|
|
1076
1080
|
default?: string | null | undefined;
|
|
1077
1081
|
}[];
|
|
1078
1082
|
optional: {
|
|
1079
|
-
name: string;
|
|
1080
1083
|
type: string;
|
|
1084
|
+
name: string;
|
|
1081
1085
|
description: string;
|
|
1082
1086
|
required: boolean;
|
|
1083
1087
|
displayName: string;
|
|
@@ -1094,16 +1098,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
1094
1098
|
fields: {
|
|
1095
1099
|
authConfigCreation: {
|
|
1096
1100
|
required: {
|
|
1097
|
-
name: string;
|
|
1098
1101
|
type: string;
|
|
1102
|
+
name: string;
|
|
1099
1103
|
description: string;
|
|
1100
1104
|
required: boolean;
|
|
1101
1105
|
displayName: string;
|
|
1102
1106
|
default?: string | null | undefined;
|
|
1103
1107
|
}[];
|
|
1104
1108
|
optional: {
|
|
1105
|
-
name: string;
|
|
1106
1109
|
type: string;
|
|
1110
|
+
name: string;
|
|
1107
1111
|
description: string;
|
|
1108
1112
|
required: boolean;
|
|
1109
1113
|
displayName: string;
|
|
@@ -1112,16 +1116,16 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
1112
1116
|
};
|
|
1113
1117
|
connectedAccountInitiation: {
|
|
1114
1118
|
required: {
|
|
1115
|
-
name: string;
|
|
1116
1119
|
type: string;
|
|
1120
|
+
name: string;
|
|
1117
1121
|
description: string;
|
|
1118
1122
|
required: boolean;
|
|
1119
1123
|
displayName: string;
|
|
1120
1124
|
default?: string | null | undefined;
|
|
1121
1125
|
}[];
|
|
1122
1126
|
optional: {
|
|
1123
|
-
name: string;
|
|
1124
1127
|
type: string;
|
|
1128
|
+
name: string;
|
|
1125
1129
|
description: string;
|
|
1126
1130
|
required: boolean;
|
|
1127
1131
|
displayName: string;
|
|
@@ -1141,11 +1145,11 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1141
1145
|
slug: z$1.ZodString;
|
|
1142
1146
|
name: z$1.ZodString;
|
|
1143
1147
|
}, "strip", z$1.ZodTypeAny, {
|
|
1144
|
-
slug: string;
|
|
1145
1148
|
name: string;
|
|
1146
|
-
}, {
|
|
1147
1149
|
slug: string;
|
|
1150
|
+
}, {
|
|
1148
1151
|
name: string;
|
|
1152
|
+
slug: string;
|
|
1149
1153
|
}>, "many">>;
|
|
1150
1154
|
appUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
1151
1155
|
createdAt: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -1156,27 +1160,27 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1156
1160
|
updatedAt: z$1.ZodOptional<z$1.ZodString>;
|
|
1157
1161
|
availableVersions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
1158
1162
|
}, "strip", z$1.ZodTypeAny, {
|
|
1163
|
+
createdAt?: string | undefined;
|
|
1164
|
+
updatedAt?: string | undefined;
|
|
1159
1165
|
logo?: string | undefined;
|
|
1160
1166
|
description?: string | undefined;
|
|
1161
1167
|
availableVersions?: string[] | undefined;
|
|
1162
|
-
createdAt?: string | undefined;
|
|
1163
|
-
updatedAt?: string | undefined;
|
|
1164
1168
|
categories?: {
|
|
1165
|
-
slug: string;
|
|
1166
1169
|
name: string;
|
|
1170
|
+
slug: string;
|
|
1167
1171
|
}[] | undefined;
|
|
1168
1172
|
appUrl?: string | undefined;
|
|
1169
1173
|
toolsCount?: number | undefined;
|
|
1170
1174
|
triggersCount?: number | undefined;
|
|
1171
1175
|
}, {
|
|
1176
|
+
createdAt?: string | undefined;
|
|
1177
|
+
updatedAt?: string | undefined;
|
|
1172
1178
|
logo?: string | undefined;
|
|
1173
1179
|
description?: string | undefined;
|
|
1174
1180
|
availableVersions?: string[] | undefined;
|
|
1175
|
-
createdAt?: string | undefined;
|
|
1176
|
-
updatedAt?: string | undefined;
|
|
1177
1181
|
categories?: {
|
|
1178
|
-
slug: string;
|
|
1179
1182
|
name: string;
|
|
1183
|
+
slug: string;
|
|
1180
1184
|
}[] | undefined;
|
|
1181
1185
|
appUrl?: string | undefined;
|
|
1182
1186
|
toolsCount?: number | undefined;
|
|
@@ -1197,15 +1201,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1197
1201
|
type: z$1.ZodString;
|
|
1198
1202
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
1199
1203
|
}, "strip", z$1.ZodTypeAny, {
|
|
1200
|
-
name: string;
|
|
1201
1204
|
type: string;
|
|
1205
|
+
name: string;
|
|
1202
1206
|
description: string;
|
|
1203
1207
|
required: boolean;
|
|
1204
1208
|
displayName: string;
|
|
1205
1209
|
default?: string | null | undefined;
|
|
1206
1210
|
}, {
|
|
1207
|
-
name: string;
|
|
1208
1211
|
type: string;
|
|
1212
|
+
name: string;
|
|
1209
1213
|
description: string;
|
|
1210
1214
|
required: boolean;
|
|
1211
1215
|
displayName: string;
|
|
@@ -1219,15 +1223,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1219
1223
|
type: z$1.ZodString;
|
|
1220
1224
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
1221
1225
|
}, "strip", z$1.ZodTypeAny, {
|
|
1222
|
-
name: string;
|
|
1223
1226
|
type: string;
|
|
1227
|
+
name: string;
|
|
1224
1228
|
description: string;
|
|
1225
1229
|
required: boolean;
|
|
1226
1230
|
displayName: string;
|
|
1227
1231
|
default?: string | null | undefined;
|
|
1228
1232
|
}, {
|
|
1229
|
-
name: string;
|
|
1230
1233
|
type: string;
|
|
1234
|
+
name: string;
|
|
1231
1235
|
description: string;
|
|
1232
1236
|
required: boolean;
|
|
1233
1237
|
displayName: string;
|
|
@@ -1235,16 +1239,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1235
1239
|
}>, "many">;
|
|
1236
1240
|
}, "strip", z$1.ZodTypeAny, {
|
|
1237
1241
|
required: {
|
|
1238
|
-
name: string;
|
|
1239
1242
|
type: string;
|
|
1243
|
+
name: string;
|
|
1240
1244
|
description: string;
|
|
1241
1245
|
required: boolean;
|
|
1242
1246
|
displayName: string;
|
|
1243
1247
|
default?: string | null | undefined;
|
|
1244
1248
|
}[];
|
|
1245
1249
|
optional: {
|
|
1246
|
-
name: string;
|
|
1247
1250
|
type: string;
|
|
1251
|
+
name: string;
|
|
1248
1252
|
description: string;
|
|
1249
1253
|
required: boolean;
|
|
1250
1254
|
displayName: string;
|
|
@@ -1252,16 +1256,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1252
1256
|
}[];
|
|
1253
1257
|
}, {
|
|
1254
1258
|
required: {
|
|
1255
|
-
name: string;
|
|
1256
1259
|
type: string;
|
|
1260
|
+
name: string;
|
|
1257
1261
|
description: string;
|
|
1258
1262
|
required: boolean;
|
|
1259
1263
|
displayName: string;
|
|
1260
1264
|
default?: string | null | undefined;
|
|
1261
1265
|
}[];
|
|
1262
1266
|
optional: {
|
|
1263
|
-
name: string;
|
|
1264
1267
|
type: string;
|
|
1268
|
+
name: string;
|
|
1265
1269
|
description: string;
|
|
1266
1270
|
required: boolean;
|
|
1267
1271
|
displayName: string;
|
|
@@ -1277,15 +1281,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1277
1281
|
type: z$1.ZodString;
|
|
1278
1282
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
1279
1283
|
}, "strip", z$1.ZodTypeAny, {
|
|
1280
|
-
name: string;
|
|
1281
1284
|
type: string;
|
|
1285
|
+
name: string;
|
|
1282
1286
|
description: string;
|
|
1283
1287
|
required: boolean;
|
|
1284
1288
|
displayName: string;
|
|
1285
1289
|
default?: string | null | undefined;
|
|
1286
1290
|
}, {
|
|
1287
|
-
name: string;
|
|
1288
1291
|
type: string;
|
|
1292
|
+
name: string;
|
|
1289
1293
|
description: string;
|
|
1290
1294
|
required: boolean;
|
|
1291
1295
|
displayName: string;
|
|
@@ -1299,15 +1303,15 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1299
1303
|
type: z$1.ZodString;
|
|
1300
1304
|
default: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
1301
1305
|
}, "strip", z$1.ZodTypeAny, {
|
|
1302
|
-
name: string;
|
|
1303
1306
|
type: string;
|
|
1307
|
+
name: string;
|
|
1304
1308
|
description: string;
|
|
1305
1309
|
required: boolean;
|
|
1306
1310
|
displayName: string;
|
|
1307
1311
|
default?: string | null | undefined;
|
|
1308
1312
|
}, {
|
|
1309
|
-
name: string;
|
|
1310
1313
|
type: string;
|
|
1314
|
+
name: string;
|
|
1311
1315
|
description: string;
|
|
1312
1316
|
required: boolean;
|
|
1313
1317
|
displayName: string;
|
|
@@ -1315,16 +1319,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1315
1319
|
}>, "many">;
|
|
1316
1320
|
}, "strip", z$1.ZodTypeAny, {
|
|
1317
1321
|
required: {
|
|
1318
|
-
name: string;
|
|
1319
1322
|
type: string;
|
|
1323
|
+
name: string;
|
|
1320
1324
|
description: string;
|
|
1321
1325
|
required: boolean;
|
|
1322
1326
|
displayName: string;
|
|
1323
1327
|
default?: string | null | undefined;
|
|
1324
1328
|
}[];
|
|
1325
1329
|
optional: {
|
|
1326
|
-
name: string;
|
|
1327
1330
|
type: string;
|
|
1331
|
+
name: string;
|
|
1328
1332
|
description: string;
|
|
1329
1333
|
required: boolean;
|
|
1330
1334
|
displayName: string;
|
|
@@ -1332,16 +1336,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1332
1336
|
}[];
|
|
1333
1337
|
}, {
|
|
1334
1338
|
required: {
|
|
1335
|
-
name: string;
|
|
1336
1339
|
type: string;
|
|
1340
|
+
name: string;
|
|
1337
1341
|
description: string;
|
|
1338
1342
|
required: boolean;
|
|
1339
1343
|
displayName: string;
|
|
1340
1344
|
default?: string | null | undefined;
|
|
1341
1345
|
}[];
|
|
1342
1346
|
optional: {
|
|
1343
|
-
name: string;
|
|
1344
1347
|
type: string;
|
|
1348
|
+
name: string;
|
|
1345
1349
|
description: string;
|
|
1346
1350
|
required: boolean;
|
|
1347
1351
|
displayName: string;
|
|
@@ -1351,16 +1355,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1351
1355
|
}, "strip", z$1.ZodTypeAny, {
|
|
1352
1356
|
authConfigCreation: {
|
|
1353
1357
|
required: {
|
|
1354
|
-
name: string;
|
|
1355
1358
|
type: string;
|
|
1359
|
+
name: string;
|
|
1356
1360
|
description: string;
|
|
1357
1361
|
required: boolean;
|
|
1358
1362
|
displayName: string;
|
|
1359
1363
|
default?: string | null | undefined;
|
|
1360
1364
|
}[];
|
|
1361
1365
|
optional: {
|
|
1362
|
-
name: string;
|
|
1363
1366
|
type: string;
|
|
1367
|
+
name: string;
|
|
1364
1368
|
description: string;
|
|
1365
1369
|
required: boolean;
|
|
1366
1370
|
displayName: string;
|
|
@@ -1369,16 +1373,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1369
1373
|
};
|
|
1370
1374
|
connectedAccountInitiation: {
|
|
1371
1375
|
required: {
|
|
1372
|
-
name: string;
|
|
1373
1376
|
type: string;
|
|
1377
|
+
name: string;
|
|
1374
1378
|
description: string;
|
|
1375
1379
|
required: boolean;
|
|
1376
1380
|
displayName: string;
|
|
1377
1381
|
default?: string | null | undefined;
|
|
1378
1382
|
}[];
|
|
1379
1383
|
optional: {
|
|
1380
|
-
name: string;
|
|
1381
1384
|
type: string;
|
|
1385
|
+
name: string;
|
|
1382
1386
|
description: string;
|
|
1383
1387
|
required: boolean;
|
|
1384
1388
|
displayName: string;
|
|
@@ -1388,16 +1392,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1388
1392
|
}, {
|
|
1389
1393
|
authConfigCreation: {
|
|
1390
1394
|
required: {
|
|
1391
|
-
name: string;
|
|
1392
1395
|
type: string;
|
|
1396
|
+
name: string;
|
|
1393
1397
|
description: string;
|
|
1394
1398
|
required: boolean;
|
|
1395
1399
|
displayName: string;
|
|
1396
1400
|
default?: string | null | undefined;
|
|
1397
1401
|
}[];
|
|
1398
1402
|
optional: {
|
|
1399
|
-
name: string;
|
|
1400
1403
|
type: string;
|
|
1404
|
+
name: string;
|
|
1401
1405
|
description: string;
|
|
1402
1406
|
required: boolean;
|
|
1403
1407
|
displayName: string;
|
|
@@ -1406,16 +1410,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1406
1410
|
};
|
|
1407
1411
|
connectedAccountInitiation: {
|
|
1408
1412
|
required: {
|
|
1409
|
-
name: string;
|
|
1410
1413
|
type: string;
|
|
1414
|
+
name: string;
|
|
1411
1415
|
description: string;
|
|
1412
1416
|
required: boolean;
|
|
1413
1417
|
displayName: string;
|
|
1414
1418
|
default?: string | null | undefined;
|
|
1415
1419
|
}[];
|
|
1416
1420
|
optional: {
|
|
1417
|
-
name: string;
|
|
1418
1421
|
type: string;
|
|
1422
|
+
name: string;
|
|
1419
1423
|
description: string;
|
|
1420
1424
|
required: boolean;
|
|
1421
1425
|
displayName: string;
|
|
@@ -1436,16 +1440,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1436
1440
|
fields: {
|
|
1437
1441
|
authConfigCreation: {
|
|
1438
1442
|
required: {
|
|
1439
|
-
name: string;
|
|
1440
1443
|
type: string;
|
|
1444
|
+
name: string;
|
|
1441
1445
|
description: string;
|
|
1442
1446
|
required: boolean;
|
|
1443
1447
|
displayName: string;
|
|
1444
1448
|
default?: string | null | undefined;
|
|
1445
1449
|
}[];
|
|
1446
1450
|
optional: {
|
|
1447
|
-
name: string;
|
|
1448
1451
|
type: string;
|
|
1452
|
+
name: string;
|
|
1449
1453
|
description: string;
|
|
1450
1454
|
required: boolean;
|
|
1451
1455
|
displayName: string;
|
|
@@ -1454,16 +1458,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1454
1458
|
};
|
|
1455
1459
|
connectedAccountInitiation: {
|
|
1456
1460
|
required: {
|
|
1457
|
-
name: string;
|
|
1458
1461
|
type: string;
|
|
1462
|
+
name: string;
|
|
1459
1463
|
description: string;
|
|
1460
1464
|
required: boolean;
|
|
1461
1465
|
displayName: string;
|
|
1462
1466
|
default?: string | null | undefined;
|
|
1463
1467
|
}[];
|
|
1464
1468
|
optional: {
|
|
1465
|
-
name: string;
|
|
1466
1469
|
type: string;
|
|
1470
|
+
name: string;
|
|
1467
1471
|
description: string;
|
|
1468
1472
|
required: boolean;
|
|
1469
1473
|
displayName: string;
|
|
@@ -1480,16 +1484,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1480
1484
|
fields: {
|
|
1481
1485
|
authConfigCreation: {
|
|
1482
1486
|
required: {
|
|
1483
|
-
name: string;
|
|
1484
1487
|
type: string;
|
|
1488
|
+
name: string;
|
|
1485
1489
|
description: string;
|
|
1486
1490
|
required: boolean;
|
|
1487
1491
|
displayName: string;
|
|
1488
1492
|
default?: string | null | undefined;
|
|
1489
1493
|
}[];
|
|
1490
1494
|
optional: {
|
|
1491
|
-
name: string;
|
|
1492
1495
|
type: string;
|
|
1496
|
+
name: string;
|
|
1493
1497
|
description: string;
|
|
1494
1498
|
required: boolean;
|
|
1495
1499
|
displayName: string;
|
|
@@ -1498,16 +1502,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1498
1502
|
};
|
|
1499
1503
|
connectedAccountInitiation: {
|
|
1500
1504
|
required: {
|
|
1501
|
-
name: string;
|
|
1502
1505
|
type: string;
|
|
1506
|
+
name: string;
|
|
1503
1507
|
description: string;
|
|
1504
1508
|
required: boolean;
|
|
1505
1509
|
displayName: string;
|
|
1506
1510
|
default?: string | null | undefined;
|
|
1507
1511
|
}[];
|
|
1508
1512
|
optional: {
|
|
1509
|
-
name: string;
|
|
1510
1513
|
type: string;
|
|
1514
|
+
name: string;
|
|
1511
1515
|
description: string;
|
|
1512
1516
|
required: boolean;
|
|
1513
1517
|
displayName: string;
|
|
@@ -1523,17 +1527,17 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1523
1527
|
getCurrentUserEndpoint: z$1.ZodOptional<z$1.ZodString>;
|
|
1524
1528
|
getCurrentUserEndpointMethod: z$1.ZodOptional<z$1.ZodString>;
|
|
1525
1529
|
}, "strip", z$1.ZodTypeAny, {
|
|
1526
|
-
slug: string;
|
|
1527
1530
|
name: string;
|
|
1531
|
+
slug: string;
|
|
1528
1532
|
meta: {
|
|
1533
|
+
createdAt?: string | undefined;
|
|
1534
|
+
updatedAt?: string | undefined;
|
|
1529
1535
|
logo?: string | undefined;
|
|
1530
1536
|
description?: string | undefined;
|
|
1531
1537
|
availableVersions?: string[] | undefined;
|
|
1532
|
-
createdAt?: string | undefined;
|
|
1533
|
-
updatedAt?: string | undefined;
|
|
1534
1538
|
categories?: {
|
|
1535
|
-
slug: string;
|
|
1536
1539
|
name: string;
|
|
1540
|
+
slug: string;
|
|
1537
1541
|
}[] | undefined;
|
|
1538
1542
|
appUrl?: string | undefined;
|
|
1539
1543
|
toolsCount?: number | undefined;
|
|
@@ -1548,16 +1552,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1548
1552
|
fields: {
|
|
1549
1553
|
authConfigCreation: {
|
|
1550
1554
|
required: {
|
|
1551
|
-
name: string;
|
|
1552
1555
|
type: string;
|
|
1556
|
+
name: string;
|
|
1553
1557
|
description: string;
|
|
1554
1558
|
required: boolean;
|
|
1555
1559
|
displayName: string;
|
|
1556
1560
|
default?: string | null | undefined;
|
|
1557
1561
|
}[];
|
|
1558
1562
|
optional: {
|
|
1559
|
-
name: string;
|
|
1560
1563
|
type: string;
|
|
1564
|
+
name: string;
|
|
1561
1565
|
description: string;
|
|
1562
1566
|
required: boolean;
|
|
1563
1567
|
displayName: string;
|
|
@@ -1566,16 +1570,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1566
1570
|
};
|
|
1567
1571
|
connectedAccountInitiation: {
|
|
1568
1572
|
required: {
|
|
1569
|
-
name: string;
|
|
1570
1573
|
type: string;
|
|
1574
|
+
name: string;
|
|
1571
1575
|
description: string;
|
|
1572
1576
|
required: boolean;
|
|
1573
1577
|
displayName: string;
|
|
1574
1578
|
default?: string | null | undefined;
|
|
1575
1579
|
}[];
|
|
1576
1580
|
optional: {
|
|
1577
|
-
name: string;
|
|
1578
1581
|
type: string;
|
|
1582
|
+
name: string;
|
|
1579
1583
|
description: string;
|
|
1580
1584
|
required: boolean;
|
|
1581
1585
|
displayName: string;
|
|
@@ -1590,17 +1594,17 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1590
1594
|
getCurrentUserEndpoint?: string | undefined;
|
|
1591
1595
|
getCurrentUserEndpointMethod?: string | undefined;
|
|
1592
1596
|
}, {
|
|
1593
|
-
slug: string;
|
|
1594
1597
|
name: string;
|
|
1598
|
+
slug: string;
|
|
1595
1599
|
meta: {
|
|
1600
|
+
createdAt?: string | undefined;
|
|
1601
|
+
updatedAt?: string | undefined;
|
|
1596
1602
|
logo?: string | undefined;
|
|
1597
1603
|
description?: string | undefined;
|
|
1598
1604
|
availableVersions?: string[] | undefined;
|
|
1599
|
-
createdAt?: string | undefined;
|
|
1600
|
-
updatedAt?: string | undefined;
|
|
1601
1605
|
categories?: {
|
|
1602
|
-
slug: string;
|
|
1603
1606
|
name: string;
|
|
1607
|
+
slug: string;
|
|
1604
1608
|
}[] | undefined;
|
|
1605
1609
|
appUrl?: string | undefined;
|
|
1606
1610
|
toolsCount?: number | undefined;
|
|
@@ -1615,16 +1619,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1615
1619
|
fields: {
|
|
1616
1620
|
authConfigCreation: {
|
|
1617
1621
|
required: {
|
|
1618
|
-
name: string;
|
|
1619
1622
|
type: string;
|
|
1623
|
+
name: string;
|
|
1620
1624
|
description: string;
|
|
1621
1625
|
required: boolean;
|
|
1622
1626
|
displayName: string;
|
|
1623
1627
|
default?: string | null | undefined;
|
|
1624
1628
|
}[];
|
|
1625
1629
|
optional: {
|
|
1626
|
-
name: string;
|
|
1627
1630
|
type: string;
|
|
1631
|
+
name: string;
|
|
1628
1632
|
description: string;
|
|
1629
1633
|
required: boolean;
|
|
1630
1634
|
displayName: string;
|
|
@@ -1633,16 +1637,16 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1633
1637
|
};
|
|
1634
1638
|
connectedAccountInitiation: {
|
|
1635
1639
|
required: {
|
|
1636
|
-
name: string;
|
|
1637
1640
|
type: string;
|
|
1641
|
+
name: string;
|
|
1638
1642
|
description: string;
|
|
1639
1643
|
required: boolean;
|
|
1640
1644
|
displayName: string;
|
|
1641
1645
|
default?: string | null | undefined;
|
|
1642
1646
|
}[];
|
|
1643
1647
|
optional: {
|
|
1644
|
-
name: string;
|
|
1645
1648
|
type: string;
|
|
1649
|
+
name: string;
|
|
1646
1650
|
description: string;
|
|
1647
1651
|
required: boolean;
|
|
1648
1652
|
displayName: string;
|
|
@@ -1712,15 +1716,15 @@ declare const ToolkitAuthFieldsResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
1712
1716
|
} & {
|
|
1713
1717
|
required: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
1714
1718
|
}, "strip", z$1.ZodTypeAny, {
|
|
1715
|
-
name: string;
|
|
1716
1719
|
type: string;
|
|
1720
|
+
name: string;
|
|
1717
1721
|
description: string;
|
|
1718
1722
|
displayName: string;
|
|
1719
1723
|
required?: boolean | undefined;
|
|
1720
1724
|
default?: string | null | undefined;
|
|
1721
1725
|
}, {
|
|
1722
|
-
name: string;
|
|
1723
1726
|
type: string;
|
|
1727
|
+
name: string;
|
|
1724
1728
|
description: string;
|
|
1725
1729
|
displayName: string;
|
|
1726
1730
|
required?: boolean | undefined;
|
|
@@ -1967,13 +1971,13 @@ declare const CreateAuthConfigResponseSchema: z$1.ZodObject<{
|
|
|
1967
1971
|
toolkit: z$1.ZodString;
|
|
1968
1972
|
}, "strip", z$1.ZodTypeAny, {
|
|
1969
1973
|
toolkit: string;
|
|
1970
|
-
authScheme: string;
|
|
1971
1974
|
id: string;
|
|
1975
|
+
authScheme: string;
|
|
1972
1976
|
isComposioManaged: boolean;
|
|
1973
1977
|
}, {
|
|
1974
1978
|
toolkit: string;
|
|
1975
|
-
authScheme: string;
|
|
1976
1979
|
id: string;
|
|
1980
|
+
authScheme: string;
|
|
1977
1981
|
isComposioManaged: boolean;
|
|
1978
1982
|
}>;
|
|
1979
1983
|
type CreateAuthConfigResponse = z$1.infer<typeof CreateAuthConfigResponseSchema>;
|
|
@@ -2015,16 +2019,16 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2015
2019
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2016
2020
|
}>>;
|
|
2017
2021
|
}, "strip", z$1.ZodTypeAny, {
|
|
2018
|
-
name: string;
|
|
2019
|
-
status: "ENABLED" | "DISABLED";
|
|
2020
2022
|
toolkit: {
|
|
2021
2023
|
slug: string;
|
|
2022
2024
|
logo: string;
|
|
2023
2025
|
};
|
|
2026
|
+
status: "ENABLED" | "DISABLED";
|
|
2027
|
+
name: string;
|
|
2024
2028
|
id: string;
|
|
2025
2029
|
noOfConnections: number;
|
|
2026
|
-
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;
|
|
2027
2030
|
createdAt?: string | undefined;
|
|
2031
|
+
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
2032
|
isComposioManaged?: boolean | undefined;
|
|
2029
2033
|
credentials?: Record<string, unknown> | undefined;
|
|
2030
2034
|
toolAccessConfig?: {
|
|
@@ -2037,16 +2041,16 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2037
2041
|
createdBy?: string | undefined;
|
|
2038
2042
|
lastUpdatedAt?: string | undefined;
|
|
2039
2043
|
}, {
|
|
2040
|
-
name: string;
|
|
2041
|
-
status: "ENABLED" | "DISABLED";
|
|
2042
2044
|
toolkit: {
|
|
2043
2045
|
slug: string;
|
|
2044
2046
|
logo: string;
|
|
2045
2047
|
};
|
|
2048
|
+
status: "ENABLED" | "DISABLED";
|
|
2049
|
+
name: string;
|
|
2046
2050
|
id: string;
|
|
2047
2051
|
noOfConnections: number;
|
|
2048
|
-
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;
|
|
2049
2052
|
createdAt?: string | undefined;
|
|
2053
|
+
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
2054
|
isComposioManaged?: boolean | undefined;
|
|
2051
2055
|
credentials?: Record<string, unknown> | undefined;
|
|
2052
2056
|
toolAccessConfig?: {
|
|
@@ -2069,16 +2073,16 @@ declare const AuthConfigListParamsSchema: z$1.ZodObject<{
|
|
|
2069
2073
|
toolkit: z$1.ZodOptional<z$1.ZodString>;
|
|
2070
2074
|
}, "strip", z$1.ZodTypeAny, {
|
|
2071
2075
|
toolkit?: string | undefined;
|
|
2076
|
+
cursor?: string | undefined;
|
|
2072
2077
|
limit?: number | undefined;
|
|
2073
2078
|
search?: string | undefined;
|
|
2074
|
-
cursor?: string | undefined;
|
|
2075
2079
|
isComposioManaged?: boolean | undefined;
|
|
2076
2080
|
showDisabled?: boolean | undefined;
|
|
2077
2081
|
}, {
|
|
2078
2082
|
toolkit?: string | undefined;
|
|
2083
|
+
cursor?: string | undefined;
|
|
2079
2084
|
limit?: number | undefined;
|
|
2080
2085
|
search?: string | undefined;
|
|
2081
|
-
cursor?: string | undefined;
|
|
2082
2086
|
isComposioManaged?: boolean | undefined;
|
|
2083
2087
|
showDisabled?: boolean | undefined;
|
|
2084
2088
|
}>;
|
|
@@ -2122,16 +2126,16 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2122
2126
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2123
2127
|
}>>;
|
|
2124
2128
|
}, "strip", z$1.ZodTypeAny, {
|
|
2125
|
-
name: string;
|
|
2126
|
-
status: "ENABLED" | "DISABLED";
|
|
2127
2129
|
toolkit: {
|
|
2128
2130
|
slug: string;
|
|
2129
2131
|
logo: string;
|
|
2130
2132
|
};
|
|
2133
|
+
status: "ENABLED" | "DISABLED";
|
|
2134
|
+
name: string;
|
|
2131
2135
|
id: string;
|
|
2132
2136
|
noOfConnections: number;
|
|
2133
|
-
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;
|
|
2134
2137
|
createdAt?: string | undefined;
|
|
2138
|
+
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
2139
|
isComposioManaged?: boolean | undefined;
|
|
2136
2140
|
credentials?: Record<string, unknown> | undefined;
|
|
2137
2141
|
toolAccessConfig?: {
|
|
@@ -2144,16 +2148,16 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2144
2148
|
createdBy?: string | undefined;
|
|
2145
2149
|
lastUpdatedAt?: string | undefined;
|
|
2146
2150
|
}, {
|
|
2147
|
-
name: string;
|
|
2148
|
-
status: "ENABLED" | "DISABLED";
|
|
2149
2151
|
toolkit: {
|
|
2150
2152
|
slug: string;
|
|
2151
2153
|
logo: string;
|
|
2152
2154
|
};
|
|
2155
|
+
status: "ENABLED" | "DISABLED";
|
|
2156
|
+
name: string;
|
|
2153
2157
|
id: string;
|
|
2154
2158
|
noOfConnections: number;
|
|
2155
|
-
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;
|
|
2156
2159
|
createdAt?: string | undefined;
|
|
2160
|
+
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
2161
|
isComposioManaged?: boolean | undefined;
|
|
2158
2162
|
credentials?: Record<string, unknown> | undefined;
|
|
2159
2163
|
toolAccessConfig?: {
|
|
@@ -2170,16 +2174,16 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2170
2174
|
totalPages: z$1.ZodNumber;
|
|
2171
2175
|
}, "strip", z$1.ZodTypeAny, {
|
|
2172
2176
|
items: {
|
|
2173
|
-
name: string;
|
|
2174
|
-
status: "ENABLED" | "DISABLED";
|
|
2175
2177
|
toolkit: {
|
|
2176
2178
|
slug: string;
|
|
2177
2179
|
logo: string;
|
|
2178
2180
|
};
|
|
2181
|
+
status: "ENABLED" | "DISABLED";
|
|
2182
|
+
name: string;
|
|
2179
2183
|
id: string;
|
|
2180
2184
|
noOfConnections: number;
|
|
2181
|
-
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;
|
|
2182
2185
|
createdAt?: string | undefined;
|
|
2186
|
+
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
2187
|
isComposioManaged?: boolean | undefined;
|
|
2184
2188
|
credentials?: Record<string, unknown> | undefined;
|
|
2185
2189
|
toolAccessConfig?: {
|
|
@@ -2196,16 +2200,16 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2196
2200
|
totalPages: number;
|
|
2197
2201
|
}, {
|
|
2198
2202
|
items: {
|
|
2199
|
-
name: string;
|
|
2200
|
-
status: "ENABLED" | "DISABLED";
|
|
2201
2203
|
toolkit: {
|
|
2202
2204
|
slug: string;
|
|
2203
2205
|
logo: string;
|
|
2204
2206
|
};
|
|
2207
|
+
status: "ENABLED" | "DISABLED";
|
|
2208
|
+
name: string;
|
|
2205
2209
|
id: string;
|
|
2206
2210
|
noOfConnections: number;
|
|
2207
|
-
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;
|
|
2208
2211
|
createdAt?: string | undefined;
|
|
2212
|
+
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
2213
|
isComposioManaged?: boolean | undefined;
|
|
2210
2214
|
credentials?: Record<string, unknown> | undefined;
|
|
2211
2215
|
toolAccessConfig?: {
|
|
@@ -2545,18 +2549,18 @@ declare const TriggerSubscribeParamSchema: z$1.ZodObject<{
|
|
|
2545
2549
|
triggerData: z$1.ZodOptional<z$1.ZodString>;
|
|
2546
2550
|
userId: z$1.ZodOptional<z$1.ZodString>;
|
|
2547
2551
|
}, "strip", z$1.ZodTypeAny, {
|
|
2552
|
+
authConfigId?: string | undefined;
|
|
2553
|
+
userId?: string | undefined;
|
|
2548
2554
|
toolkits?: string[] | undefined;
|
|
2549
2555
|
connectedAccountId?: string | undefined;
|
|
2550
|
-
userId?: string | undefined;
|
|
2551
|
-
authConfigId?: string | undefined;
|
|
2552
2556
|
triggerId?: string | undefined;
|
|
2553
2557
|
triggerSlug?: string[] | undefined;
|
|
2554
2558
|
triggerData?: string | undefined;
|
|
2555
2559
|
}, {
|
|
2560
|
+
authConfigId?: string | undefined;
|
|
2561
|
+
userId?: string | undefined;
|
|
2556
2562
|
toolkits?: string[] | undefined;
|
|
2557
2563
|
connectedAccountId?: string | undefined;
|
|
2558
|
-
userId?: string | undefined;
|
|
2559
|
-
authConfigId?: string | undefined;
|
|
2560
2564
|
triggerId?: string | undefined;
|
|
2561
2565
|
triggerSlug?: string[] | undefined;
|
|
2562
2566
|
triggerData?: string | undefined;
|
|
@@ -2571,18 +2575,18 @@ declare const TriggerInstanceListActiveParamsSchema: z$1.ZodObject<{
|
|
|
2571
2575
|
triggerIds: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
|
|
2572
2576
|
triggerNames: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
|
|
2573
2577
|
}, "strip", z$1.ZodTypeAny, {
|
|
2574
|
-
limit?: number | undefined;
|
|
2575
|
-
authConfigIds?: string[] | null | undefined;
|
|
2576
2578
|
connectedAccountIds?: string[] | null | undefined;
|
|
2579
|
+
authConfigIds?: string[] | null | undefined;
|
|
2577
2580
|
cursor?: string | undefined;
|
|
2581
|
+
limit?: number | undefined;
|
|
2578
2582
|
showDisabled?: boolean | null | undefined;
|
|
2579
2583
|
triggerIds?: string[] | null | undefined;
|
|
2580
2584
|
triggerNames?: string[] | null | undefined;
|
|
2581
2585
|
}, {
|
|
2582
|
-
limit?: number | undefined;
|
|
2583
|
-
authConfigIds?: string[] | null | undefined;
|
|
2584
2586
|
connectedAccountIds?: string[] | null | undefined;
|
|
2587
|
+
authConfigIds?: string[] | null | undefined;
|
|
2585
2588
|
cursor?: string | undefined;
|
|
2589
|
+
limit?: number | undefined;
|
|
2586
2590
|
showDisabled?: boolean | null | undefined;
|
|
2587
2591
|
triggerIds?: string[] | null | undefined;
|
|
2588
2592
|
triggerNames?: string[] | null | undefined;
|
|
@@ -2599,9 +2603,9 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
|
|
|
2599
2603
|
triggerData: z$1.ZodOptional<z$1.ZodString>;
|
|
2600
2604
|
uuid: z$1.ZodOptional<z$1.ZodString>;
|
|
2601
2605
|
}, "strip", z$1.ZodTypeAny, {
|
|
2602
|
-
connectedAccountId: string;
|
|
2603
2606
|
id: string;
|
|
2604
2607
|
updatedAt: string;
|
|
2608
|
+
connectedAccountId: string;
|
|
2605
2609
|
disabledAt: string | null;
|
|
2606
2610
|
state: Record<string, unknown>;
|
|
2607
2611
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2609,9 +2613,9 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
|
|
|
2609
2613
|
uuid?: string | undefined;
|
|
2610
2614
|
triggerData?: string | undefined;
|
|
2611
2615
|
}, {
|
|
2612
|
-
connectedAccountId: string;
|
|
2613
2616
|
id: string;
|
|
2614
2617
|
updatedAt: string;
|
|
2618
|
+
connectedAccountId: string;
|
|
2615
2619
|
disabledAt: string | null;
|
|
2616
2620
|
state: Record<string, unknown>;
|
|
2617
2621
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2631,9 +2635,9 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
2631
2635
|
triggerData: z$1.ZodOptional<z$1.ZodString>;
|
|
2632
2636
|
uuid: z$1.ZodOptional<z$1.ZodString>;
|
|
2633
2637
|
}, "strip", z$1.ZodTypeAny, {
|
|
2634
|
-
connectedAccountId: string;
|
|
2635
2638
|
id: string;
|
|
2636
2639
|
updatedAt: string;
|
|
2640
|
+
connectedAccountId: string;
|
|
2637
2641
|
disabledAt: string | null;
|
|
2638
2642
|
state: Record<string, unknown>;
|
|
2639
2643
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2641,9 +2645,9 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
2641
2645
|
uuid?: string | undefined;
|
|
2642
2646
|
triggerData?: string | undefined;
|
|
2643
2647
|
}, {
|
|
2644
|
-
connectedAccountId: string;
|
|
2645
2648
|
id: string;
|
|
2646
2649
|
updatedAt: string;
|
|
2650
|
+
connectedAccountId: string;
|
|
2647
2651
|
disabledAt: string | null;
|
|
2648
2652
|
state: Record<string, unknown>;
|
|
2649
2653
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2655,9 +2659,9 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
2655
2659
|
totalPages: z$1.ZodNumber;
|
|
2656
2660
|
}, "strip", z$1.ZodTypeAny, {
|
|
2657
2661
|
items: {
|
|
2658
|
-
connectedAccountId: string;
|
|
2659
2662
|
id: string;
|
|
2660
2663
|
updatedAt: string;
|
|
2664
|
+
connectedAccountId: string;
|
|
2661
2665
|
disabledAt: string | null;
|
|
2662
2666
|
state: Record<string, unknown>;
|
|
2663
2667
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2669,9 +2673,9 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
2669
2673
|
totalPages: number;
|
|
2670
2674
|
}, {
|
|
2671
2675
|
items: {
|
|
2672
|
-
connectedAccountId: string;
|
|
2673
2676
|
id: string;
|
|
2674
2677
|
updatedAt: string;
|
|
2678
|
+
connectedAccountId: string;
|
|
2675
2679
|
disabledAt: string | null;
|
|
2676
2680
|
state: Record<string, unknown>;
|
|
2677
2681
|
triggerConfig: Record<string, unknown>;
|
|
@@ -2750,28 +2754,28 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
2750
2754
|
userId: z$1.ZodString;
|
|
2751
2755
|
status: z$1.ZodEnum<["ACTIVE", "INACTIVE"]>;
|
|
2752
2756
|
}, "strip", z$1.ZodTypeAny, {
|
|
2757
|
+
authConfigId: string;
|
|
2753
2758
|
status: "ACTIVE" | "INACTIVE";
|
|
2754
2759
|
userId: string;
|
|
2755
|
-
authConfigId: string;
|
|
2756
2760
|
uuid: string;
|
|
2757
2761
|
id: string;
|
|
2758
2762
|
authConfigUUID: string;
|
|
2759
2763
|
}, {
|
|
2764
|
+
authConfigId: string;
|
|
2760
2765
|
status: "ACTIVE" | "INACTIVE";
|
|
2761
2766
|
userId: string;
|
|
2762
|
-
authConfigId: string;
|
|
2763
2767
|
uuid: string;
|
|
2764
2768
|
id: string;
|
|
2765
2769
|
authConfigUUID: string;
|
|
2766
2770
|
}>;
|
|
2767
2771
|
}, "strip", z$1.ZodTypeAny, {
|
|
2768
|
-
toolkitSlug: string;
|
|
2769
2772
|
uuid: string;
|
|
2770
2773
|
id: string;
|
|
2774
|
+
toolkitSlug: string;
|
|
2771
2775
|
connectedAccount: {
|
|
2776
|
+
authConfigId: string;
|
|
2772
2777
|
status: "ACTIVE" | "INACTIVE";
|
|
2773
2778
|
userId: string;
|
|
2774
|
-
authConfigId: string;
|
|
2775
2779
|
uuid: string;
|
|
2776
2780
|
id: string;
|
|
2777
2781
|
authConfigUUID: string;
|
|
@@ -2780,13 +2784,13 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
2780
2784
|
triggerConfig: Record<string, unknown>;
|
|
2781
2785
|
triggerData?: string | undefined;
|
|
2782
2786
|
}, {
|
|
2783
|
-
toolkitSlug: string;
|
|
2784
2787
|
uuid: string;
|
|
2785
2788
|
id: string;
|
|
2789
|
+
toolkitSlug: string;
|
|
2786
2790
|
connectedAccount: {
|
|
2791
|
+
authConfigId: string;
|
|
2787
2792
|
status: "ACTIVE" | "INACTIVE";
|
|
2788
2793
|
userId: string;
|
|
2789
|
-
authConfigId: string;
|
|
2790
2794
|
uuid: string;
|
|
2791
2795
|
id: string;
|
|
2792
2796
|
authConfigUUID: string;
|
|
@@ -2796,19 +2800,19 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
2796
2800
|
triggerData?: string | undefined;
|
|
2797
2801
|
}>;
|
|
2798
2802
|
}, "strip", z$1.ZodTypeAny, {
|
|
2799
|
-
toolkitSlug: string;
|
|
2800
2803
|
userId: string;
|
|
2801
2804
|
uuid: string;
|
|
2802
2805
|
id: string;
|
|
2806
|
+
toolkitSlug: string;
|
|
2803
2807
|
triggerSlug: string;
|
|
2804
2808
|
metadata: {
|
|
2805
|
-
toolkitSlug: string;
|
|
2806
2809
|
uuid: string;
|
|
2807
2810
|
id: string;
|
|
2811
|
+
toolkitSlug: string;
|
|
2808
2812
|
connectedAccount: {
|
|
2813
|
+
authConfigId: string;
|
|
2809
2814
|
status: "ACTIVE" | "INACTIVE";
|
|
2810
2815
|
userId: string;
|
|
2811
|
-
authConfigId: string;
|
|
2812
2816
|
uuid: string;
|
|
2813
2817
|
id: string;
|
|
2814
2818
|
authConfigUUID: string;
|
|
@@ -2820,19 +2824,19 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
2820
2824
|
payload?: Record<string, unknown> | undefined;
|
|
2821
2825
|
originalPayload?: Record<string, unknown> | undefined;
|
|
2822
2826
|
}, {
|
|
2823
|
-
toolkitSlug: string;
|
|
2824
2827
|
userId: string;
|
|
2825
2828
|
uuid: string;
|
|
2826
2829
|
id: string;
|
|
2830
|
+
toolkitSlug: string;
|
|
2827
2831
|
triggerSlug: string;
|
|
2828
2832
|
metadata: {
|
|
2829
|
-
toolkitSlug: string;
|
|
2830
2833
|
uuid: string;
|
|
2831
2834
|
id: string;
|
|
2835
|
+
toolkitSlug: string;
|
|
2832
2836
|
connectedAccount: {
|
|
2837
|
+
authConfigId: string;
|
|
2833
2838
|
status: "ACTIVE" | "INACTIVE";
|
|
2834
2839
|
userId: string;
|
|
2835
|
-
authConfigId: string;
|
|
2836
2840
|
uuid: string;
|
|
2837
2841
|
id: string;
|
|
2838
2842
|
authConfigUUID: string;
|
|
@@ -2872,12 +2876,12 @@ declare const TriggersTypeListParamsSchema: z$1.ZodObject<{
|
|
|
2872
2876
|
toolkits: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString, "many">>>;
|
|
2873
2877
|
}, "strip", z$1.ZodTypeAny, {
|
|
2874
2878
|
toolkits?: string[] | null | undefined;
|
|
2875
|
-
limit?: number | null | undefined;
|
|
2876
2879
|
cursor?: string | undefined;
|
|
2880
|
+
limit?: number | null | undefined;
|
|
2877
2881
|
}, {
|
|
2878
2882
|
toolkits?: string[] | null | undefined;
|
|
2879
|
-
limit?: number | null | undefined;
|
|
2880
2883
|
cursor?: string | undefined;
|
|
2884
|
+
limit?: number | null | undefined;
|
|
2881
2885
|
}>;
|
|
2882
2886
|
type TriggersTypeListParams = z$1.infer<typeof TriggersTypeListParamsSchema>;
|
|
2883
2887
|
declare const TriggerTypeSchema: z$1.ZodObject<{
|
|
@@ -2890,40 +2894,40 @@ declare const TriggerTypeSchema: z$1.ZodObject<{
|
|
|
2890
2894
|
slug: z$1.ZodString;
|
|
2891
2895
|
name: z$1.ZodString;
|
|
2892
2896
|
}, "strip", z$1.ZodTypeAny, {
|
|
2893
|
-
slug: string;
|
|
2894
2897
|
name: string;
|
|
2898
|
+
slug: string;
|
|
2895
2899
|
logo: string;
|
|
2896
2900
|
}, {
|
|
2897
|
-
slug: string;
|
|
2898
2901
|
name: string;
|
|
2902
|
+
slug: string;
|
|
2899
2903
|
logo: string;
|
|
2900
2904
|
}>;
|
|
2901
2905
|
payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
2902
2906
|
config: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
2903
2907
|
version: z$1.ZodOptional<z$1.ZodString>;
|
|
2904
2908
|
}, "strip", z$1.ZodTypeAny, {
|
|
2905
|
-
slug: string;
|
|
2906
|
-
name: string;
|
|
2907
|
-
description: string;
|
|
2908
2909
|
toolkit: {
|
|
2909
|
-
slug: string;
|
|
2910
2910
|
name: string;
|
|
2911
|
+
slug: string;
|
|
2911
2912
|
logo: string;
|
|
2912
2913
|
};
|
|
2914
|
+
name: string;
|
|
2913
2915
|
config: Record<string, unknown>;
|
|
2916
|
+
slug: string;
|
|
2917
|
+
description: string;
|
|
2914
2918
|
payload: Record<string, unknown>;
|
|
2915
2919
|
version?: string | undefined;
|
|
2916
2920
|
instructions?: string | undefined;
|
|
2917
2921
|
}, {
|
|
2918
|
-
slug: string;
|
|
2919
|
-
name: string;
|
|
2920
|
-
description: string;
|
|
2921
2922
|
toolkit: {
|
|
2922
|
-
slug: string;
|
|
2923
2923
|
name: string;
|
|
2924
|
+
slug: string;
|
|
2924
2925
|
logo: string;
|
|
2925
2926
|
};
|
|
2927
|
+
name: string;
|
|
2926
2928
|
config: Record<string, unknown>;
|
|
2929
|
+
slug: string;
|
|
2930
|
+
description: string;
|
|
2927
2931
|
payload: Record<string, unknown>;
|
|
2928
2932
|
version?: string | undefined;
|
|
2929
2933
|
instructions?: string | undefined;
|
|
@@ -2940,40 +2944,40 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
2940
2944
|
slug: z$1.ZodString;
|
|
2941
2945
|
name: z$1.ZodString;
|
|
2942
2946
|
}, "strip", z$1.ZodTypeAny, {
|
|
2943
|
-
slug: string;
|
|
2944
2947
|
name: string;
|
|
2948
|
+
slug: string;
|
|
2945
2949
|
logo: string;
|
|
2946
2950
|
}, {
|
|
2947
|
-
slug: string;
|
|
2948
2951
|
name: string;
|
|
2952
|
+
slug: string;
|
|
2949
2953
|
logo: string;
|
|
2950
2954
|
}>;
|
|
2951
2955
|
payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
2952
2956
|
config: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
2953
2957
|
version: z$1.ZodOptional<z$1.ZodString>;
|
|
2954
2958
|
}, "strip", z$1.ZodTypeAny, {
|
|
2955
|
-
slug: string;
|
|
2956
|
-
name: string;
|
|
2957
|
-
description: string;
|
|
2958
2959
|
toolkit: {
|
|
2959
|
-
slug: string;
|
|
2960
2960
|
name: string;
|
|
2961
|
+
slug: string;
|
|
2961
2962
|
logo: string;
|
|
2962
2963
|
};
|
|
2964
|
+
name: string;
|
|
2963
2965
|
config: Record<string, unknown>;
|
|
2966
|
+
slug: string;
|
|
2967
|
+
description: string;
|
|
2964
2968
|
payload: Record<string, unknown>;
|
|
2965
2969
|
version?: string | undefined;
|
|
2966
2970
|
instructions?: string | undefined;
|
|
2967
2971
|
}, {
|
|
2968
|
-
slug: string;
|
|
2969
|
-
name: string;
|
|
2970
|
-
description: string;
|
|
2971
2972
|
toolkit: {
|
|
2972
|
-
slug: string;
|
|
2973
2973
|
name: string;
|
|
2974
|
+
slug: string;
|
|
2974
2975
|
logo: string;
|
|
2975
2976
|
};
|
|
2977
|
+
name: string;
|
|
2976
2978
|
config: Record<string, unknown>;
|
|
2979
|
+
slug: string;
|
|
2980
|
+
description: string;
|
|
2977
2981
|
payload: Record<string, unknown>;
|
|
2978
2982
|
version?: string | undefined;
|
|
2979
2983
|
instructions?: string | undefined;
|
|
@@ -2982,15 +2986,15 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
2982
2986
|
totalPages: z$1.ZodNumber;
|
|
2983
2987
|
}, "strip", z$1.ZodTypeAny, {
|
|
2984
2988
|
items: {
|
|
2985
|
-
slug: string;
|
|
2986
|
-
name: string;
|
|
2987
|
-
description: string;
|
|
2988
2989
|
toolkit: {
|
|
2989
|
-
slug: string;
|
|
2990
2990
|
name: string;
|
|
2991
|
+
slug: string;
|
|
2991
2992
|
logo: string;
|
|
2992
2993
|
};
|
|
2994
|
+
name: string;
|
|
2993
2995
|
config: Record<string, unknown>;
|
|
2996
|
+
slug: string;
|
|
2997
|
+
description: string;
|
|
2994
2998
|
payload: Record<string, unknown>;
|
|
2995
2999
|
version?: string | undefined;
|
|
2996
3000
|
instructions?: string | undefined;
|
|
@@ -2999,15 +3003,15 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
2999
3003
|
nextCursor?: string | null | undefined;
|
|
3000
3004
|
}, {
|
|
3001
3005
|
items: {
|
|
3002
|
-
slug: string;
|
|
3003
|
-
name: string;
|
|
3004
|
-
description: string;
|
|
3005
3006
|
toolkit: {
|
|
3006
|
-
slug: string;
|
|
3007
3007
|
name: string;
|
|
3008
|
+
slug: string;
|
|
3008
3009
|
logo: string;
|
|
3009
3010
|
};
|
|
3011
|
+
name: string;
|
|
3010
3012
|
config: Record<string, unknown>;
|
|
3013
|
+
slug: string;
|
|
3014
|
+
description: string;
|
|
3011
3015
|
payload: Record<string, unknown>;
|
|
3012
3016
|
version?: string | undefined;
|
|
3013
3017
|
instructions?: string | undefined;
|
|
@@ -3121,14 +3125,14 @@ declare const WebhookPayloadV3Schema: z$1.ZodObject<{
|
|
|
3121
3125
|
data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
3122
3126
|
}, "strip", z$1.ZodTypeAny, {
|
|
3123
3127
|
type: string;
|
|
3124
|
-
data: Record<string, unknown>;
|
|
3125
3128
|
id: string;
|
|
3129
|
+
data: Record<string, unknown>;
|
|
3126
3130
|
metadata: Record<string, unknown>;
|
|
3127
3131
|
timestamp: string;
|
|
3128
3132
|
}, {
|
|
3129
3133
|
type: string;
|
|
3130
|
-
data: Record<string, unknown>;
|
|
3131
3134
|
id: string;
|
|
3135
|
+
data: Record<string, unknown>;
|
|
3132
3136
|
metadata: Record<string, unknown>;
|
|
3133
3137
|
timestamp: string;
|
|
3134
3138
|
}>;
|
|
@@ -3163,8 +3167,8 @@ declare const WebhookTriggerPayloadV3Schema: z$1.ZodObject<{
|
|
|
3163
3167
|
data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
3164
3168
|
}, "strip", z$1.ZodTypeAny, {
|
|
3165
3169
|
type: string;
|
|
3166
|
-
data: Record<string, unknown>;
|
|
3167
3170
|
id: string;
|
|
3171
|
+
data: Record<string, unknown>;
|
|
3168
3172
|
metadata: {
|
|
3169
3173
|
trigger_id: string;
|
|
3170
3174
|
log_id: string;
|
|
@@ -3178,8 +3182,8 @@ declare const WebhookTriggerPayloadV3Schema: z$1.ZodObject<{
|
|
|
3178
3182
|
timestamp: string;
|
|
3179
3183
|
}, {
|
|
3180
3184
|
type: string;
|
|
3181
|
-
data: Record<string, unknown>;
|
|
3182
3185
|
id: string;
|
|
3186
|
+
data: Record<string, unknown>;
|
|
3183
3187
|
metadata: {
|
|
3184
3188
|
trigger_id: string;
|
|
3185
3189
|
log_id: string;
|
|
@@ -3202,14 +3206,14 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
|
|
|
3202
3206
|
data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
3203
3207
|
}, "strip", z$1.ZodTypeAny, {
|
|
3204
3208
|
type: string;
|
|
3205
|
-
data: Record<string, unknown>;
|
|
3206
3209
|
id: string;
|
|
3210
|
+
data: Record<string, unknown>;
|
|
3207
3211
|
metadata: Record<string, unknown>;
|
|
3208
3212
|
timestamp: string;
|
|
3209
3213
|
}, {
|
|
3210
3214
|
type: string;
|
|
3211
|
-
data: Record<string, unknown>;
|
|
3212
3215
|
id: string;
|
|
3216
|
+
data: Record<string, unknown>;
|
|
3213
3217
|
metadata: Record<string, unknown>;
|
|
3214
3218
|
timestamp: string;
|
|
3215
3219
|
}>, z$1.ZodObject<{
|
|
@@ -4305,19 +4309,19 @@ declare const MCPServerInstanceSchema: z.ZodObject<{
|
|
|
4305
4309
|
allowedTools: z.ZodArray<z.ZodString, "many">;
|
|
4306
4310
|
authConfigs: z.ZodArray<z.ZodString, "many">;
|
|
4307
4311
|
}, "strip", z.ZodTypeAny, {
|
|
4308
|
-
name: string;
|
|
4309
4312
|
type: "streamable_http";
|
|
4310
|
-
userId: string;
|
|
4311
4313
|
allowedTools: string[];
|
|
4314
|
+
userId: string;
|
|
4312
4315
|
url: string;
|
|
4316
|
+
name: string;
|
|
4313
4317
|
id: string;
|
|
4314
4318
|
authConfigs: string[];
|
|
4315
4319
|
}, {
|
|
4316
|
-
name: string;
|
|
4317
4320
|
type: "streamable_http";
|
|
4318
|
-
userId: string;
|
|
4319
4321
|
allowedTools: string[];
|
|
4322
|
+
userId: string;
|
|
4320
4323
|
url: string;
|
|
4324
|
+
name: string;
|
|
4321
4325
|
id: string;
|
|
4322
4326
|
authConfigs: string[];
|
|
4323
4327
|
}>;
|
|
@@ -4398,10 +4402,10 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
|
|
|
4398
4402
|
*/
|
|
4399
4403
|
MCPUrl: z.ZodString;
|
|
4400
4404
|
}, "strip", z.ZodTypeAny, {
|
|
4401
|
-
name: string;
|
|
4402
|
-
authConfigIds: string[];
|
|
4403
4405
|
allowedTools: string[];
|
|
4406
|
+
name: string;
|
|
4404
4407
|
id: string;
|
|
4408
|
+
authConfigIds: string[];
|
|
4405
4409
|
commands: {
|
|
4406
4410
|
claude: string;
|
|
4407
4411
|
cursor: string;
|
|
@@ -4409,10 +4413,10 @@ declare const MCPConfigResponseSchema: z.ZodObject<{
|
|
|
4409
4413
|
};
|
|
4410
4414
|
MCPUrl: string;
|
|
4411
4415
|
}, {
|
|
4412
|
-
name: string;
|
|
4413
|
-
authConfigIds: string[];
|
|
4414
4416
|
allowedTools: string[];
|
|
4417
|
+
name: string;
|
|
4415
4418
|
id: string;
|
|
4419
|
+
authConfigIds: string[];
|
|
4416
4420
|
commands: {
|
|
4417
4421
|
claude: string;
|
|
4418
4422
|
cursor: string;
|
|
@@ -4445,15 +4449,15 @@ declare const MCPListParamsSchema: z.ZodObject<{
|
|
|
4445
4449
|
name: z.ZodOptional<z.ZodString>;
|
|
4446
4450
|
}, "strip", z.ZodTypeAny, {
|
|
4447
4451
|
toolkits: string[];
|
|
4448
|
-
limit: number;
|
|
4449
4452
|
page: number;
|
|
4453
|
+
limit: number;
|
|
4450
4454
|
authConfigs: string[];
|
|
4451
4455
|
name?: string | undefined;
|
|
4452
4456
|
}, {
|
|
4453
4457
|
name?: string | undefined;
|
|
4454
4458
|
toolkits?: string[] | undefined;
|
|
4455
|
-
limit?: number | undefined;
|
|
4456
4459
|
page?: number | undefined;
|
|
4460
|
+
limit?: number | undefined;
|
|
4457
4461
|
authConfigs?: string[] | undefined;
|
|
4458
4462
|
}>;
|
|
4459
4463
|
type MCPListParams = z.infer<typeof MCPListParamsSchema>;
|
|
@@ -4508,11 +4512,11 @@ declare const MCPItemSchema: z.ZodObject<{
|
|
|
4508
4512
|
serverInstanceCount: z.ZodNumber;
|
|
4509
4513
|
toolkits: z.ZodArray<z.ZodString, "many">;
|
|
4510
4514
|
}, "strip", z.ZodTypeAny, {
|
|
4515
|
+
allowedTools: string[];
|
|
4511
4516
|
name: string;
|
|
4512
4517
|
toolkits: string[];
|
|
4513
|
-
authConfigIds: string[];
|
|
4514
|
-
allowedTools: string[];
|
|
4515
4518
|
id: string;
|
|
4519
|
+
authConfigIds: string[];
|
|
4516
4520
|
commands: {
|
|
4517
4521
|
claude: string;
|
|
4518
4522
|
cursor: string;
|
|
@@ -4522,11 +4526,11 @@ declare const MCPItemSchema: z.ZodObject<{
|
|
|
4522
4526
|
toolkitIcons: Record<string, string>;
|
|
4523
4527
|
serverInstanceCount: number;
|
|
4524
4528
|
}, {
|
|
4529
|
+
allowedTools: string[];
|
|
4525
4530
|
name: string;
|
|
4526
4531
|
toolkits: string[];
|
|
4527
|
-
authConfigIds: string[];
|
|
4528
|
-
allowedTools: string[];
|
|
4529
4532
|
id: string;
|
|
4533
|
+
authConfigIds: string[];
|
|
4530
4534
|
commands: {
|
|
4531
4535
|
claude: string;
|
|
4532
4536
|
cursor: string;
|
|
@@ -4589,11 +4593,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
4589
4593
|
serverInstanceCount: z.ZodNumber;
|
|
4590
4594
|
toolkits: z.ZodArray<z.ZodString, "many">;
|
|
4591
4595
|
}, "strip", z.ZodTypeAny, {
|
|
4596
|
+
allowedTools: string[];
|
|
4592
4597
|
name: string;
|
|
4593
4598
|
toolkits: string[];
|
|
4594
|
-
authConfigIds: string[];
|
|
4595
|
-
allowedTools: string[];
|
|
4596
4599
|
id: string;
|
|
4600
|
+
authConfigIds: string[];
|
|
4597
4601
|
commands: {
|
|
4598
4602
|
claude: string;
|
|
4599
4603
|
cursor: string;
|
|
@@ -4603,11 +4607,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
4603
4607
|
toolkitIcons: Record<string, string>;
|
|
4604
4608
|
serverInstanceCount: number;
|
|
4605
4609
|
}, {
|
|
4610
|
+
allowedTools: string[];
|
|
4606
4611
|
name: string;
|
|
4607
4612
|
toolkits: string[];
|
|
4608
|
-
authConfigIds: string[];
|
|
4609
|
-
allowedTools: string[];
|
|
4610
4613
|
id: string;
|
|
4614
|
+
authConfigIds: string[];
|
|
4611
4615
|
commands: {
|
|
4612
4616
|
claude: string;
|
|
4613
4617
|
cursor: string;
|
|
@@ -4621,11 +4625,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
4621
4625
|
totalPages: z.ZodNumber;
|
|
4622
4626
|
}, "strip", z.ZodTypeAny, {
|
|
4623
4627
|
items: {
|
|
4628
|
+
allowedTools: string[];
|
|
4624
4629
|
name: string;
|
|
4625
4630
|
toolkits: string[];
|
|
4626
|
-
authConfigIds: string[];
|
|
4627
|
-
allowedTools: string[];
|
|
4628
4631
|
id: string;
|
|
4632
|
+
authConfigIds: string[];
|
|
4629
4633
|
commands: {
|
|
4630
4634
|
claude: string;
|
|
4631
4635
|
cursor: string;
|
|
@@ -4639,11 +4643,11 @@ declare const MCPListResponseSchema: z.ZodObject<{
|
|
|
4639
4643
|
currentPage: number;
|
|
4640
4644
|
}, {
|
|
4641
4645
|
items: {
|
|
4646
|
+
allowedTools: string[];
|
|
4642
4647
|
name: string;
|
|
4643
4648
|
toolkits: string[];
|
|
4644
|
-
authConfigIds: string[];
|
|
4645
|
-
allowedTools: string[];
|
|
4646
4649
|
id: string;
|
|
4650
|
+
authConfigIds: string[];
|
|
4647
4651
|
commands: {
|
|
4648
4652
|
claude: string;
|
|
4649
4653
|
cursor: string;
|
|
@@ -4672,20 +4676,20 @@ declare const MCPUpdateParamsSchema: z.ZodObject<{
|
|
|
4672
4676
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4673
4677
|
manuallyManageConnections: z.ZodOptional<z.ZodBoolean>;
|
|
4674
4678
|
}, "strip", z.ZodTypeAny, {
|
|
4679
|
+
allowedTools?: string[] | undefined;
|
|
4675
4680
|
name?: string | undefined;
|
|
4676
4681
|
toolkits?: (string | {
|
|
4677
4682
|
toolkit?: string | undefined;
|
|
4678
4683
|
authConfigId?: string | undefined;
|
|
4679
4684
|
})[] | undefined;
|
|
4680
|
-
allowedTools?: string[] | undefined;
|
|
4681
4685
|
manuallyManageConnections?: boolean | undefined;
|
|
4682
4686
|
}, {
|
|
4687
|
+
allowedTools?: string[] | undefined;
|
|
4683
4688
|
name?: string | undefined;
|
|
4684
4689
|
toolkits?: (string | {
|
|
4685
4690
|
toolkit?: string | undefined;
|
|
4686
4691
|
authConfigId?: string | undefined;
|
|
4687
4692
|
})[] | undefined;
|
|
4688
|
-
allowedTools?: string[] | undefined;
|
|
4689
4693
|
manuallyManageConnections?: boolean | undefined;
|
|
4690
4694
|
}>;
|
|
4691
4695
|
type MCPUpdateParams = z.infer<typeof MCPUpdateParamsSchema>;
|
|
@@ -5024,7 +5028,7 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
|
|
|
5024
5028
|
* This method processes a tool call from OpenAI's chat completion API,
|
|
5025
5029
|
* executes the corresponding Composio tool, and returns the result.
|
|
5026
5030
|
*
|
|
5027
|
-
* @param {string}
|
|
5031
|
+
* @param {string | ToolCallSession} executionTarget - A user ID for direct tools or the session that produced session tools
|
|
5028
5032
|
* @param {OpenAI.ChatCompletionMessageToolCall} tool - The tool call from OpenAI
|
|
5029
5033
|
* @param {ExecuteToolFnOptions} [options] - Optional execution options
|
|
5030
5034
|
* @param {ExecuteToolModifiers} [modifiers] - Optional execution modifiers
|
|
@@ -5050,6 +5054,7 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
|
|
|
5050
5054
|
* console.log(JSON.parse(result));
|
|
5051
5055
|
* ```
|
|
5052
5056
|
*/
|
|
5057
|
+
executeToolCall(session: ToolCallSession, tool: OpenAI.ChatCompletionMessageFunctionToolCall): Promise<string>;
|
|
5053
5058
|
executeToolCall(userId: string, tool: OpenAI.ChatCompletionMessageFunctionToolCall, options?: ExecuteToolFnOptions, modifiers?: ExecuteToolModifiers): Promise<string>;
|
|
5054
5059
|
/**
|
|
5055
5060
|
* Handles tool calls from OpenAI's chat completion response.
|
|
@@ -5057,7 +5062,7 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
|
|
|
5057
5062
|
* This method processes tool calls from an OpenAI chat completion response,
|
|
5058
5063
|
* executes each tool call, and returns the results.
|
|
5059
5064
|
*
|
|
5060
|
-
* @param {string}
|
|
5065
|
+
* @param {string | ToolCallSession} executionTarget - A user ID for direct tools or the session that produced session tools
|
|
5061
5066
|
* @param {OpenAI.ChatCompletion} chatCompletion - The chat completion response from OpenAI
|
|
5062
5067
|
* @param {ExecuteToolFnOptions} [options] - Optional execution options
|
|
5063
5068
|
* @param {ExecuteToolModifiers} [modifiers] - Optional execution modifiers
|
|
@@ -5093,6 +5098,7 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
|
|
|
5093
5098
|
* console.log(results); // Array of tool execution results
|
|
5094
5099
|
* ```
|
|
5095
5100
|
*/
|
|
5101
|
+
handleToolCalls(session: ToolCallSession, chatCompletion: OpenAI.ChatCompletion): Promise<OpenAI.ChatCompletionToolMessageParam[]>;
|
|
5096
5102
|
handleToolCalls(userId: string, chatCompletion: OpenAI.ChatCompletion, options?: ExecuteToolFnOptions, modifiers?: ExecuteToolModifiers): Promise<OpenAI.ChatCompletionToolMessageParam[]>;
|
|
5097
5103
|
/**
|
|
5098
5104
|
* Handles all the tool calls from the OpenAI Assistant API.
|