@composio/core 0.6.3 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseProvider-C7yGAyLz.d.mts → BaseProvider-B_7Qy99Q.d.mts} +1950 -40
- package/dist/{BaseProvider-X7JCCvcK.d.cts → BaseProvider-DF03HAz3.d.cts} +1950 -40
- package/dist/{Telemetry-Bn5VseVi.mjs → Telemetry-B3HlLpMT.mjs} +4 -7
- package/dist/{Telemetry-DErMJqj0.cjs → Telemetry-DBe2oppA.cjs} +4 -7
- package/dist/{composio-uGEfnO6v.d.cts → composio-COyITeJf.d.cts} +109 -114
- package/dist/{composio-Ds1Z80p8.d.mts → composio-ClplAPbl.d.mts} +109 -114
- package/dist/index.cjs +275 -25
- package/dist/index.d.cts +4777 -3
- package/dist/index.d.mts +4777 -3
- package/dist/index.mjs +268 -26
- package/dist/models/Files.node.cjs +1 -1
- package/dist/models/Files.node.mjs +1 -1
- package/dist/{types-CMQAtpc_.d.mts → types-BO1Bf2Xz.d.mts} +2 -2
- package/dist/{types-CTXCkF_v.d.cts → types-Bib0jIbg.d.cts} +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.cts +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +3 -3
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.cts +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +3 -3
- package/dist/utils/modifiers/FileToolModifier.node.d.cts +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.workerd.d.cts +1 -1
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as SessionExecuteMetaModifiers, En as ToolRetrievalOptions, Nn as ToolkitVersionParam, Qt as ProviderOptions, X as McpServerGetResponse, Xt as ExecuteToolModifiers, _n as ToolExecuteResponse$1, at as ExecuteToolFnOptions, bn as ToolListParams, dn as SchemaModifierOptions, dt as ConnectionDataSchema, en as SessionMetaToolOptions, fn as Tool, hn as ToolExecuteParams, n as BaseComposioProvider, pn as ToolExecuteMetaParams, r as BaseNonAgenticProvider, tt as McpUrlResponse, ut as ConnectionData, wn as ToolProxyParams, yn as ToolList } from "./BaseProvider-
|
|
1
|
+
import { $t as SessionExecuteMetaModifiers, En as ToolRetrievalOptions, Nn as ToolkitVersionParam, Qt as ProviderOptions, X as McpServerGetResponse, Xt as ExecuteToolModifiers, _n as ToolExecuteResponse$1, at as ExecuteToolFnOptions, bn as ToolListParams, dn as SchemaModifierOptions, dt as ConnectionDataSchema, en as SessionMetaToolOptions, fn as Tool, hn as ToolExecuteParams, n as BaseComposioProvider, pn as ToolExecuteMetaParams, r as BaseNonAgenticProvider, tt as McpUrlResponse, ut as ConnectionData, wn as ToolProxyParams, yn as ToolList } from "./BaseProvider-B_7Qy99Q.mjs";
|
|
2
2
|
import ComposioClient, { Composio } from "@composio/client";
|
|
3
3
|
import z, { z as z$1 } from "zod/v3";
|
|
4
4
|
import { OpenAI } from "openai";
|
|
@@ -1860,16 +1860,20 @@ declare const CreateConnectedAccountResponseSchema: z$1.ZodObject<{
|
|
|
1860
1860
|
type CreateConnectedAccountResponse = z$1.infer<typeof CreateConnectedAccountResponseSchema>;
|
|
1861
1861
|
declare const ConnectedAccountAuthConfigSchema: z$1.ZodObject<{
|
|
1862
1862
|
id: z$1.ZodString;
|
|
1863
|
+
/** @deprecated use connectedAccount.state.authScheme instead */
|
|
1864
|
+
authScheme: z$1.ZodOptional<z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>>;
|
|
1863
1865
|
isComposioManaged: z$1.ZodBoolean;
|
|
1864
1866
|
isDisabled: z$1.ZodBoolean;
|
|
1865
1867
|
}, "strip", z$1.ZodTypeAny, {
|
|
1866
1868
|
id: string;
|
|
1867
1869
|
isComposioManaged: boolean;
|
|
1868
1870
|
isDisabled: boolean;
|
|
1871
|
+
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;
|
|
1869
1872
|
}, {
|
|
1870
1873
|
id: string;
|
|
1871
1874
|
isComposioManaged: boolean;
|
|
1872
1875
|
isDisabled: boolean;
|
|
1876
|
+
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;
|
|
1873
1877
|
}>;
|
|
1874
1878
|
type ConnectedAccountAuthConfig = z$1.infer<typeof ConnectedAccountAuthConfigSchema>;
|
|
1875
1879
|
declare const ConnectedAccountRetrieveResponseSchema: z$1.ZodType<{
|
|
@@ -2072,6 +2076,7 @@ declare const AuthSchemeTypes: {
|
|
|
2072
2076
|
readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
|
|
2073
2077
|
readonly SAML: "SAML";
|
|
2074
2078
|
readonly DCR_OAUTH: "DCR_OAUTH";
|
|
2079
|
+
readonly S2S_OAUTH2: "S2S_OAUTH2";
|
|
2075
2080
|
};
|
|
2076
2081
|
type AuthSchemeType = (typeof AuthSchemeTypes)[keyof typeof AuthSchemeTypes];
|
|
2077
2082
|
declare const AuthConfigCreationToolAccessConfigSchema: z$1.ZodObject<{
|
|
@@ -2091,12 +2096,12 @@ declare const AuthConfigToolAccessConfigSchema: z$1.ZodObject<{
|
|
|
2091
2096
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2092
2097
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2093
2098
|
}>;
|
|
2094
|
-
declare const AuthSchemeEnum: z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH"]>;
|
|
2099
|
+
declare const AuthSchemeEnum: z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>;
|
|
2095
2100
|
declare const CreateCustomAuthConfigParamsSchema: z$1.ZodObject<{
|
|
2096
2101
|
type: z$1.ZodLiteral<"use_custom_auth">;
|
|
2097
2102
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
2098
2103
|
credentials: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean]>>;
|
|
2099
|
-
authScheme: z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH"]>;
|
|
2104
|
+
authScheme: z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>;
|
|
2100
2105
|
proxyConfig: z$1.ZodOptional<z$1.ZodObject<{
|
|
2101
2106
|
proxyUrl: z$1.ZodString;
|
|
2102
2107
|
proxyAuthKey: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -2117,7 +2122,7 @@ declare const CreateCustomAuthConfigParamsSchema: z$1.ZodObject<{
|
|
|
2117
2122
|
isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
2118
2123
|
}, "strip", z$1.ZodTypeAny, {
|
|
2119
2124
|
type: "use_custom_auth";
|
|
2120
|
-
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";
|
|
2125
|
+
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";
|
|
2121
2126
|
credentials: Record<string, string | number | boolean>;
|
|
2122
2127
|
name?: string | undefined;
|
|
2123
2128
|
proxyConfig?: {
|
|
@@ -2130,7 +2135,7 @@ declare const CreateCustomAuthConfigParamsSchema: z$1.ZodObject<{
|
|
|
2130
2135
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2131
2136
|
}, {
|
|
2132
2137
|
type: "use_custom_auth";
|
|
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";
|
|
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";
|
|
2134
2139
|
credentials: Record<string, string | number | boolean>;
|
|
2135
2140
|
name?: string | undefined;
|
|
2136
2141
|
proxyConfig?: {
|
|
@@ -2193,7 +2198,7 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
|
|
|
2193
2198
|
type: z$1.ZodLiteral<"use_custom_auth">;
|
|
2194
2199
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
2195
2200
|
credentials: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean]>>;
|
|
2196
|
-
authScheme: z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH"]>;
|
|
2201
|
+
authScheme: z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>;
|
|
2197
2202
|
proxyConfig: z$1.ZodOptional<z$1.ZodObject<{
|
|
2198
2203
|
proxyUrl: z$1.ZodString;
|
|
2199
2204
|
proxyAuthKey: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -2214,7 +2219,7 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
|
|
|
2214
2219
|
isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
2215
2220
|
}, "strip", z$1.ZodTypeAny, {
|
|
2216
2221
|
type: "use_custom_auth";
|
|
2217
|
-
authScheme: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH";
|
|
2222
|
+
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";
|
|
2218
2223
|
credentials: Record<string, string | number | boolean>;
|
|
2219
2224
|
name?: string | undefined;
|
|
2220
2225
|
proxyConfig?: {
|
|
@@ -2227,7 +2232,7 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
|
|
|
2227
2232
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2228
2233
|
}, {
|
|
2229
2234
|
type: "use_custom_auth";
|
|
2230
|
-
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";
|
|
2235
|
+
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";
|
|
2231
2236
|
credentials: Record<string, string | number | boolean>;
|
|
2232
2237
|
name?: string | undefined;
|
|
2233
2238
|
proxyConfig?: {
|
|
@@ -2316,7 +2321,7 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2316
2321
|
noOfConnections: z$1.ZodNumber;
|
|
2317
2322
|
status: z$1.ZodEnum<["ENABLED", "DISABLED"]>;
|
|
2318
2323
|
uuid: z$1.ZodString;
|
|
2319
|
-
authScheme: z$1.ZodOptional<z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH"]>>;
|
|
2324
|
+
authScheme: z$1.ZodOptional<z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>>;
|
|
2320
2325
|
credentials: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
2321
2326
|
expectedInputFields: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnknown, "many">>;
|
|
2322
2327
|
isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
@@ -2348,14 +2353,14 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2348
2353
|
id: string;
|
|
2349
2354
|
noOfConnections: number;
|
|
2350
2355
|
uuid: string;
|
|
2351
|
-
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" | undefined;
|
|
2356
|
+
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;
|
|
2357
|
+
isComposioManaged?: boolean | undefined;
|
|
2352
2358
|
credentials?: Record<string, unknown> | undefined;
|
|
2353
2359
|
toolAccessConfig?: {
|
|
2354
2360
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2355
2361
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2356
2362
|
} | undefined;
|
|
2357
2363
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2358
|
-
isComposioManaged?: boolean | undefined;
|
|
2359
2364
|
expectedInputFields?: unknown[] | undefined;
|
|
2360
2365
|
restrictToFollowingTools?: string[] | undefined;
|
|
2361
2366
|
createdBy?: string | undefined;
|
|
@@ -2371,14 +2376,14 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2371
2376
|
id: string;
|
|
2372
2377
|
noOfConnections: number;
|
|
2373
2378
|
uuid: string;
|
|
2374
|
-
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" | undefined;
|
|
2379
|
+
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;
|
|
2380
|
+
isComposioManaged?: boolean | undefined;
|
|
2375
2381
|
credentials?: Record<string, unknown> | undefined;
|
|
2376
2382
|
toolAccessConfig?: {
|
|
2377
2383
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2378
2384
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2379
2385
|
} | undefined;
|
|
2380
2386
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2381
|
-
isComposioManaged?: boolean | undefined;
|
|
2382
2387
|
expectedInputFields?: unknown[] | undefined;
|
|
2383
2388
|
restrictToFollowingTools?: string[] | undefined;
|
|
2384
2389
|
createdBy?: string | undefined;
|
|
@@ -2420,7 +2425,7 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2420
2425
|
noOfConnections: z$1.ZodNumber;
|
|
2421
2426
|
status: z$1.ZodEnum<["ENABLED", "DISABLED"]>;
|
|
2422
2427
|
uuid: z$1.ZodString;
|
|
2423
|
-
authScheme: z$1.ZodOptional<z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH"]>>;
|
|
2428
|
+
authScheme: z$1.ZodOptional<z$1.ZodEnum<["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "S2S_OAUTH2"]>>;
|
|
2424
2429
|
credentials: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
2425
2430
|
expectedInputFields: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnknown, "many">>;
|
|
2426
2431
|
isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
@@ -2452,14 +2457,14 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2452
2457
|
id: string;
|
|
2453
2458
|
noOfConnections: number;
|
|
2454
2459
|
uuid: string;
|
|
2455
|
-
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" | undefined;
|
|
2460
|
+
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;
|
|
2461
|
+
isComposioManaged?: boolean | undefined;
|
|
2456
2462
|
credentials?: Record<string, unknown> | undefined;
|
|
2457
2463
|
toolAccessConfig?: {
|
|
2458
2464
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2459
2465
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2460
2466
|
} | undefined;
|
|
2461
2467
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2462
|
-
isComposioManaged?: boolean | undefined;
|
|
2463
2468
|
expectedInputFields?: unknown[] | undefined;
|
|
2464
2469
|
restrictToFollowingTools?: string[] | undefined;
|
|
2465
2470
|
createdBy?: string | undefined;
|
|
@@ -2475,14 +2480,14 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2475
2480
|
id: string;
|
|
2476
2481
|
noOfConnections: number;
|
|
2477
2482
|
uuid: string;
|
|
2478
|
-
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" | undefined;
|
|
2483
|
+
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;
|
|
2484
|
+
isComposioManaged?: boolean | undefined;
|
|
2479
2485
|
credentials?: Record<string, unknown> | undefined;
|
|
2480
2486
|
toolAccessConfig?: {
|
|
2481
2487
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2482
2488
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2483
2489
|
} | undefined;
|
|
2484
2490
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2485
|
-
isComposioManaged?: boolean | undefined;
|
|
2486
2491
|
expectedInputFields?: unknown[] | undefined;
|
|
2487
2492
|
restrictToFollowingTools?: string[] | undefined;
|
|
2488
2493
|
createdBy?: string | undefined;
|
|
@@ -2502,14 +2507,14 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2502
2507
|
id: string;
|
|
2503
2508
|
noOfConnections: number;
|
|
2504
2509
|
uuid: string;
|
|
2505
|
-
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" | undefined;
|
|
2510
|
+
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;
|
|
2511
|
+
isComposioManaged?: boolean | undefined;
|
|
2506
2512
|
credentials?: Record<string, unknown> | undefined;
|
|
2507
2513
|
toolAccessConfig?: {
|
|
2508
2514
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2509
2515
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2510
2516
|
} | undefined;
|
|
2511
2517
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2512
|
-
isComposioManaged?: boolean | undefined;
|
|
2513
2518
|
expectedInputFields?: unknown[] | undefined;
|
|
2514
2519
|
restrictToFollowingTools?: string[] | undefined;
|
|
2515
2520
|
createdBy?: string | undefined;
|
|
@@ -2529,14 +2534,14 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2529
2534
|
id: string;
|
|
2530
2535
|
noOfConnections: number;
|
|
2531
2536
|
uuid: string;
|
|
2532
|
-
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" | undefined;
|
|
2537
|
+
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;
|
|
2538
|
+
isComposioManaged?: boolean | undefined;
|
|
2533
2539
|
credentials?: Record<string, unknown> | undefined;
|
|
2534
2540
|
toolAccessConfig?: {
|
|
2535
2541
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2536
2542
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2537
2543
|
} | undefined;
|
|
2538
2544
|
isEnabledForToolRouter?: boolean | undefined;
|
|
2539
|
-
isComposioManaged?: boolean | undefined;
|
|
2540
2545
|
expectedInputFields?: unknown[] | undefined;
|
|
2541
2546
|
restrictToFollowingTools?: string[] | undefined;
|
|
2542
2547
|
createdBy?: string | undefined;
|
|
@@ -2877,16 +2882,16 @@ declare const TriggerSubscribeParamSchema: z$1.ZodObject<{
|
|
|
2877
2882
|
toolkits?: string[] | undefined;
|
|
2878
2883
|
connectedAccountId?: string | undefined;
|
|
2879
2884
|
userId?: string | undefined;
|
|
2880
|
-
triggerId?: string | undefined;
|
|
2881
2885
|
authConfigId?: string | undefined;
|
|
2886
|
+
triggerId?: string | undefined;
|
|
2882
2887
|
triggerSlug?: string[] | undefined;
|
|
2883
2888
|
triggerData?: string | undefined;
|
|
2884
2889
|
}, {
|
|
2885
2890
|
toolkits?: string[] | undefined;
|
|
2886
2891
|
connectedAccountId?: string | undefined;
|
|
2887
2892
|
userId?: string | undefined;
|
|
2888
|
-
triggerId?: string | undefined;
|
|
2889
2893
|
authConfigId?: string | undefined;
|
|
2894
|
+
triggerId?: string | undefined;
|
|
2890
2895
|
triggerSlug?: string[] | undefined;
|
|
2891
2896
|
triggerData?: string | undefined;
|
|
2892
2897
|
}>;
|
|
@@ -2931,8 +2936,8 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
|
|
|
2931
2936
|
connectedAccountId: string;
|
|
2932
2937
|
id: string;
|
|
2933
2938
|
updatedAt: string;
|
|
2934
|
-
disabledAt: string | null;
|
|
2935
2939
|
state: Record<string, unknown>;
|
|
2940
|
+
disabledAt: string | null;
|
|
2936
2941
|
triggerConfig: Record<string, unknown>;
|
|
2937
2942
|
triggerName: string;
|
|
2938
2943
|
uuid?: string | undefined;
|
|
@@ -2941,8 +2946,8 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
|
|
|
2941
2946
|
connectedAccountId: string;
|
|
2942
2947
|
id: string;
|
|
2943
2948
|
updatedAt: string;
|
|
2944
|
-
disabledAt: string | null;
|
|
2945
2949
|
state: Record<string, unknown>;
|
|
2950
|
+
disabledAt: string | null;
|
|
2946
2951
|
triggerConfig: Record<string, unknown>;
|
|
2947
2952
|
triggerName: string;
|
|
2948
2953
|
uuid?: string | undefined;
|
|
@@ -2963,8 +2968,8 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
2963
2968
|
connectedAccountId: string;
|
|
2964
2969
|
id: string;
|
|
2965
2970
|
updatedAt: string;
|
|
2966
|
-
disabledAt: string | null;
|
|
2967
2971
|
state: Record<string, unknown>;
|
|
2972
|
+
disabledAt: string | null;
|
|
2968
2973
|
triggerConfig: Record<string, unknown>;
|
|
2969
2974
|
triggerName: string;
|
|
2970
2975
|
uuid?: string | undefined;
|
|
@@ -2973,8 +2978,8 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
2973
2978
|
connectedAccountId: string;
|
|
2974
2979
|
id: string;
|
|
2975
2980
|
updatedAt: string;
|
|
2976
|
-
disabledAt: string | null;
|
|
2977
2981
|
state: Record<string, unknown>;
|
|
2982
|
+
disabledAt: string | null;
|
|
2978
2983
|
triggerConfig: Record<string, unknown>;
|
|
2979
2984
|
triggerName: string;
|
|
2980
2985
|
uuid?: string | undefined;
|
|
@@ -2987,8 +2992,8 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
2987
2992
|
connectedAccountId: string;
|
|
2988
2993
|
id: string;
|
|
2989
2994
|
updatedAt: string;
|
|
2990
|
-
disabledAt: string | null;
|
|
2991
2995
|
state: Record<string, unknown>;
|
|
2996
|
+
disabledAt: string | null;
|
|
2992
2997
|
triggerConfig: Record<string, unknown>;
|
|
2993
2998
|
triggerName: string;
|
|
2994
2999
|
uuid?: string | undefined;
|
|
@@ -3001,8 +3006,8 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
|
|
|
3001
3006
|
connectedAccountId: string;
|
|
3002
3007
|
id: string;
|
|
3003
3008
|
updatedAt: string;
|
|
3004
|
-
disabledAt: string | null;
|
|
3005
3009
|
state: Record<string, unknown>;
|
|
3010
|
+
disabledAt: string | null;
|
|
3006
3011
|
triggerConfig: Record<string, unknown>;
|
|
3007
3012
|
triggerName: string;
|
|
3008
3013
|
uuid?: string | undefined;
|
|
@@ -3129,7 +3134,6 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3129
3134
|
userId: string;
|
|
3130
3135
|
id: string;
|
|
3131
3136
|
uuid: string;
|
|
3132
|
-
triggerSlug: string;
|
|
3133
3137
|
metadata: {
|
|
3134
3138
|
toolkitSlug: string;
|
|
3135
3139
|
id: string;
|
|
@@ -3146,6 +3150,7 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3146
3150
|
};
|
|
3147
3151
|
triggerData?: string | undefined;
|
|
3148
3152
|
};
|
|
3153
|
+
triggerSlug: string;
|
|
3149
3154
|
payload?: Record<string, unknown> | undefined;
|
|
3150
3155
|
originalPayload?: Record<string, unknown> | undefined;
|
|
3151
3156
|
}, {
|
|
@@ -3153,7 +3158,6 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3153
3158
|
userId: string;
|
|
3154
3159
|
id: string;
|
|
3155
3160
|
uuid: string;
|
|
3156
|
-
triggerSlug: string;
|
|
3157
3161
|
metadata: {
|
|
3158
3162
|
toolkitSlug: string;
|
|
3159
3163
|
id: string;
|
|
@@ -3170,6 +3174,7 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3170
3174
|
};
|
|
3171
3175
|
triggerData?: string | undefined;
|
|
3172
3176
|
};
|
|
3177
|
+
triggerSlug: string;
|
|
3173
3178
|
payload?: Record<string, unknown> | undefined;
|
|
3174
3179
|
originalPayload?: Record<string, unknown> | undefined;
|
|
3175
3180
|
}>;
|
|
@@ -3239,8 +3244,8 @@ declare const TriggerTypeSchema: z$1.ZodObject<{
|
|
|
3239
3244
|
name: string;
|
|
3240
3245
|
logo: string;
|
|
3241
3246
|
};
|
|
3242
|
-
payload: Record<string, unknown>;
|
|
3243
3247
|
config: Record<string, unknown>;
|
|
3248
|
+
payload: Record<string, unknown>;
|
|
3244
3249
|
version?: string | undefined;
|
|
3245
3250
|
instructions?: string | undefined;
|
|
3246
3251
|
}, {
|
|
@@ -3252,8 +3257,8 @@ declare const TriggerTypeSchema: z$1.ZodObject<{
|
|
|
3252
3257
|
name: string;
|
|
3253
3258
|
logo: string;
|
|
3254
3259
|
};
|
|
3255
|
-
payload: Record<string, unknown>;
|
|
3256
3260
|
config: Record<string, unknown>;
|
|
3261
|
+
payload: Record<string, unknown>;
|
|
3257
3262
|
version?: string | undefined;
|
|
3258
3263
|
instructions?: string | undefined;
|
|
3259
3264
|
}>;
|
|
@@ -3289,8 +3294,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
3289
3294
|
name: string;
|
|
3290
3295
|
logo: string;
|
|
3291
3296
|
};
|
|
3292
|
-
payload: Record<string, unknown>;
|
|
3293
3297
|
config: Record<string, unknown>;
|
|
3298
|
+
payload: Record<string, unknown>;
|
|
3294
3299
|
version?: string | undefined;
|
|
3295
3300
|
instructions?: string | undefined;
|
|
3296
3301
|
}, {
|
|
@@ -3302,8 +3307,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
3302
3307
|
name: string;
|
|
3303
3308
|
logo: string;
|
|
3304
3309
|
};
|
|
3305
|
-
payload: Record<string, unknown>;
|
|
3306
3310
|
config: Record<string, unknown>;
|
|
3311
|
+
payload: Record<string, unknown>;
|
|
3307
3312
|
version?: string | undefined;
|
|
3308
3313
|
instructions?: string | undefined;
|
|
3309
3314
|
}>, "many">;
|
|
@@ -3319,8 +3324,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
3319
3324
|
name: string;
|
|
3320
3325
|
logo: string;
|
|
3321
3326
|
};
|
|
3322
|
-
payload: Record<string, unknown>;
|
|
3323
3327
|
config: Record<string, unknown>;
|
|
3328
|
+
payload: Record<string, unknown>;
|
|
3324
3329
|
version?: string | undefined;
|
|
3325
3330
|
instructions?: string | undefined;
|
|
3326
3331
|
}[];
|
|
@@ -3336,8 +3341,8 @@ declare const TriggersTypeListResponseSchema: z$1.ZodObject<{
|
|
|
3336
3341
|
name: string;
|
|
3337
3342
|
logo: string;
|
|
3338
3343
|
};
|
|
3339
|
-
payload: Record<string, unknown>;
|
|
3340
3344
|
config: Record<string, unknown>;
|
|
3345
|
+
payload: Record<string, unknown>;
|
|
3341
3346
|
version?: string | undefined;
|
|
3342
3347
|
instructions?: string | undefined;
|
|
3343
3348
|
}[];
|
|
@@ -3416,92 +3421,57 @@ declare const WebhookPayloadV2Schema: z$1.ZodObject<{
|
|
|
3416
3421
|
}, "strip", z$1.ZodTypeAny, {
|
|
3417
3422
|
type: string;
|
|
3418
3423
|
data: {
|
|
3424
|
+
user_id: string;
|
|
3419
3425
|
connection_id: string;
|
|
3420
3426
|
trigger_id: string;
|
|
3421
3427
|
connection_nano_id: string;
|
|
3422
3428
|
trigger_nano_id: string;
|
|
3423
|
-
user_id: string;
|
|
3424
3429
|
} & {
|
|
3425
3430
|
[k: string]: unknown;
|
|
3426
3431
|
};
|
|
3427
|
-
log_id: string;
|
|
3428
3432
|
timestamp: string;
|
|
3433
|
+
log_id: string;
|
|
3429
3434
|
}, {
|
|
3430
3435
|
type: string;
|
|
3431
3436
|
data: {
|
|
3437
|
+
user_id: string;
|
|
3432
3438
|
connection_id: string;
|
|
3433
3439
|
trigger_id: string;
|
|
3434
3440
|
connection_nano_id: string;
|
|
3435
3441
|
trigger_nano_id: string;
|
|
3436
|
-
user_id: string;
|
|
3437
3442
|
} & {
|
|
3438
3443
|
[k: string]: unknown;
|
|
3439
3444
|
};
|
|
3440
|
-
log_id: string;
|
|
3441
3445
|
timestamp: string;
|
|
3446
|
+
log_id: string;
|
|
3442
3447
|
}>;
|
|
3443
3448
|
type WebhookPayloadV2 = z$1.infer<typeof WebhookPayloadV2Schema>;
|
|
3444
|
-
/** V3 webhook payload -
|
|
3449
|
+
/** V3 webhook payload - generic envelope for all composio.* events */
|
|
3445
3450
|
declare const WebhookPayloadV3Schema: z$1.ZodObject<{
|
|
3446
3451
|
id: z$1.ZodString;
|
|
3447
3452
|
timestamp: z$1.ZodString;
|
|
3448
|
-
type: z$1.
|
|
3449
|
-
metadata: z$1.
|
|
3450
|
-
log_id: z$1.ZodString;
|
|
3451
|
-
trigger_slug: z$1.ZodString;
|
|
3452
|
-
trigger_id: z$1.ZodString;
|
|
3453
|
-
connected_account_id: z$1.ZodString;
|
|
3454
|
-
auth_config_id: z$1.ZodString;
|
|
3455
|
-
user_id: z$1.ZodString;
|
|
3456
|
-
}, "strip", z$1.ZodTypeAny, {
|
|
3457
|
-
trigger_id: string;
|
|
3458
|
-
log_id: string;
|
|
3459
|
-
user_id: string;
|
|
3460
|
-
trigger_slug: string;
|
|
3461
|
-
connected_account_id: string;
|
|
3462
|
-
auth_config_id: string;
|
|
3463
|
-
}, {
|
|
3464
|
-
trigger_id: string;
|
|
3465
|
-
log_id: string;
|
|
3466
|
-
user_id: string;
|
|
3467
|
-
trigger_slug: string;
|
|
3468
|
-
connected_account_id: string;
|
|
3469
|
-
auth_config_id: string;
|
|
3470
|
-
}>;
|
|
3453
|
+
type: z$1.ZodEffects<z$1.ZodString, string, string>;
|
|
3454
|
+
metadata: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
3471
3455
|
data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
3472
3456
|
}, "strip", z$1.ZodTypeAny, {
|
|
3473
|
-
type:
|
|
3457
|
+
type: string;
|
|
3474
3458
|
data: Record<string, unknown>;
|
|
3475
3459
|
id: string;
|
|
3476
|
-
metadata: {
|
|
3477
|
-
trigger_id: string;
|
|
3478
|
-
log_id: string;
|
|
3479
|
-
user_id: string;
|
|
3480
|
-
trigger_slug: string;
|
|
3481
|
-
connected_account_id: string;
|
|
3482
|
-
auth_config_id: string;
|
|
3483
|
-
};
|
|
3484
3460
|
timestamp: string;
|
|
3461
|
+
metadata: Record<string, unknown>;
|
|
3485
3462
|
}, {
|
|
3486
|
-
type:
|
|
3463
|
+
type: string;
|
|
3487
3464
|
data: Record<string, unknown>;
|
|
3488
3465
|
id: string;
|
|
3489
|
-
metadata: {
|
|
3490
|
-
trigger_id: string;
|
|
3491
|
-
log_id: string;
|
|
3492
|
-
user_id: string;
|
|
3493
|
-
trigger_slug: string;
|
|
3494
|
-
connected_account_id: string;
|
|
3495
|
-
auth_config_id: string;
|
|
3496
|
-
};
|
|
3497
3466
|
timestamp: string;
|
|
3467
|
+
metadata: Record<string, unknown>;
|
|
3498
3468
|
}>;
|
|
3499
3469
|
type WebhookPayloadV3 = z$1.infer<typeof WebhookPayloadV3Schema>;
|
|
3500
|
-
/**
|
|
3501
|
-
declare const
|
|
3470
|
+
/** V3 trigger-specific payload - has trigger metadata fields */
|
|
3471
|
+
declare const WebhookTriggerPayloadV3Schema: z$1.ZodObject<{
|
|
3502
3472
|
id: z$1.ZodString;
|
|
3503
3473
|
timestamp: z$1.ZodString;
|
|
3504
|
-
type: z$1.
|
|
3474
|
+
type: z$1.ZodString;
|
|
3505
3475
|
metadata: z$1.ZodObject<{
|
|
3506
3476
|
log_id: z$1.ZodString;
|
|
3507
3477
|
trigger_slug: z$1.ZodString;
|
|
@@ -3509,48 +3479,73 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
|
|
|
3509
3479
|
connected_account_id: z$1.ZodString;
|
|
3510
3480
|
auth_config_id: z$1.ZodString;
|
|
3511
3481
|
user_id: z$1.ZodString;
|
|
3512
|
-
}, "
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
}, {
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
}
|
|
3482
|
+
}, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
|
|
3483
|
+
log_id: z$1.ZodString;
|
|
3484
|
+
trigger_slug: z$1.ZodString;
|
|
3485
|
+
trigger_id: z$1.ZodString;
|
|
3486
|
+
connected_account_id: z$1.ZodString;
|
|
3487
|
+
auth_config_id: z$1.ZodString;
|
|
3488
|
+
user_id: z$1.ZodString;
|
|
3489
|
+
}, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
|
|
3490
|
+
log_id: z$1.ZodString;
|
|
3491
|
+
trigger_slug: z$1.ZodString;
|
|
3492
|
+
trigger_id: z$1.ZodString;
|
|
3493
|
+
connected_account_id: z$1.ZodString;
|
|
3494
|
+
auth_config_id: z$1.ZodString;
|
|
3495
|
+
user_id: z$1.ZodString;
|
|
3496
|
+
}, z$1.ZodTypeAny, "passthrough">>;
|
|
3527
3497
|
data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
3528
3498
|
}, "strip", z$1.ZodTypeAny, {
|
|
3529
|
-
type:
|
|
3499
|
+
type: string;
|
|
3530
3500
|
data: Record<string, unknown>;
|
|
3531
3501
|
id: string;
|
|
3502
|
+
timestamp: string;
|
|
3532
3503
|
metadata: {
|
|
3504
|
+
user_id: string;
|
|
3533
3505
|
trigger_id: string;
|
|
3534
3506
|
log_id: string;
|
|
3535
|
-
user_id: string;
|
|
3536
3507
|
trigger_slug: string;
|
|
3537
3508
|
connected_account_id: string;
|
|
3538
3509
|
auth_config_id: string;
|
|
3510
|
+
} & {
|
|
3511
|
+
[k: string]: unknown;
|
|
3539
3512
|
};
|
|
3540
|
-
timestamp: string;
|
|
3541
3513
|
}, {
|
|
3542
|
-
type:
|
|
3514
|
+
type: string;
|
|
3543
3515
|
data: Record<string, unknown>;
|
|
3544
3516
|
id: string;
|
|
3517
|
+
timestamp: string;
|
|
3545
3518
|
metadata: {
|
|
3519
|
+
user_id: string;
|
|
3546
3520
|
trigger_id: string;
|
|
3547
3521
|
log_id: string;
|
|
3548
|
-
user_id: string;
|
|
3549
3522
|
trigger_slug: string;
|
|
3550
3523
|
connected_account_id: string;
|
|
3551
3524
|
auth_config_id: string;
|
|
3525
|
+
} & {
|
|
3526
|
+
[k: string]: unknown;
|
|
3552
3527
|
};
|
|
3528
|
+
}>;
|
|
3529
|
+
type WebhookTriggerPayloadV3 = z$1.infer<typeof WebhookTriggerPayloadV3Schema>;
|
|
3530
|
+
/** Union of all webhook payload versions */
|
|
3531
|
+
declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
|
|
3532
|
+
id: z$1.ZodString;
|
|
3533
|
+
timestamp: z$1.ZodString;
|
|
3534
|
+
type: z$1.ZodEffects<z$1.ZodString, string, string>;
|
|
3535
|
+
metadata: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
3536
|
+
data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
3537
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
3538
|
+
type: string;
|
|
3539
|
+
data: Record<string, unknown>;
|
|
3540
|
+
id: string;
|
|
3541
|
+
timestamp: string;
|
|
3542
|
+
metadata: Record<string, unknown>;
|
|
3543
|
+
}, {
|
|
3544
|
+
type: string;
|
|
3545
|
+
data: Record<string, unknown>;
|
|
3546
|
+
id: string;
|
|
3553
3547
|
timestamp: string;
|
|
3548
|
+
metadata: Record<string, unknown>;
|
|
3554
3549
|
}>, z$1.ZodObject<{
|
|
3555
3550
|
type: z$1.ZodString;
|
|
3556
3551
|
timestamp: z$1.ZodString;
|
|
@@ -3577,29 +3572,29 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
|
|
|
3577
3572
|
}, "strip", z$1.ZodTypeAny, {
|
|
3578
3573
|
type: string;
|
|
3579
3574
|
data: {
|
|
3575
|
+
user_id: string;
|
|
3580
3576
|
connection_id: string;
|
|
3581
3577
|
trigger_id: string;
|
|
3582
3578
|
connection_nano_id: string;
|
|
3583
3579
|
trigger_nano_id: string;
|
|
3584
|
-
user_id: string;
|
|
3585
3580
|
} & {
|
|
3586
3581
|
[k: string]: unknown;
|
|
3587
3582
|
};
|
|
3588
|
-
log_id: string;
|
|
3589
3583
|
timestamp: string;
|
|
3584
|
+
log_id: string;
|
|
3590
3585
|
}, {
|
|
3591
3586
|
type: string;
|
|
3592
3587
|
data: {
|
|
3588
|
+
user_id: string;
|
|
3593
3589
|
connection_id: string;
|
|
3594
3590
|
trigger_id: string;
|
|
3595
3591
|
connection_nano_id: string;
|
|
3596
3592
|
trigger_nano_id: string;
|
|
3597
|
-
user_id: string;
|
|
3598
3593
|
} & {
|
|
3599
3594
|
[k: string]: unknown;
|
|
3600
3595
|
};
|
|
3601
|
-
log_id: string;
|
|
3602
3596
|
timestamp: string;
|
|
3597
|
+
log_id: string;
|
|
3603
3598
|
}>, z$1.ZodObject<{
|
|
3604
3599
|
trigger_name: z$1.ZodString;
|
|
3605
3600
|
connection_id: z$1.ZodString;
|
|
@@ -3659,15 +3654,15 @@ declare const VerifyWebhookParamsSchema: z$1.ZodObject<{
|
|
|
3659
3654
|
tolerance: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
3660
3655
|
}, "strip", z$1.ZodTypeAny, {
|
|
3661
3656
|
id: string;
|
|
3662
|
-
payload: string;
|
|
3663
3657
|
timestamp: string;
|
|
3658
|
+
payload: string;
|
|
3664
3659
|
secret: string;
|
|
3665
3660
|
signature: string;
|
|
3666
3661
|
tolerance: number;
|
|
3667
3662
|
}, {
|
|
3668
3663
|
id: string;
|
|
3669
|
-
payload: string;
|
|
3670
3664
|
timestamp: string;
|
|
3665
|
+
payload: string;
|
|
3671
3666
|
secret: string;
|
|
3672
3667
|
signature: string;
|
|
3673
3668
|
tolerance?: number | undefined;
|
|
@@ -6322,4 +6317,4 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
|
|
|
6322
6317
|
flush(): Promise<void>;
|
|
6323
6318
|
}
|
|
6324
6319
|
//#endregion
|
|
6325
|
-
export { TriggerInstanceUpsertParamsSchema as $,
|
|
6320
|
+
export { TriggerInstanceUpsertParamsSchema as $, CustomToolRegistryItem as $n, ConnectionRequestState as $t, ToolkitConnectionStateSchema as A, ToolKitMeta as An, AuthConfigListParams as At, TriggerInstanceListActiveParams as B, ToolkitListParams as Bn, AuthConfigUpdateParamsSchema as Bt, ToolRouterToolkitsOptions as C, CreateConnectedAccountResponse as Cn, WebhookPayloadV3 as Ct, ToolRouterToolsParam as D, ToolKitItemSchema as Dn, WebhookVersion as Dt, ToolRouterToolsFn as E, ToolKitItem as En, WebhookTriggerPayloadV3Schema as Et, IncomingTriggerPayload as F, ToolkitAuthFieldSchema as Fn, AuthConfigRetrieveResponseSchema as Ft, TriggerInstanceListActiveResponseSchema as G, ToolkitRetrieveResponse as Gn, AuthSchemeTypes as Gt, TriggerInstanceListActiveResponse as H, ToolkitMangedByEnumSchema as Hn, AuthDefaultConfigUpdateParamsSchema as Ht, IncomingTriggerPayloadSchema as I, ToolkitAuthFieldsResponse as In, AuthConfigToolAccessConfigSchema as It, TriggerInstanceManageUpdateParams as J, ToolkitSortByEnumSchema as Jn, CreateAuthConfigResponse as Jt, TriggerInstanceManageDeleteResponse as K, ToolkitRetrieveResponseSchema as Kn, CreateAuthConfigParams as Kt, TriggerData as L, ToolkitAuthFieldsResponseSchema as Ln, AuthConfigType as Lt, ToolkitConnectionsDetailsSchema as M, ToolkitAuthConfigDetails as Mn, AuthConfigListResponse as Mt, OpenAIProvider as N, ToolkitAuthConfigDetailsSchema as Nn, AuthConfigListResponseSchema as Nt, ToolRouterToolsParamSchema as O, ToolKitListResponse as On, WebhookVersions as Ot, MCP as P, ToolkitAuthField as Pn, AuthConfigRetrieveResponse as Pt, TriggerInstanceUpsertParams as Q, CustomToolRegistry as Qn, ConnectionRequest as Qt, TriggerEvent as R, ToolkitCategory as Rn, AuthConfigTypes as Rt, ToolRouterToolkitsFn as S, CreateConnectedAccountParamsSchema as Sn, WebhookPayloadV2Schema as St, ToolRouterToolkitsParamSchema as T, DefaultCreateConnectedAccountParamsSchema as Tn, WebhookTriggerPayloadV3 as Tt, TriggerInstanceListActiveResponseItem as U, ToolkitRetrieveCategoriesResponse as Un, AuthSchemeEnum as Ut, TriggerInstanceListActiveParamsSchema as V, ToolkitMangedByEnum as Vn, AuthCustomConfigUpdateParamsSchema as Vt, TriggerInstanceListActiveResponseItemSchema as W, ToolkitRetrieveCategoriesResponseSchema as Wn, AuthSchemeType as Wt, TriggerInstanceManageUpdateResponse as X, CustomToolInputParameter as Xn, CreateComposioManagedAuthConfigParamsSchema as Xt, TriggerInstanceManageUpdateParamsSchema as Y, ToolkitsListParamsSchema as Yn, CreateAuthConfigResponseSchema as Yt, TriggerInstanceManageUpdateResponseSchema as Z, CustomToolOptions as Zn, CreateCustomAuthConfigParamsSchema as Zt, ToolRouterSessionExperimental as _, CreateConnectedAccountLinkResponse as _n, WebhookPayload as _t, ToolRouterAuthorizeFn as a, ConnectedAccountListResponseItem as an, TriggerSubscribeParamSchema as at, ToolRouterToolkitsDisabledConfigSchema as b, CreateConnectedAccountOptionsSchema as bn, WebhookPayloadV1Schema as bt, ToolRouterConfigTagsSchema as c, ConnectedAccountRefreshOptionsSchema as cn, TriggerTypeSchema as ct, ToolRouterCreateSessionConfig as d, ConnectedAccountStatus as dn, TriggersTypeListResponse as dt, ConnectedAccountAuthConfig as en, ExecuteMetadata as er, TriggerInstanceUpsertResponse as et, ToolRouterCreateSessionConfigSchema as f, ConnectedAccountStatusEnum as fn, TriggersTypeListResponseSchema as ft, ToolRouterSession as g, CreateConnectedAccountLinkOptionsSchema as gn, VerifyWebhookResult as gt, ToolRouterManageConnectionsConfigSchema as h, CreateConnectedAccountLinkOptions as hn, VerifyWebhookParamsSchema as ht, MCPServerTypeSchema as i, ConnectedAccountListResponse as in, TriggerStatuses as it, ToolkitConnectionsDetails as j, ToolKitMetaSchema as jn, AuthConfigListParamsSchema as jt, ToolkitConnectionState as k, ToolKitListResponseSchema as kn, AuthConfigCreationToolAccessConfigSchema as kt, ToolRouterConfigTools as l, ConnectedAccountRetrieveResponse as ln, TriggersTypeListParams as lt, ToolRouterMCPServerConfigSchema as m, ConnectedAccountStatuses as mn, VerifyWebhookParams as mt, ComposioConfig as n, ConnectedAccountListParams as nn, TriggerStatusEnum as nt, ToolRouterConfigManageConnectionsSchema as o, ConnectedAccountListResponseSchema as on, TriggerSubscribeParams as ot, ToolRouterMCPServerConfig as p, ConnectedAccountStatusSchema as pn, TriggersTypeRetrieveResponse as pt, TriggerInstanceManageDeleteResponseSchema as q, ToolkitSortByEnum as qn, CreateAuthConfigParamsSchema as qt, MCPServerType as r, ConnectedAccountListParamsSchema as rn, TriggerStatusType as rt, ToolRouterConfigTags as s, ConnectedAccountRefreshOptions as sn, TriggerType as st, Composio$1 as t, ConnectedAccountAuthConfigSchema as tn, InputParamsSchema as tr, TriggerInstanceUpsertResponseSchema as tt, ToolRouterConfigToolsSchema as u, ConnectedAccountRetrieveResponseSchema as un, TriggersTypeListParamsSchema as ut, ToolRouterTagsEnableDisableSchema as v, CreateConnectedAccountLinkResponseSchema as vn, WebhookPayloadSchema as vt, ToolRouterToolkitsOptionsSchema as w, CreateConnectedAccountResponseSchema as wn, WebhookPayloadV3Schema as wt, ToolRouterToolkitsEnabledConfigSchema as x, CreateConnectedAccountParams as xn, WebhookPayloadV2 as xt, ToolRouterTagsParamSchema as y, CreateConnectedAccountOptions as yn, WebhookPayloadV1 as yt, TriggerEventData as z, ToolkitCategorySchema as zn, AuthConfigUpdateParams as zt };
|