@composio/core 0.5.1 → 0.5.2

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.d.cts CHANGED
@@ -569,17 +569,17 @@ declare const ToolListParamsSchema: z.ZodObject<{
569
569
  }, "strip", z.ZodTypeAny, {
570
570
  tags?: string[] | undefined;
571
571
  scopes?: string[] | undefined;
572
+ limit?: number | undefined;
572
573
  tools?: string[] | undefined;
573
574
  toolkits?: string[] | undefined;
574
- limit?: number | undefined;
575
575
  search?: string | undefined;
576
576
  authConfigIds?: string[] | undefined;
577
577
  }, {
578
578
  tags?: string[] | undefined;
579
579
  scopes?: string[] | undefined;
580
+ limit?: number | undefined;
580
581
  tools?: string[] | undefined;
581
582
  toolkits?: string[] | undefined;
582
- limit?: number | undefined;
583
583
  search?: string | undefined;
584
584
  authConfigIds?: string[] | undefined;
585
585
  }>;
@@ -26620,10 +26620,10 @@ declare const McpRetrieveResponseSchema: z.ZodObject<{
26620
26620
  windsurf: string;
26621
26621
  };
26622
26622
  status?: string | undefined;
26623
+ createdAt?: string | undefined;
26623
26624
  tools?: string[] | undefined;
26624
26625
  toolkits?: string[] | undefined;
26625
26626
  authConfigIds?: string[] | undefined;
26626
- createdAt?: string | undefined;
26627
26627
  updatedAt?: string | undefined;
26628
26628
  managedAuthViaComposio?: boolean | undefined;
26629
26629
  }, {
@@ -26636,10 +26636,10 @@ declare const McpRetrieveResponseSchema: z.ZodObject<{
26636
26636
  windsurf: string;
26637
26637
  };
26638
26638
  status?: string | undefined;
26639
+ createdAt?: string | undefined;
26639
26640
  tools?: string[] | undefined;
26640
26641
  toolkits?: string[] | undefined;
26641
26642
  authConfigIds?: string[] | undefined;
26642
- createdAt?: string | undefined;
26643
26643
  updatedAt?: string | undefined;
26644
26644
  managedAuthViaComposio?: boolean | undefined;
26645
26645
  }>;
@@ -26709,17 +26709,17 @@ declare const McpUpdateResponseSchema: z.ZodObject<{
26709
26709
  name: string;
26710
26710
  id: string;
26711
26711
  status?: string | undefined;
26712
+ createdAt?: string | undefined;
26712
26713
  tools?: string[] | undefined;
26713
26714
  toolkits?: string[] | undefined;
26714
- createdAt?: string | undefined;
26715
26715
  updatedAt?: string | undefined;
26716
26716
  }, {
26717
26717
  name: string;
26718
26718
  id: string;
26719
26719
  status?: string | undefined;
26720
+ createdAt?: string | undefined;
26720
26721
  tools?: string[] | undefined;
26721
26722
  toolkits?: string[] | undefined;
26722
- createdAt?: string | undefined;
26723
26723
  updatedAt?: string | undefined;
26724
26724
  }>;
