@composio/core 0.1.21 → 0.1.22
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/index.cjs +131 -102
- package/dist/index.d.cts +47 -20
- package/dist/index.d.ts +47 -20
- package/dist/index.js +128 -101
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -502,21 +502,18 @@ declare const ToolListFilterByToolkitsSchema: z.ZodObject<{
|
|
|
502
502
|
cursor: z.ZodOptional<z.ZodString>;
|
|
503
503
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
504
504
|
search: z.ZodOptional<z.ZodString>;
|
|
505
|
-
strict: z.ZodOptional<z.ZodBoolean>;
|
|
506
505
|
}, "strip", z.ZodTypeAny, {
|
|
507
506
|
toolkits: string[];
|
|
508
507
|
important?: boolean | undefined;
|
|
509
508
|
cursor?: string | undefined;
|
|
510
509
|
limit?: number | undefined;
|
|
511
510
|
search?: string | undefined;
|
|
512
|
-
strict?: boolean | undefined;
|
|
513
511
|
}, {
|
|
514
512
|
toolkits: string[];
|
|
515
513
|
important?: boolean | undefined;
|
|
516
514
|
cursor?: string | undefined;
|
|
517
515
|
limit?: number | undefined;
|
|
518
516
|
search?: string | undefined;
|
|
519
|
-
strict?: boolean | undefined;
|
|
520
517
|
}>;
|
|
521
518
|
type ToolListFilterByToolkits = z.infer<typeof ToolListFilterByToolkitsSchema>;
|
|
522
519
|
declare const ToolListFilterBySearchSchema: z.ZodObject<{
|
|
@@ -524,19 +521,16 @@ declare const ToolListFilterBySearchSchema: z.ZodObject<{
|
|
|
524
521
|
toolkits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
525
522
|
cursor: z.ZodOptional<z.ZodString>;
|
|
526
523
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
527
|
-
strict: z.ZodOptional<z.ZodBoolean>;
|
|
528
524
|
}, "strip", z.ZodTypeAny, {
|
|
529
525
|
search: string;
|
|
530
526
|
toolkits?: string[] | undefined;
|
|
531
527
|
cursor?: string | undefined;
|
|
532
528
|
limit?: number | undefined;
|
|
533
|
-
strict?: boolean | undefined;
|
|
534
529
|
}, {
|
|
535
530
|
search: string;
|
|
536
531
|
toolkits?: string[] | undefined;
|
|
537
532
|
cursor?: string | undefined;
|
|
538
533
|
limit?: number | undefined;
|
|
539
|
-
strict?: boolean | undefined;
|
|
540
534
|
}>;
|
|
541
535
|
type ToolListFilterBySearch = z.infer<typeof ToolListFilterBySearchSchema>;
|
|
542
536
|
type ToolsOnlyParams = {
|
|
@@ -546,7 +540,6 @@ type ToolsOnlyParams = {
|
|
|
546
540
|
cursor?: never;
|
|
547
541
|
limit?: never;
|
|
548
542
|
search?: never;
|
|
549
|
-
strict?: boolean;
|
|
550
543
|
};
|
|
551
544
|
type ToolkitsOnlyParams = {
|
|
552
545
|
tools?: never;
|
|
@@ -555,7 +548,6 @@ type ToolkitsOnlyParams = {
|
|
|
555
548
|
cursor?: string;
|
|
556
549
|
limit?: number;
|
|
557
550
|
search?: never;
|
|
558
|
-
strict?: boolean;
|
|
559
551
|
};
|
|
560
552
|
type ToolkitSearchOnlyParams = {
|
|
561
553
|
tools?: never;
|
|
@@ -564,7 +556,6 @@ type ToolkitSearchOnlyParams = {
|
|
|
564
556
|
cursor?: string;
|
|
565
557
|
limit?: number;
|
|
566
558
|
search?: string;
|
|
567
|
-
strict?: boolean;
|
|
568
559
|
};
|
|
569
560
|
/**
|
|
570
561
|
* ToolListParams is the parameters for the list of tools.
|
|
@@ -583,39 +574,33 @@ declare const ToolListParamsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
583
574
|
cursor: z.ZodOptional<z.ZodString>;
|
|
584
575
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
585
576
|
search: z.ZodOptional<z.ZodString>;
|
|
586
|
-
strict: z.ZodOptional<z.ZodBoolean>;
|
|
587
577
|
}, "strip", z.ZodTypeAny, {
|
|
588
578
|
toolkits: string[];
|
|
589
579
|
important?: boolean | undefined;
|
|
590
580
|
cursor?: string | undefined;
|
|
591
581
|
limit?: number | undefined;
|
|
592
582
|
search?: string | undefined;
|
|
593
|
-
strict?: boolean | undefined;
|
|
594
583
|
}, {
|
|
595
584
|
toolkits: string[];
|
|
596
585
|
important?: boolean | undefined;
|
|
597
586
|
cursor?: string | undefined;
|
|
598
587
|
limit?: number | undefined;
|
|
599
588
|
search?: string | undefined;
|
|
600
|
-
strict?: boolean | undefined;
|
|
601
589
|
}>, z.ZodObject<{
|
|
602
590
|
search: z.ZodString;
|
|
603
591
|
toolkits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
604
592
|
cursor: z.ZodOptional<z.ZodString>;
|
|
605
593
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
606
|
-
strict: z.ZodOptional<z.ZodBoolean>;
|
|
607
594
|
}, "strip", z.ZodTypeAny, {
|
|
608
595
|
search: string;
|
|
609
596
|
toolkits?: string[] | undefined;
|
|
610
597
|
cursor?: string | undefined;
|
|
611
598
|
limit?: number | undefined;
|
|
612
|
-
strict?: boolean | undefined;
|
|
613
599
|
}, {
|
|
614
600
|
search: string;
|
|
615
601
|
toolkits?: string[] | undefined;
|
|
616
602
|
cursor?: string | undefined;
|
|
617
603
|
limit?: number | undefined;
|
|
618
|
-
strict?: boolean | undefined;
|
|
619
604
|
}>]>;
|
|
620
605
|
/**
|
|
621
606
|
* CustomAuthParams is the parameters for the custom authentication.
|
|
@@ -11504,8 +11489,8 @@ declare const ConnectedAccountStatuses: {
|
|
|
11504
11489
|
readonly EXPIRED: "EXPIRED";
|
|
11505
11490
|
};
|
|
11506
11491
|
type ConnectedAccountStatus = (typeof ConnectedAccountStatuses)[keyof typeof ConnectedAccountStatuses];
|
|
11507
|
-
type CreateConnectedAccountOptions = z.infer<typeof CreateConnectedAccountOptionsSchema>;
|
|
11508
11492
|
declare const CreateConnectedAccountOptionsSchema: z.ZodObject<{
|
|
11493
|
+
allowMultiple: z.ZodOptional<z.ZodBoolean>;
|
|
11509
11494
|
callbackUrl: z.ZodOptional<z.ZodString>;
|
|
11510
11495
|
config: z.ZodOptional<z.ZodDiscriminatedUnion<"authScheme", [z.ZodObject<{
|
|
11511
11496
|
authScheme: z.ZodLiteral<"OAUTH1">;
|
|
@@ -17578,6 +17563,7 @@ declare const CreateConnectedAccountOptionsSchema: z.ZodObject<{
|
|
|
17578
17563
|
}>]>>;
|
|
17579
17564
|
}, "strip", z.ZodTypeAny, {
|
|
17580
17565
|
callbackUrl?: string | undefined;
|
|
17566
|
+
allowMultiple?: boolean | undefined;
|
|
17581
17567
|
config?: {
|
|
17582
17568
|
authScheme: "OAUTH1";
|
|
17583
17569
|
val: z.objectOutputType<{
|
|
@@ -18809,6 +18795,7 @@ declare const CreateConnectedAccountOptionsSchema: z.ZodObject<{
|
|
|
18809
18795
|
} | undefined;
|
|
18810
18796
|
}, {
|
|
18811
18797
|
callbackUrl?: string | undefined;
|
|
18798
|
+
allowMultiple?: boolean | undefined;
|
|
18812
18799
|
config?: {
|
|
18813
18800
|
authScheme: "OAUTH1";
|
|
18814
18801
|
val: z.objectInputType<{
|
|
@@ -20039,7 +20026,7 @@ declare const CreateConnectedAccountOptionsSchema: z.ZodObject<{
|
|
|
20039
20026
|
}, z.ZodUnknown, "strip">;
|
|
20040
20027
|
} | undefined;
|
|
20041
20028
|
}>;
|
|
20042
|
-
type
|
|
20029
|
+
type CreateConnectedAccountOptions = z.infer<typeof CreateConnectedAccountOptionsSchema>;
|
|
20043
20030
|
declare const ConnectedAccountRetrieveResponseSchema: z.ZodObject<{
|
|
20044
20031
|
id: z.ZodString;
|
|
20045
20032
|
authConfig: z.ZodObject<{
|
|
@@ -39941,6 +39928,7 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
|
|
|
39941
39928
|
authScheme: z.ZodOptional<z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "COMPOSIO_LINK", "CALCOM_AUTH", "SNOWFLAKE"]>>;
|
|
39942
39929
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
39943
39930
|
expectedInputFields: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
39931
|
+
restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
39944
39932
|
isComposioManaged: z.ZodOptional<z.ZodBoolean>;
|
|
39945
39933
|
createdBy: z.ZodOptional<z.ZodString>;
|
|
39946
39934
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -39957,6 +39945,7 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
|
|
|
39957
39945
|
uuid: string;
|
|
39958
39946
|
credentials?: Record<string, unknown> | undefined;
|
|
39959
39947
|
authScheme?: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE" | undefined;
|
|
39948
|
+
restrictToFollowingTools?: string[] | undefined;
|
|
39960
39949
|
isComposioManaged?: boolean | undefined;
|
|
39961
39950
|
expectedInputFields?: unknown[] | undefined;
|
|
39962
39951
|
createdBy?: string | undefined;
|
|
@@ -39974,6 +39963,7 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
|
|
|
39974
39963
|
uuid: string;
|
|
39975
39964
|
credentials?: Record<string, unknown> | undefined;
|
|
39976
39965
|
authScheme?: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE" | undefined;
|
|
39966
|
+
restrictToFollowingTools?: string[] | undefined;
|
|
39977
39967
|
isComposioManaged?: boolean | undefined;
|
|
39978
39968
|
expectedInputFields?: unknown[] | undefined;
|
|
39979
39969
|
createdBy?: string | undefined;
|
|
@@ -40018,6 +40008,7 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
40018
40008
|
authScheme: z.ZodOptional<z.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "COMPOSIO_LINK", "CALCOM_AUTH", "SNOWFLAKE"]>>;
|
|
40019
40009
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
40020
40010
|
expectedInputFields: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
40011
|
+
restrictToFollowingTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
40021
40012
|
isComposioManaged: z.ZodOptional<z.ZodBoolean>;
|
|
40022
40013
|
createdBy: z.ZodOptional<z.ZodString>;
|
|
40023
40014
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -40034,6 +40025,7 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
40034
40025
|
uuid: string;
|
|
40035
40026
|
credentials?: Record<string, unknown> | undefined;
|
|
40036
40027
|
authScheme?: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE" | undefined;
|
|
40028
|
+
restrictToFollowingTools?: string[] | undefined;
|
|
40037
40029
|
isComposioManaged?: boolean | undefined;
|
|
40038
40030
|
expectedInputFields?: unknown[] | undefined;
|
|
40039
40031
|
createdBy?: string | undefined;
|
|
@@ -40051,6 +40043,7 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
40051
40043
|
uuid: string;
|
|
40052
40044
|
credentials?: Record<string, unknown> | undefined;
|
|
40053
40045
|
authScheme?: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE" | undefined;
|
|
40046
|
+
restrictToFollowingTools?: string[] | undefined;
|
|
40054
40047
|
isComposioManaged?: boolean | undefined;
|
|
40055
40048
|
expectedInputFields?: unknown[] | undefined;
|
|
40056
40049
|
createdBy?: string | undefined;
|
|
@@ -40072,6 +40065,7 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
40072
40065
|
uuid: string;
|
|
40073
40066
|
credentials?: Record<string, unknown> | undefined;
|
|
40074
40067
|
authScheme?: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE" | undefined;
|
|
40068
|
+
restrictToFollowingTools?: string[] | undefined;
|
|
40075
40069
|
isComposioManaged?: boolean | undefined;
|
|
40076
40070
|
expectedInputFields?: unknown[] | undefined;
|
|
40077
40071
|
createdBy?: string | undefined;
|
|
@@ -40093,6 +40087,7 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
|
|
|
40093
40087
|
uuid: string;
|
|
40094
40088
|
credentials?: Record<string, unknown> | undefined;
|
|
40095
40089
|
authScheme?: "OAUTH2" | "OAUTH1" | "API_KEY" | "BASIC" | "BILLCOM_AUTH" | "BEARER_TOKEN" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "COMPOSIO_LINK" | "CALCOM_AUTH" | "SNOWFLAKE" | undefined;
|
|
40090
|
+
restrictToFollowingTools?: string[] | undefined;
|
|
40096
40091
|
isComposioManaged?: boolean | undefined;
|
|
40097
40092
|
expectedInputFields?: unknown[] | undefined;
|
|
40098
40093
|
createdBy?: string | undefined;
|
|
@@ -40483,6 +40478,7 @@ declare const TriggerInstanceManageDeleteResponseSchema: z.ZodObject<{
|
|
|
40483
40478
|
type TriggerInstanceManageDeleteResponse = z.infer<typeof TriggerInstanceManageDeleteResponseSchema>;
|
|
40484
40479
|
declare const IncomingTriggerPayloadSchema: z.ZodObject<{
|
|
40485
40480
|
id: z.ZodString;
|
|
40481
|
+
uuid: z.ZodString;
|
|
40486
40482
|
triggerSlug: z.ZodString;
|
|
40487
40483
|
toolkitSlug: z.ZodString;
|
|
40488
40484
|
userId: z.ZodString;
|
|
@@ -40490,6 +40486,7 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
|
|
|
40490
40486
|
originalPayload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
40491
40487
|
metadata: z.ZodObject<{
|
|
40492
40488
|
id: z.ZodString;
|
|
40489
|
+
uuid: z.ZodString;
|
|
40493
40490
|
toolkitSlug: z.ZodString;
|
|
40494
40491
|
triggerSlug: z.ZodString;
|
|
40495
40492
|
triggerData: z.ZodOptional<z.ZodString>;
|
|
@@ -40518,6 +40515,7 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
|
|
|
40518
40515
|
}>;
|
|
40519
40516
|
}, "strip", z.ZodTypeAny, {
|
|
40520
40517
|
id: string;
|
|
40518
|
+
uuid: string;
|
|
40521
40519
|
toolkitSlug: string;
|
|
40522
40520
|
triggerSlug: string;
|
|
40523
40521
|
triggerConfig: Record<string, unknown>;
|
|
@@ -40532,6 +40530,7 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
|
|
|
40532
40530
|
triggerData?: string | undefined;
|
|
40533
40531
|
}, {
|
|
40534
40532
|
id: string;
|
|
40533
|
+
uuid: string;
|
|
40535
40534
|
toolkitSlug: string;
|
|
40536
40535
|
triggerSlug: string;
|
|
40537
40536
|
triggerConfig: Record<string, unknown>;
|
|
@@ -40548,8 +40547,10 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
|
|
|
40548
40547
|
}, "strip", z.ZodTypeAny, {
|
|
40549
40548
|
userId: string;
|
|
40550
40549
|
id: string;
|
|
40550
|
+
uuid: string;
|
|
40551
40551
|
metadata: {
|
|
40552
40552
|
id: string;
|
|
40553
|
+
uuid: string;
|
|
40553
40554
|
toolkitSlug: string;
|
|
40554
40555
|
triggerSlug: string;
|
|
40555
40556
|
triggerConfig: Record<string, unknown>;
|
|
@@ -40570,8 +40571,10 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
|
|
|
40570
40571
|
}, {
|
|
40571
40572
|
userId: string;
|
|
40572
40573
|
id: string;
|
|
40574
|
+
uuid: string;
|
|
40573
40575
|
metadata: {
|
|
40574
40576
|
id: string;
|
|
40577
|
+
uuid: string;
|
|
40575
40578
|
toolkitSlug: string;
|
|
40576
40579
|
triggerSlug: string;
|
|
40577
40580
|
triggerConfig: Record<string, unknown>;
|
|
@@ -40598,6 +40601,7 @@ type TriggerData = {
|
|
|
40598
40601
|
originalPayload: Record<string, unknown>;
|
|
40599
40602
|
metadata: {
|
|
40600
40603
|
id: string;
|
|
40604
|
+
nanoId: string;
|
|
40601
40605
|
triggerName: string;
|
|
40602
40606
|
triggerData: string;
|
|
40603
40607
|
triggerConfig: Record<string, unknown>;
|
|
@@ -40710,6 +40714,12 @@ declare class Triggers {
|
|
|
40710
40714
|
* @returns
|
|
40711
40715
|
*/
|
|
40712
40716
|
listEnum(): Promise<TriggersTypeRetrieveEnumResponse>;
|
|
40717
|
+
/**
|
|
40718
|
+
* Applies compound filters to the trigger data
|
|
40719
|
+
* @param data data to apply filters to
|
|
40720
|
+
* @returns True if the trigger data matches the filters, false otherwise
|
|
40721
|
+
*/
|
|
40722
|
+
private shouldSendTriggerAfterFilters;
|
|
40713
40723
|
/**
|
|
40714
40724
|
* Subscribe to all the triggers
|
|
40715
40725
|
*
|
|
@@ -41657,6 +41667,19 @@ declare class ComposioProvider extends BaseNonAgenticProvider<Array<CustomTool>,
|
|
|
41657
41667
|
wrapTools(tools: Tool[]): CustomTool[];
|
|
41658
41668
|
}
|
|
41659
41669
|
|
|
41670
|
+
/**
|
|
41671
|
+
* Removes all non-required properties from the schema
|
|
41672
|
+
*
|
|
41673
|
+
* if no items are required, the schema is returned as is
|
|
41674
|
+
* @param schema - The JSON schema to remove non-required properties from
|
|
41675
|
+
* @returns The JSON schema with all non-required properties removed
|
|
41676
|
+
*/
|
|
41677
|
+
declare const removeNonRequiredProperties: <T extends {
|
|
41678
|
+
type: "object";
|
|
41679
|
+
properties: Record<string, unknown>;
|
|
41680
|
+
required?: string[];
|
|
41681
|
+
additionalProperties?: boolean;
|
|
41682
|
+
}>(schema: T) => T;
|
|
41660
41683
|
/**
|
|
41661
41684
|
* Convert a JSON schema to a Zod schema
|
|
41662
41685
|
* @param jsonSchema - The JSON schema to convert
|
|
@@ -41696,9 +41719,9 @@ declare class ComposioProvider extends BaseNonAgenticProvider<Array<CustomTool>,
|
|
|
41696
41719
|
* // })
|
|
41697
41720
|
* ```
|
|
41698
41721
|
*/
|
|
41699
|
-
declare function jsonSchemaToZodSchema(jsonSchema: Record<string, unknown>, { strict }?: {
|
|
41722
|
+
declare function jsonSchemaToZodSchema<T extends z.ZodTypeAny>(jsonSchema: Record<string, unknown>, { strict }?: {
|
|
41700
41723
|
strict?: boolean;
|
|
41701
|
-
}):
|
|
41724
|
+
}): T;
|
|
41702
41725
|
|
|
41703
41726
|
declare class AuthScheme {
|
|
41704
41727
|
/**
|
|
@@ -41946,10 +41969,14 @@ declare class ComposioAuthConfigNotFoundError extends ComposioError {
|
|
|
41946
41969
|
|
|
41947
41970
|
declare const ConnectedAccountErrorCodes: {
|
|
41948
41971
|
readonly CONNECTED_ACCOUNT_NOT_FOUND: "CONNECTED_ACCOUNT_NOT_FOUND";
|
|
41972
|
+
readonly MULTIPLE_CONNECTED_ACCOUNTS: "MULTIPLE_CONNECTED_ACCOUNTS";
|
|
41949
41973
|
};
|
|
41950
41974
|
declare class ComposioConnectedAccountNotFoundError extends ComposioError {
|
|
41951
41975
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
41952
41976
|
}
|
|
41977
|
+
declare class ComposioMultipleConnectedAccountsError extends ComposioError {
|
|
41978
|
+
constructor(message?: string);
|
|
41979
|
+
}
|
|
41953
41980
|
|
|
41954
41981
|
declare const ConnectionRequestErrorCodes: {
|
|
41955
41982
|
readonly CONNECTION_REQUEST_TIMEOUT: "CONNECTION_REQUEST_TIMEOUT";
|
|
@@ -42028,4 +42055,4 @@ declare class ComposioNoAPIKeyError extends ComposioError {
|
|
|
42028
42055
|
constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
|
|
42029
42056
|
}
|
|
42030
42057
|
|
|
42031
|
-
export { type AgenticToolOptions, AuthConfigErrorCodes, type AuthConfigListParams, AuthConfigListParamsSchema, type AuthConfigListResponse, AuthConfigListResponseSchema, type AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, type AuthConfigType, AuthConfigTypes, type AuthConfigUpdateParams, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, type AuthSchemeType, AuthSchemeTypes, BaseAgenticProvider, type BaseComposioProvider, BaseNonAgenticProvider, BasicWithJwtConnectionDataSchema, BillcomAuthConnectionDataSchema, Composio, ComposioAuthConfigNotFoundError, ComposioConnectedAccountNotFoundError, ComposioCustomToolsNotInitializedError, ComposioError, type ComposioErrorOptions, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioLinkConnectionDataSchema, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, ConnectedAccountErrorCodes, type ConnectionData, ConnectionDataSchema, ConnectionRequestErrorCodes, ConnectionRequestFailedError, ConnectionRequestTimeoutError, type ConnectionStatusEnum, ConnectionStatuses, type CreateAuthConfigParams, CreateAuthConfigParamsSchema, type CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateCustomAuthConfigParamsSchema, type CustomAuthParams, CustomAuthParamsSchema, type CustomToolInputParameter, type CustomToolOptions, type CustomToolRegistry, type CustomToolRegistryItem, type ErrorHandleOptions, type ExecuteMetadata, type ExecuteToolFn, type ExecuteToolFnOptions, type ExecuteToolModifiers, type GlobalExecuteToolFn, type IncomingTriggerPayload, IncomingTriggerPayloadSchema, type InputParamsSchema, JsonSchemaToZodError, type Oauth1ActiveConnectionData, Oauth1ActiveConnectionDataSchema, type Oauth1ConnectionData, Oauth1ConnectionDataSchema, type Oauth1ExpiredConnectionData, Oauth1ExpiredConnectionDataSchema, type Oauth1FailedConnectionData, Oauth1FailedConnectionDataSchema, type Oauth1InitiatedConnectionData, Oauth1InitiatedConnectionDataSchema, type Oauth1InitiatingConnectionData, Oauth1InitiatingConnectionDataSchema, type Oauth2ActiveConnectionData, Oauth2ActiveConnectionDataSchema, type Oauth2ConnectionData, Oauth2ConnectionDataSchema, type Oauth2ExpiredConnectionData, Oauth2ExpiredConnectionDataSchema, type Oauth2FailedConnectionData, Oauth2FailedConnectionDataSchema, type Oauth2InitiatedConnectionData, Oauth2InitiatedConnectionDataSchema, type Oauth2InitiatingConnectionData, Oauth2InitiatingConnectionDataSchema, OpenAIProvider, type Provider, type ProviderOptions, RedirectableAuthSchemeSchema, SDKErrorCodes, type Tool, ToolErrorCodes, type ToolExecuteParams, ToolExecuteParamsSchema, type ToolExecuteResponse, ToolExecuteResponseSchema, type ToolKitItem, ToolKitItemSchema, type ToolKitListResponse, ToolKitListResponseSchema, type ToolKitMeta, ToolKitMetaSchema, type ToolList, type ToolListFilterBySearch, ToolListFilterBySearchSchema, type ToolListFilterByToolkits, ToolListFilterByToolkitsSchema, type ToolListFilterByTools, ToolListFilterByToolsSchema, type ToolListParams, ToolListParamsSchema, type ToolListResponse, ToolListResponseSchema, type ToolOptions, type ToolProxyParams, ToolProxyParamsSchema, ToolSchema, type Toolkit, type ToolkitAuthConfigDetails, ToolkitAuthConfigDetailsSchema, type ToolkitAuthField, ToolkitAuthFieldSchema, type ToolkitAuthFieldsResponse, ToolkitAuthFieldsResponseSchema, type ToolkitCategory, ToolkitCategorySchema, ToolkitErrorCodes, type ToolkitListParams, type ToolkitMangedByEnum, ToolkitMangedByEnumSchema, type ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, type ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, type ToolkitSortByEnum, ToolkitSortByEnumSchema, ToolkitsListParamsSchema, type TransformToolSchemaModifier, type TriggerData, type TriggerInstanceListActiveParams, TriggerInstanceListActiveParamsSchema, type TriggerInstanceListActiveResponse, type TriggerInstanceListActiveResponseItem, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, type TriggerInstanceManageDeleteResponse, TriggerInstanceManageDeleteResponseSchema, type TriggerInstanceManageUpdateParams, TriggerInstanceManageUpdateParamsSchema, type TriggerInstanceManageUpdateResponse, TriggerInstanceManageUpdateResponseSchema, type TriggerInstanceUpsertParams, TriggerInstanceUpsertParamsSchema, type TriggerInstanceUpsertResponse, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, type TriggerStatusType, TriggerStatuses, TriggerSubscribeParamSchema, type TriggerSubscribeParams, ValidationError, ValidationErrorCodes, type afterExecuteModifier, type beforeExecuteModifier, jsonSchemaToZodSchema, logger };
|
|
42058
|
+
export { type AgenticToolOptions, AuthConfigErrorCodes, type AuthConfigListParams, AuthConfigListParamsSchema, type AuthConfigListResponse, AuthConfigListResponseSchema, type AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, type AuthConfigType, AuthConfigTypes, type AuthConfigUpdateParams, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, type AuthSchemeType, AuthSchemeTypes, BaseAgenticProvider, type BaseComposioProvider, BaseNonAgenticProvider, BasicWithJwtConnectionDataSchema, BillcomAuthConnectionDataSchema, Composio, ComposioAuthConfigNotFoundError, ComposioConnectedAccountNotFoundError, ComposioCustomToolsNotInitializedError, ComposioError, type ComposioErrorOptions, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioLinkConnectionDataSchema, ComposioMultipleConnectedAccountsError, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, ConnectedAccountErrorCodes, type ConnectionData, ConnectionDataSchema, ConnectionRequestErrorCodes, ConnectionRequestFailedError, ConnectionRequestTimeoutError, type ConnectionStatusEnum, ConnectionStatuses, type CreateAuthConfigParams, CreateAuthConfigParamsSchema, type CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateCustomAuthConfigParamsSchema, type CustomAuthParams, CustomAuthParamsSchema, type CustomToolInputParameter, type CustomToolOptions, type CustomToolRegistry, type CustomToolRegistryItem, type ErrorHandleOptions, type ExecuteMetadata, type ExecuteToolFn, type ExecuteToolFnOptions, type ExecuteToolModifiers, type GlobalExecuteToolFn, type IncomingTriggerPayload, IncomingTriggerPayloadSchema, type InputParamsSchema, JsonSchemaToZodError, type Oauth1ActiveConnectionData, Oauth1ActiveConnectionDataSchema, type Oauth1ConnectionData, Oauth1ConnectionDataSchema, type Oauth1ExpiredConnectionData, Oauth1ExpiredConnectionDataSchema, type Oauth1FailedConnectionData, Oauth1FailedConnectionDataSchema, type Oauth1InitiatedConnectionData, Oauth1InitiatedConnectionDataSchema, type Oauth1InitiatingConnectionData, Oauth1InitiatingConnectionDataSchema, type Oauth2ActiveConnectionData, Oauth2ActiveConnectionDataSchema, type Oauth2ConnectionData, Oauth2ConnectionDataSchema, type Oauth2ExpiredConnectionData, Oauth2ExpiredConnectionDataSchema, type Oauth2FailedConnectionData, Oauth2FailedConnectionDataSchema, type Oauth2InitiatedConnectionData, Oauth2InitiatedConnectionDataSchema, type Oauth2InitiatingConnectionData, Oauth2InitiatingConnectionDataSchema, OpenAIProvider, type Provider, type ProviderOptions, RedirectableAuthSchemeSchema, SDKErrorCodes, type Tool, ToolErrorCodes, type ToolExecuteParams, ToolExecuteParamsSchema, type ToolExecuteResponse, ToolExecuteResponseSchema, type ToolKitItem, ToolKitItemSchema, type ToolKitListResponse, ToolKitListResponseSchema, type ToolKitMeta, ToolKitMetaSchema, type ToolList, type ToolListFilterBySearch, ToolListFilterBySearchSchema, type ToolListFilterByToolkits, ToolListFilterByToolkitsSchema, type ToolListFilterByTools, ToolListFilterByToolsSchema, type ToolListParams, ToolListParamsSchema, type ToolListResponse, ToolListResponseSchema, type ToolOptions, type ToolProxyParams, ToolProxyParamsSchema, ToolSchema, type Toolkit, type ToolkitAuthConfigDetails, ToolkitAuthConfigDetailsSchema, type ToolkitAuthField, ToolkitAuthFieldSchema, type ToolkitAuthFieldsResponse, ToolkitAuthFieldsResponseSchema, type ToolkitCategory, ToolkitCategorySchema, ToolkitErrorCodes, type ToolkitListParams, type ToolkitMangedByEnum, ToolkitMangedByEnumSchema, type ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, type ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, type ToolkitSortByEnum, ToolkitSortByEnumSchema, ToolkitsListParamsSchema, type TransformToolSchemaModifier, type TriggerData, type TriggerInstanceListActiveParams, TriggerInstanceListActiveParamsSchema, type TriggerInstanceListActiveResponse, type TriggerInstanceListActiveResponseItem, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, type TriggerInstanceManageDeleteResponse, TriggerInstanceManageDeleteResponseSchema, type TriggerInstanceManageUpdateParams, TriggerInstanceManageUpdateParamsSchema, type TriggerInstanceManageUpdateResponse, TriggerInstanceManageUpdateResponseSchema, type TriggerInstanceUpsertParams, TriggerInstanceUpsertParamsSchema, type TriggerInstanceUpsertResponse, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, type TriggerStatusType, TriggerStatuses, TriggerSubscribeParamSchema, type TriggerSubscribeParams, ValidationError, ValidationErrorCodes, type afterExecuteModifier, type beforeExecuteModifier, jsonSchemaToZodSchema, logger, removeNonRequiredProperties };
|