26725
26725
  declare const ComposioMcpUpdateResponseSchema: z.ZodObject<{
@@ -27401,14 +27401,14 @@ declare const ToolkitsListParamsSchema: z.ZodObject<{
27401
27401
  cursor: z.ZodOptional<z.ZodString>;
27402
27402
  limit: z.ZodOptional<z.ZodNumber>;
27403
27403
  }, "strip", z.ZodTypeAny, {
27404
- limit?: number | undefined;
27405
27404
  cursor?: string | undefined;
27405
+ limit?: number | undefined;
27406
27406
  category?: string | undefined;
27407
27407
  managedBy?: "all" | "composio" | "project" | undefined;
27408
27408
  sortBy?: "usage" | "alphabetically" | undefined;
27409
27409
  }, {
27410
- limit?: number | undefined;
27411
27410
  cursor?: string | undefined;
27411
+ limit?: number | undefined;
27412
27412
  category?: string | undefined;
27413
27413
  managedBy?: "all" | "composio" | "project" | undefined;
27414
27414
  sortBy?: "usage" | "alphabetically" | undefined;
@@ -28694,12 +28694,12 @@ declare const CreateConnectedAccountResponseSchema: z.ZodObject<{
28694
28694
  redirectUrl: z.ZodNullable<z.ZodString>;
28695
28695
  }, "strip", z.ZodTypeAny, {
28696
28696
  status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE";
28697
- redirectUrl: string | null;
28698
28697
  id: string;
28698
+ redirectUrl: string | null;
28699
28699
  }, {
28700
28700
  status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE";
28701
- redirectUrl: string | null;
28702
28701
  id: string;
28702
+ redirectUrl: string | null;
28703
28703
  }>;
28704
28704
  type CreateConnectedAccountResponse = z.infer<typeof CreateConnectedAccountResponseSchema>;
28705
28705
  declare const ConnectedAccountAuthConfigSchema: z.ZodObject<{
@@ -28748,17 +28748,17 @@ declare const ConnectedAccountListParamsSchema: z.ZodObject<{
28748
28748
  toolkitSlugs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
28749
28749
  userIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
28750
28750
  }, "strip", z.ZodTypeAny, {
28751
+ cursor?: string | null | undefined;
28751
28752
  limit?: number | null | undefined;
28752
28753
  authConfigIds?: string[] | null | undefined;
28753
- cursor?: string | null | undefined;
28754
28754
  orderBy?: "created_at" | "updated_at" | undefined;
28755
28755
  statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE")[] | null | undefined;
28756
28756
  toolkitSlugs?: string[] | null | undefined;
28757
28757
  userIds?: string[] | null | undefined;
28758
28758
  }, {
28759
+ cursor?: string | null | undefined;
28759
28760
  limit?: number | null | undefined;
28760
28761
  authConfigIds?: string[] | null | undefined;
28761
- cursor?: string | null | undefined;
28762
28762
  orderBy?: "created_at" | "updated_at" | undefined;
28763
28763
  statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE")[] | null | undefined;
28764
28764
  toolkitSlugs?: string[] | null | undefined;
@@ -28950,8 +28950,8 @@ declare const CreateCustomAuthConfigParamsSchema: z.ZodObject<{
28950
28950
  isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
28951
28951
  }, "strip", z.ZodTypeAny, {
28952
28952
  type: "use_custom_auth";
28953
- 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";
28954
28953
  credentials: Record<string, string | number | boolean>;
28954
+ 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";
28955
28955
  name?: string | undefined;
28956
28956
  proxyConfig?: {
28957
28957
  proxyUrl: string;
@@ -28963,8 +28963,8 @@ declare const CreateCustomAuthConfigParamsSchema: z.ZodObject<{
28963
28963
  isEnabledForToolRouter?: boolean | undefined;
28964
28964
  }, {
28965
28965
  type: "use_custom_auth";
28966
- 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";
28967
28966
  credentials: Record<string, string | number | boolean>;
28967
+ 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";
28968
28968
  name?: string | undefined;
28969
28969
  proxyConfig?: {
28970
28970
  proxyUrl: string;
@@ -29047,8 +29047,8 @@ declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
29047
29047
  isEnabledForToolRouter: z.ZodOptional<z.ZodBoolean>;
29048
29048
  }, "strip", z.ZodTypeAny, {
29049
29049
  type: "use_custom_auth";
29050
- 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";
29051
29050
  credentials: Record<string, string | number | boolean>;
29051
+ 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";
29052
29052
  name?: string | undefined;
29053
29053
  proxyConfig?: {
29054
29054
  proxyUrl: string;
@@ -29060,8 +29060,8 @@ declare const CreateAuthConfigParamsSchema: z.ZodDiscriminatedUnion<"type", [z.Z
29060
29060
  isEnabledForToolRouter?: boolean | undefined;
29061
29061
  }, {
29062
29062
  type: "use_custom_auth";
29063
- 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";
29064
29063
  credentials: Record<string, string | number | boolean>;
29064
+ 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";
29065
29065
  name?: string | undefined;
29066
29066
  proxyConfig?: {
29067
29067
  proxyUrl: string;
@@ -29181,8 +29181,8 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
29181
29181
  id: string;
29182
29182
  noOfConnections: number;
29183
29183
  uuid: string;
29184
- 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;
29185
29184
  credentials?: Record<string, unknown> | undefined;
29185
+ 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;
29186
29186
  toolAccessConfig?: {
29187
29187
  toolsForConnectedAccountCreation?: string[] | undefined;
29188
29188
  toolsAvailableForExecution?: string[] | undefined;
@@ -29204,8 +29204,8 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
29204
29204
  id: string;
29205
29205
  noOfConnections: number;
29206
29206
  uuid: string;
29207
- 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;
29208
29207
  credentials?: Record<string, unknown> | undefined;
29208
+ 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;
29209
29209
  toolAccessConfig?: {
29210
29210
  toolsForConnectedAccountCreation?: string[] | undefined;
29211
29211
  toolsAvailableForExecution?: string[] | undefined;
@@ -29226,14 +29226,14 @@ declare const AuthConfigListParamsSchema: z.ZodObject<{
29226
29226
  toolkit: z.ZodOptional<z.ZodString>;
29227
29227
  }, "strip", z.ZodTypeAny, {
29228
29228
  toolkit?: string | undefined;
29229
- limit?: number | undefined;
29230
29229
  isComposioManaged?: boolean | undefined;
29231
29230
  cursor?: string | undefined;
29231
+ limit?: number | undefined;
29232
29232
  }, {
29233
29233
  toolkit?: string | undefined;
29234
- limit?: number | undefined;
29235
29234
  isComposioManaged?: boolean | undefined;
29236
29235
  cursor?: string | undefined;
29236
+ limit?: number | undefined;
29237
29237
  }>;
29238
29238
  type AuthConfigListParams = z.infer<typeof AuthConfigListParamsSchema>;
29239
29239
  declare const AuthConfigListResponseSchema: z.ZodObject<{
@@ -29285,8 +29285,8 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
29285
29285
  id: string;
29286
29286
  noOfConnections: number;
29287
29287
  uuid: string;
29288
- 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;
29289
29288
  credentials?: Record<string, unknown> | undefined;
29289
+ 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;
29290
29290
  toolAccessConfig?: {
29291
29291
  toolsForConnectedAccountCreation?: string[] | undefined;
29292
29292
  toolsAvailableForExecution?: string[] | undefined;
@@ -29308,8 +29308,8 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
29308
29308
  id: string;
29309
29309
  noOfConnections: number;
29310
29310
  uuid: string;
29311
- 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;
29312
29311
  credentials?: Record<string, unknown> | undefined;
29312
+ 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;
29313
29313
  toolAccessConfig?: {
29314
29314
  toolsForConnectedAccountCreation?: string[] | undefined;
29315
29315
  toolsAvailableForExecution?: string[] | undefined;
@@ -29335,8 +29335,8 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
29335
29335
  id: string;
29336
29336
  noOfConnections: number;
29337
29337
  uuid: string;
29338
- 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;
29339
29338
  credentials?: Record<string, unknown> | undefined;
29339
+ 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;
29340
29340
  toolAccessConfig?: {
29341
29341
  toolsForConnectedAccountCreation?: string[] | undefined;
29342
29342
  toolsAvailableForExecution?: string[] | undefined;
@@ -29362,8 +29362,8 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
29362
29362
  id: string;
29363
29363
  noOfConnections: number;
29364
29364
  uuid: string;
29365
- 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;
29366
29365
  credentials?: Record<string, unknown> | undefined;
29366
+ 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;
29367
29367
  toolAccessConfig?: {
29368
29368
  toolsForConnectedAccountCreation?: string[] | undefined;
29369
29369
  toolsAvailableForExecution?: string[] | undefined;
@@ -29761,8 +29761,8 @@ declare const TriggerInstanceListActiveResponseItemSchema: z.ZodObject<{
29761
29761
  triggerData: z.ZodOptional<z.ZodString>;
29762
29762
  uuid: z.ZodOptional<z.ZodString>;
29763
29763
  }, "strip", z.ZodTypeAny, {
29764
- connectedAccountId: string;
29765
29764
  id: string;
29765
+ connectedAccountId: string;
29766
29766
  updatedAt: string;
29767
29767
  disabledAt: string | null;
29768
29768
  state: Record<string, unknown>;
@@ -29771,8 +29771,8 @@ declare const TriggerInstanceListActiveResponseItemSchema: z.ZodObject<{
29771
29771
  uuid?: string | undefined;
29772
29772
  triggerData?: string | undefined;
29773
29773
  }, {
29774
- connectedAccountId: string;
29775
29774
  id: string;
29775
+ connectedAccountId: string;
29776
29776
  updatedAt: string;
29777
29777
  disabledAt: string | null;
29778
29778
  state: Record<string, unknown>;
@@ -29793,8 +29793,8 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
29793
29793
  triggerData: z.ZodOptional<z.ZodString>;
29794
29794
  uuid: z.ZodOptional<z.ZodString>;
29795
29795
  }, "strip", z.ZodTypeAny, {
29796
- connectedAccountId: string;
29797
29796
  id: string;
29797
+ connectedAccountId: string;
29798
29798
  updatedAt: string;
29799
29799
  disabledAt: string | null;
29800
29800
  state: Record<string, unknown>;
@@ -29803,8 +29803,8 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
29803
29803
  uuid?: string | undefined;
29804
29804
  triggerData?: string | undefined;
29805
29805
  }, {
29806
- connectedAccountId: string;
29807
29806
  id: string;
29807
+ connectedAccountId: string;
29808
29808
  updatedAt: string;
29809
29809
  disabledAt: string | null;
29810
29810
  state: Record<string, unknown>;
@@ -29817,8 +29817,8 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
29817
29817
  totalPages: z.ZodNumber;
29818
29818
  }, "strip", z.ZodTypeAny, {
29819
29819
  items: {
29820
- connectedAccountId: string;
29821
29820
  id: string;
29821
+ connectedAccountId: string;
29822
29822
  updatedAt: string;
29823
29823
  disabledAt: string | null;
29824
29824
  state: Record<string, unknown>;
@@ -29831,8 +29831,8 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
29831
29831
  totalPages: number;
29832
29832
  }, {
29833
29833
  items: {
29834
- connectedAccountId: string;
29835
29834
  id: string;
29835
+ connectedAccountId: string;
29836
29836
  updatedAt: string;
29837
29837
  disabledAt: string | null;
29838
29838
  state: Record<string, unknown>;
@@ -29913,67 +29913,67 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
29913
29913
  status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
29914
29914
  }, "strip", z.ZodTypeAny, {
29915
29915
  status: "ACTIVE" | "INACTIVE";
29916
- userId: string;
29917
29916
  id: string;
29918
29917
  uuid: string;
29918
+ userId: string;
29919
29919
  authConfigId: string;
29920
29920
  authConfigUUID: string;
29921
29921
  }, {
29922
29922
  status: "ACTIVE" | "INACTIVE";
29923
- userId: string;
29924
29923
  id: string;
29925
29924
  uuid: string;
29925
+ userId: string;
29926
29926
  authConfigId: string;
29927
29927
  authConfigUUID: string;
29928
29928
  }>;
29929
29929
  }, "strip", z.ZodTypeAny, {
29930
- toolkitSlug: string;
29931
29930
  id: string;
29932
29931
  uuid: string;
29932
+ toolkitSlug: string;
29933
29933
  triggerSlug: string;
29934
29934
  triggerConfig: Record<string, unknown>;
29935
29935
  connectedAccount: {
29936
29936
  status: "ACTIVE" | "INACTIVE";
29937
- userId: string;
29938
29937
  id: string;
29939
29938
  uuid: string;
29939
+ userId: string;
29940
29940
  authConfigId: string;
29941
29941
  authConfigUUID: string;
29942
29942
  };
29943
29943
  triggerData?: string | undefined;
29944
29944
  }, {
29945
- toolkitSlug: string;
29946
29945
  id: string;
29947
29946
  uuid: string;
29947
+ toolkitSlug: string;
29948
29948
  triggerSlug: string;
29949
29949
  triggerConfig: Record<string, unknown>;
29950
29950
  connectedAccount: {
29951
29951
  status: "ACTIVE" | "INACTIVE";
29952
- userId: string;
29953
29952
  id: string;
29954
29953
  uuid: string;
29954
+ userId: string;
29955
29955
  authConfigId: string;
29956
29956
  authConfigUUID: string;
29957
29957
  };
29958
29958
  triggerData?: string | undefined;
29959
29959
  }>;
29960
29960
  }, "strip", z.ZodTypeAny, {
29961
- toolkitSlug: string;
29962
- userId: string;
29963
29961
  id: string;
29964
29962
  uuid: string;
29963
+ toolkitSlug: string;
29964
+ userId: string;
29965
29965
  triggerSlug: string;
29966
29966
  metadata: {
29967
- toolkitSlug: string;
29968
29967
  id: string;
29969
29968
  uuid: string;
29969
+ toolkitSlug: string;
29970
29970
  triggerSlug: string;
29971
29971
  triggerConfig: Record<string, unknown>;
29972
29972
  connectedAccount: {
29973
29973
  status: "ACTIVE" | "INACTIVE";
29974
- userId: string;
29975
29974
  id: string;
29976
29975
  uuid: string;
29976
+ userId: string;
29977
29977
  authConfigId: string;
29978
29978
  authConfigUUID: string;
29979
29979
  };
@@ -29982,22 +29982,22 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
29982
29982
  payload?: Record<string, unknown> | undefined;
29983
29983
  originalPayload?: Record<string, unknown> | undefined;
29984
29984
  }, {
29985
- toolkitSlug: string;
29986
- userId: string;
29987
29985
  id: string;
29988
29986
  uuid: string;
29987
+ toolkitSlug: string;
29988
+ userId: string;
29989
29989
  triggerSlug: string;
29990
29990
  metadata: {
29991
- toolkitSlug: string;
29992
29991
  id: string;
29993
29992
  uuid: string;
29993
+ toolkitSlug: string;
29994
29994
  triggerSlug: string;
29995
29995
  triggerConfig: Record<string, unknown>;
29996
29996
  connectedAccount: {
29997
29997
  status: "ACTIVE" | "INACTIVE";
29998
- userId: string;
29999
29998
  id: string;
30000
29999
  uuid: string;
30000
+ userId: string;
30001
30001
  authConfigId: string;
30002
30002
  authConfigUUID: string;
30003
30003
  };
@@ -30033,13 +30033,13 @@ declare const TriggersTypeListParamsSchema: z.ZodObject<{
30033
30033
  limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30034
30034
  toolkits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
30035
30035
  }, "strip", z.ZodTypeAny, {
30036
- toolkits?: string[] | null | undefined;
30037
- limit?: number | null | undefined;
30038
30036
  cursor?: string | undefined;
30039
- }, {
30040
- toolkits?: string[] | null | undefined;
30041
30037
  limit?: number | null | undefined;
30038
+ toolkits?: string[] | null | undefined;
30039
+ }, {
30042
30040
  cursor?: string | undefined;
30041
+ limit?: number | null | undefined;
30042
+ toolkits?: string[] | null | undefined;
30043
30043
  }>;
30044
30044
  type TriggersTypeListParams = z.infer<typeof TriggersTypeListParamsSchema>;
30045
30045
  declare const TriggerTypeSchema: z.ZodObject<{
@@ -30304,8 +30304,8 @@ declare const WebhookPayloadV3Schema: z.ZodObject<{
30304
30304
  data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
30305
30305
  }, "strip", z.ZodTypeAny, {
30306
30306
  type: "composio.trigger.message";
30307
- data: Record<string, unknown>;
30308
30307
  id: string;
30308
+ data: Record<string, unknown>;
30309
30309
  metadata: {
30310
30310
  trigger_id: string;
30311
30311
  log_id: string;
@@ -30317,8 +30317,8 @@ declare const WebhookPayloadV3Schema: z.ZodObject<{
30317
30317
  timestamp: string;
30318
30318
  }, {
30319
30319
  type: "composio.trigger.message";
30320
- data: Record<string, unknown>;
30321
30320
  id: string;
30321
+ data: Record<string, unknown>;
30322
30322
  metadata: {
30323
30323
  trigger_id: string;
30324
30324
  log_id: string;
@@ -30360,8 +30360,8 @@ declare const WebhookPayloadSchema: z.ZodUnion<[z.ZodObject<{
30360
30360
  data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
30361
30361
  }, "strip", z.ZodTypeAny, {
30362
30362
  type: "composio.trigger.message";
30363
- data: Record<string, unknown>;
30364
30363
  id: string;
30364
+ data: Record<string, unknown>;
30365
30365
  metadata: {
30366
30366
  trigger_id: string;
30367
30367
  log_id: string;
@@ -30373,8 +30373,8 @@ declare const WebhookPayloadSchema: z.ZodUnion<[z.ZodObject<{
30373
30373
  timestamp: string;
30374
30374
  }, {
30375
30375
  type: "composio.trigger.message";
30376
- data: Record<string, unknown>;
30377
30376
  id: string;
30377
+ data: Record<string, unknown>;
30378
30378
  metadata: {
30379
30379
  trigger_id: string;
30380
30380
  log_id: string;
@@ -31188,16 +31188,16 @@ declare const MCPServerInstanceSchema: z$1.ZodObject<{
31188
31188
  }, "strip", z$1.ZodTypeAny, {
31189
31189
  name: string;
31190
31190
  type: "streamable_http";
31191
- userId: string;
31192
31191
  id: string;
31192
+ userId: string;
31193
31193
  allowedTools: string[];
31194
31194
  url: string;
31195
31195
  authConfigs: string[];
31196
31196
  }, {
31197
31197
  name: string;
31198
31198
  type: "streamable_http";
31199
- userId: string;
31200
31199
  id: string;
31200
+ userId: string;
31201
31201
  allowedTools: string[];
31202
31202
  url: string;
31203
31203
  authConfigs: string[];
@@ -31280,8 +31280,8 @@ declare const MCPConfigResponseSchema: z$1.ZodObject<{
31280
31280
  MCPUrl: z$1.ZodString;
31281
31281
  }, "strip", z$1.ZodTypeAny, {
31282
31282
  name: string;
31283
- authConfigIds: string[];
31284
31283
  id: string;
31284
+ authConfigIds: string[];
31285
31285
  allowedTools: string[];
31286
31286
  commands: {
31287
31287
  cursor: string;
@@ -31291,8 +31291,8 @@ declare const MCPConfigResponseSchema: z$1.ZodObject<{
31291
31291
  MCPUrl: string;
31292
31292
  }, {
31293
31293
  name: string;
31294
- authConfigIds: string[];
31295
31294
  id: string;
31295
+ authConfigIds: string[];
31296
31296
  allowedTools: string[];
31297
31297
  commands: {
31298
31298
  cursor: string;
@@ -31325,15 +31325,15 @@ declare const MCPListParamsSchema: z$1.ZodObject<{
31325
31325
  authConfigs: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>>;
31326
31326
  name: z$1.ZodOptional<z$1.ZodString>;
31327
31327
  }, "strip", z$1.ZodTypeAny, {
31328
- toolkits: string[];
31329
31328
  limit: number;
31329
+ toolkits: string[];
31330
31330
  page: number;
31331
31331
  authConfigs: string[];
31332
31332
  name?: string | undefined;
31333
31333
  }, {
31334
31334
  name?: string | undefined;
31335
- toolkits?: string[] | undefined;
31336
31335
  limit?: number | undefined;
31336
+ toolkits?: string[] | undefined;
31337
31337
  page?: number | undefined;
31338
31338
  authConfigs?: string[] | undefined;
31339
31339
  }>;
@@ -31390,9 +31390,9 @@ declare const MCPItemSchema: z$1.ZodObject<{
31390
31390
  toolkits: z$1.ZodArray<z$1.ZodString, "many">;
31391
31391
  }, "strip", z$1.ZodTypeAny, {
31392
31392
  name: string;
31393
+ id: string;
31393
31394
  toolkits: string[];
31394
31395
  authConfigIds: string[];
31395
- id: string;
31396
31396
  allowedTools: string[];
31397
31397
  commands: {
31398
31398
  cursor: string;
@@ -31404,9 +31404,9 @@ declare const MCPItemSchema: z$1.ZodObject<{
31404
31404
  serverInstanceCount: number;
31405
31405
  }, {
31406
31406
  name: string;
31407
+ id: string;
31407
31408
  toolkits: string[];
31408
31409
  authConfigIds: string[];
31409
- id: string;
31410
31410
  allowedTools: string[];
31411
31411
  commands: {
31412
31412
  cursor: string;
@@ -31471,9 +31471,9 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
31471
31471
  toolkits: z$1.ZodArray<z$1.ZodString, "many">;
31472
31472
  }, "strip", z$1.ZodTypeAny, {
31473
31473
  name: string;
31474
+ id: string;
31474
31475
  toolkits: string[];
31475
31476
  authConfigIds: string[];
31476
- id: string;
31477
31477
  allowedTools: string[];
31478
31478
  commands: {
31479
31479
  cursor: string;
@@ -31485,9 +31485,9 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
31485
31485
  serverInstanceCount: number;
31486
31486
  }, {
31487
31487
  name: string;
31488
+ id: string;
31488
31489
  toolkits: string[];
31489
31490
  authConfigIds: string[];
31490
- id: string;
31491
31491
  allowedTools: string[];
31492
31492
  commands: {
31493
31493
  cursor: string;
@@ -31503,9 +31503,9 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
31503
31503
  }, "strip", z$1.ZodTypeAny, {
31504
31504
  items: {
31505
31505
  name: string;
31506
+ id: string;
31506
31507
  toolkits: string[];
31507
31508
  authConfigIds: string[];
31508
- id: string;
31509
31509
  allowedTools: string[];
31510
31510
  commands: {
31511
31511
  cursor: string;
@@ -31521,9 +31521,9 @@ declare const MCPListResponseSchema: z$1.ZodObject<{
31521
31521
  }, {
31522
31522
  items: {
31523
31523
  name: string;
31524
+ id: string;
31524
31525
  toolkits: string[];
31525
31526
  authConfigIds: string[];
31526
- id: string;
31527
31527
  allowedTools: string[];
31528
31528
  commands: {
31529
31529
  cursor: string;
@@ -32686,15 +32686,15 @@ declare const ToolRouterToolkitsOptionsSchema: z$1.ZodObject<{
32686
32686
  isConnected: z$1.ZodOptional<z$1.ZodBoolean>;
32687
32687
  search: z$1.ZodOptional<z$1.ZodString>;
32688
32688
  }, "strip", z$1.ZodTypeAny, {
32689
+ limit?: number | undefined;
32689
32690
  nextCursor?: string | undefined;
32690
32691
  toolkits?: string[] | undefined;
32691
- limit?: number | undefined;
32692
32692
  search?: string | undefined;
32693
32693
  isConnected?: boolean | undefined;
32694
32694
  }, {
32695
+ limit?: number | undefined;
32695
32696
  nextCursor?: string | undefined;
32696
32697
  toolkits?: string[] | undefined;
32697
- limit?: number | undefined;
32698
32698
  search?: string | undefined;
32699
32699
  isConnected?: boolean | undefined;
32700
32700
  }>;
@@ -33069,6 +33069,34 @@ declare class Composio<TProvider extends BaseComposioProvider<unknown, unknown,
33069
33069
  createSession(options?: {
33070
33070
  headers?: ComposioRequestHeaders;
33071
33071
  }): Composio<TProvider>;
33072
+ /**
33073
+ * Flush any pending telemetry and wait for it to complete.
33074
+ *
33075
+ * In Node.js-compatible environments, telemetry is automatically flushed on process exit.
33076
+ * However, in environments like Cloudflare Workers that don't support process exit events,
33077
+ * you should call this method manually to ensure all telemetry is sent.
33078
+ *
33079
+ * @returns {Promise<void>} A promise that resolves when all pending telemetry has been sent.
33080
+ *
33081
+ * @example
33082
+ * ```typescript
33083
+ * // In a Cloudflare Worker, use ctx.waitUntil to ensure telemetry is flushed
33084
+ * export default {
33085
+ * async fetch(request: Request, env: Env, ctx: ExecutionContext) {
33086
+ * const composio = new Composio({ apiKey: env.COMPOSIO_API_KEY });
33087
+ *
33088
+ * // Do your work...
33089
+ * const result = await composio.tools.execute(...);
33090
+ *
33091
+ * // Ensure telemetry flushes before worker terminates
33092
+ * ctx.waitUntil(composio.flush());
33093
+ *
33094
+ * return new Response(JSON.stringify(result));
33095
+ * }
33096
+ * };
33097
+ * ```
33098
+ */
33099
+ flush(): Promise<void>;
33072
33100
  }
33073
33101
  //#endregion
33074
33102
  //#region src/provider/ComposioProvider.d.ts