@composio/core 0.3.3 → 0.3.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/index.cjs CHANGED
@@ -6271,7 +6271,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
6271
6271
 
6272
6272
  //#endregion
6273
6273
  //#region package.json
6274
- var version = "0.3.3";
6274
+ var version = "0.3.4";
6275
6275
 
6276
6276
  //#endregion
6277
6277
  //#region src/models/Files.ts
@@ -6831,13 +6831,12 @@ var Composio = class Composio {
6831
6831
  this.files = new Files(this.client);
6832
6832
  this.connectedAccounts = new ConnectedAccounts(this.client);
6833
6833
  this.toolRouter = new ToolRouter(this.client, this.config);
6834
- this.toolRouter.create.bind(this.toolRouter);
6835
- this.toolRouter.use.bind(this.toolRouter);
6836
6834
  /**
6837
6835
  * Initialize tool router methods
6836
+ * Properly bind the methods to maintain the correct 'this' context
6838
6837
  */
6839
- this.create = this.toolRouter.create;
6840
- this.use = this.toolRouter.use;
6838
+ this.create = this.toolRouter.create.bind(this.toolRouter);
6839
+ this.use = this.toolRouter.use.bind(this.toolRouter);
6841
6840
  /**
6842
6841
  * Initialize Experimental features
6843
6842
  */
package/dist/index.d.cts CHANGED
@@ -27263,7 +27263,6 @@ declare const ToolKitMetaSchema: z.ZodObject<{
27263
27263
  logo?: string | undefined;
27264
27264
  availableVersions?: string[] | undefined;
27265
27265
  createdAt?: string | undefined;
27266
- updatedAt?: string | undefined;
27267
27266
  categories?: {
27268
27267
  slug: string;
27269
27268
  name: string;
@@ -27271,12 +27270,12 @@ declare const ToolKitMetaSchema: z.ZodObject<{
27271
27270
  appUrl?: string | undefined;
27272
27271
  toolsCount?: number | undefined;
27273
27272
  triggersCount?: number | undefined;
27273
+ updatedAt?: string | undefined;
27274
27274
  }, {
27275
27275
  description?: string | undefined;
27276
27276
  logo?: string | undefined;
27277
27277
  availableVersions?: string[] | undefined;
27278
27278
  createdAt?: string | undefined;
27279
- updatedAt?: string | undefined;
27280
27279
  categories?: {
27281
27280
  slug: string;
27282
27281
  name: string;
@@ -27284,6 +27283,7 @@ declare const ToolKitMetaSchema: z.ZodObject<{
27284
27283
  appUrl?: string | undefined;
27285
27284
  toolsCount?: number | undefined;
27286
27285
  triggersCount?: number | undefined;
27286
+ updatedAt?: string | undefined;
27287
27287
  }>;
27288
27288
  declare const ToolKitItemSchema: z.ZodObject<{
27289
27289
  name: z.ZodString;
@@ -27312,7 +27312,6 @@ declare const ToolKitItemSchema: z.ZodObject<{
27312
27312
  logo?: string | undefined;
27313
27313
  availableVersions?: string[] | undefined;
27314
27314
  createdAt?: string | undefined;
27315
- updatedAt?: string | undefined;
27316
27315
  categories?: {
27317
27316
  slug: string;
27318
27317
  name: string;
@@ -27320,12 +27319,12 @@ declare const ToolKitItemSchema: z.ZodObject<{
27320
27319
  appUrl?: string | undefined;
27321
27320
  toolsCount?: number | undefined;
27322
27321
  triggersCount?: number | undefined;
27322
+ updatedAt?: string | undefined;
27323
27323
  }, {
27324
27324
  description?: string | undefined;
27325
27325
  logo?: string | undefined;
27326
27326
  availableVersions?: string[] | undefined;
27327
27327
  createdAt?: string | undefined;
27328
- updatedAt?: string | undefined;
27329
27328
  categories?: {
27330
27329
  slug: string;
27331
27330
  name: string;
@@ -27333,6 +27332,7 @@ declare const ToolKitItemSchema: z.ZodObject<{
27333
27332
  appUrl?: string | undefined;
27334
27333
  toolsCount?: number | undefined;
27335
27334
  triggersCount?: number | undefined;
27335
+ updatedAt?: string | undefined;
27336
27336
  }>;
27337
27337
  isLocalToolkit: z.ZodBoolean;
27338
27338
  authSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -27346,7 +27346,6 @@ declare const ToolKitItemSchema: z.ZodObject<{
27346
27346
  logo?: string | undefined;
27347
27347
  availableVersions?: string[] | undefined;
27348
27348
  createdAt?: string | undefined;
27349
- updatedAt?: string | undefined;
27350
27349
  categories?: {
27351
27350
  slug: string;
27352
27351
  name: string;
@@ -27354,6 +27353,7 @@ declare const ToolKitItemSchema: z.ZodObject<{
27354
27353
  appUrl?: string | undefined;
27355
27354
  toolsCount?: number | undefined;
27356
27355
  triggersCount?: number | undefined;
27356
+ updatedAt?: string | undefined;
27357
27357
  };
27358
27358
  isLocalToolkit: boolean;
27359
27359
  authSchemes?: string[] | undefined;
@@ -27367,7 +27367,6 @@ declare const ToolKitItemSchema: z.ZodObject<{
27367
27367
  logo?: string | undefined;
27368
27368
  availableVersions?: string[] | undefined;
27369
27369
  createdAt?: string | undefined;
27370
- updatedAt?: string | undefined;
27371
27370
  categories?: {
27372
27371
  slug: string;
27373
27372
  name: string;
@@ -27375,6 +27374,7 @@ declare const ToolKitItemSchema: z.ZodObject<{
27375
27374
  appUrl?: string | undefined;
27376
27375
  toolsCount?: number | undefined;
27377
27376
  triggersCount?: number | undefined;
27377
+ updatedAt?: string | undefined;
27378
27378
  };
27379
27379
  isLocalToolkit: boolean;
27380
27380
  authSchemes?: string[] | undefined;
@@ -27408,7 +27408,6 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
27408
27408
  logo?: string | undefined;
27409
27409
  availableVersions?: string[] | undefined;
27410
27410
  createdAt?: string | undefined;
27411
- updatedAt?: string | undefined;
27412
27411
  categories?: {
27413
27412
  slug: string;
27414
27413
  name: string;
@@ -27416,12 +27415,12 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
27416
27415
  appUrl?: string | undefined;
27417
27416
  toolsCount?: number | undefined;
27418
27417
  triggersCount?: number | undefined;
27418
+ updatedAt?: string | undefined;
27419
27419
  }, {
27420
27420
  description?: string | undefined;
27421
27421
  logo?: string | undefined;
27422
27422
  availableVersions?: string[] | undefined;
27423
27423
  createdAt?: string | undefined;
27424
- updatedAt?: string | undefined;
27425
27424
  categories?: {
27426
27425
  slug: string;
27427
27426
  name: string;
@@ -27429,6 +27428,7 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
27429
27428
  appUrl?: string | undefined;
27430
27429
  toolsCount?: number | undefined;
27431
27430
  triggersCount?: number | undefined;
27431
+ updatedAt?: string | undefined;
27432
27432
  }>;
27433
27433
  isLocalToolkit: z.ZodBoolean;
27434
27434
  authSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -27442,7 +27442,6 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
27442
27442
  logo?: string | undefined;
27443
27443
  availableVersions?: string[] | undefined;
27444
27444
  createdAt?: string | undefined;
27445
- updatedAt?: string | undefined;
27446
27445
  categories?: {
27447
27446
  slug: string;
27448
27447
  name: string;
@@ -27450,6 +27449,7 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
27450
27449
  appUrl?: string | undefined;
27451
27450
  toolsCount?: number | undefined;
27452
27451
  triggersCount?: number | undefined;
27452
+ updatedAt?: string | undefined;
27453
27453
  };
27454
27454
  isLocalToolkit: boolean;
27455
27455
  authSchemes?: string[] | undefined;
@@ -27463,7 +27463,6 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
27463
27463
  logo?: string | undefined;
27464
27464
  availableVersions?: string[] | undefined;
27465
27465
  createdAt?: string | undefined;
27466
- updatedAt?: string | undefined;
27467
27466
  categories?: {
27468
27467
  slug: string;
27469
27468
  name: string;
@@ -27471,6 +27470,7 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
27471
27470
  appUrl?: string | undefined;
27472
27471
  toolsCount?: number | undefined;
27473
27472
  triggersCount?: number | undefined;
27473
+ updatedAt?: string | undefined;
27474
27474
  };
27475
27475
  isLocalToolkit: boolean;
27476
27476
  authSchemes?: string[] | undefined;
@@ -27867,7 +27867,6 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
27867
27867
  logo?: string | undefined;
27868
27868
  availableVersions?: string[] | undefined;
27869
27869
  createdAt?: string | undefined;
27870
- updatedAt?: string | undefined;
27871
27870
  categories?: {
27872
27871
  slug: string;
27873
27872
  name: string;
@@ -27875,12 +27874,12 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
27875
27874
  appUrl?: string | undefined;
27876
27875
  toolsCount?: number | undefined;
27877
27876
  triggersCount?: number | undefined;
27877
+ updatedAt?: string | undefined;
27878
27878
  }, {
27879
27879
  description?: string | undefined;
27880
27880
  logo?: string | undefined;
27881
27881
  availableVersions?: string[] | undefined;
27882
27882
  createdAt?: string | undefined;
27883
- updatedAt?: string | undefined;
27884
27883
  categories?: {
27885
27884
  slug: string;
27886
27885
  name: string;
@@ -27888,6 +27887,7 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
27888
27887
  appUrl?: string | undefined;
27889
27888
  toolsCount?: number | undefined;
27890
27889
  triggersCount?: number | undefined;
27890
+ updatedAt?: string | undefined;
27891
27891
  }>;
27892
27892
  isLocalToolkit: z.ZodBoolean;
27893
27893
  composioManagedAuthSchemes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -28236,7 +28236,6 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
28236
28236
  logo?: string | undefined;
28237
28237
  availableVersions?: string[] | undefined;
28238
28238
  createdAt?: string | undefined;
28239
- updatedAt?: string | undefined;
28240
28239
  categories?: {
28241
28240
  slug: string;
28242
28241
  name: string;
@@ -28244,6 +28243,7 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
28244
28243
  appUrl?: string | undefined;
28245
28244
  toolsCount?: number | undefined;
28246
28245
  triggersCount?: number | undefined;
28246
+ updatedAt?: string | undefined;
28247
28247
  };
28248
28248
  isLocalToolkit: boolean;
28249
28249
  composioManagedAuthSchemes?: string[] | undefined;
@@ -28302,7 +28302,6 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
28302
28302
  logo?: string | undefined;
28303
28303
  availableVersions?: string[] | undefined;
28304
28304
  createdAt?: string | undefined;
28305
- updatedAt?: string | undefined;
28306
28305
  categories?: {
28307
28306
  slug: string;
28308
28307
  name: string;
@@ -28310,6 +28309,7 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
28310
28309
  appUrl?: string | undefined;
28311
28310
  toolsCount?: number | undefined;
28312
28311
  triggersCount?: number | undefined;
28312
+ updatedAt?: string | undefined;
28313
28313
  };
28314
28314
  isLocalToolkit: boolean;
28315
28315
  composioManagedAuthSchemes?: string[] | undefined;
@@ -29491,21 +29491,21 @@ declare const TriggerInstanceListActiveResponseItemSchema: z.ZodObject<{
29491
29491
  }, "strip", z.ZodTypeAny, {
29492
29492
  connectedAccountId: string;
29493
29493
  id: string;
29494
+ updatedAt: string;
29494
29495
  disabledAt: string | null;
29495
29496
  state: Record<string, unknown>;
29496
29497
  triggerConfig: Record<string, unknown>;
29497
29498
  triggerName: string;
29498
- updatedAt: string;
29499
29499
  uuid?: string | undefined;
29500
29500
  triggerData?: string | undefined;
29501
29501
  }, {
29502
29502
  connectedAccountId: string;
29503
29503
  id: string;
29504
+ updatedAt: string;
29504
29505
  disabledAt: string | null;
29505
29506
  state: Record<string, unknown>;
29506
29507
  triggerConfig: Record<string, unknown>;
29507
29508
  triggerName: string;
29508
- updatedAt: string;
29509
29509
  uuid?: string | undefined;
29510
29510
  triggerData?: string | undefined;
29511
29511
  }>;
@@ -29523,21 +29523,21 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
29523
29523
  }, "strip", z.ZodTypeAny, {
29524
29524
  connectedAccountId: string;
29525
29525
  id: string;
29526
+ updatedAt: string;
29526
29527
  disabledAt: string | null;
29527
29528
  state: Record<string, unknown>;
29528
29529
  triggerConfig: Record<string, unknown>;
29529
29530
  triggerName: string;
29530
- updatedAt: string;
29531
29531
  uuid?: string | undefined;
29532
29532
  triggerData?: string | undefined;
29533
29533
  }, {
29534
29534
  connectedAccountId: string;
29535
29535
  id: string;
29536
+ updatedAt: string;
29536
29537
  disabledAt: string | null;
29537
29538
  state: Record<string, unknown>;
29538
29539
  triggerConfig: Record<string, unknown>;
29539
29540
  triggerName: string;
29540
- updatedAt: string;
29541
29541
  uuid?: string | undefined;
29542
29542
  triggerData?: string | undefined;
29543
29543
  }>, "many">;
@@ -29547,11 +29547,11 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
29547
29547
  items: {
29548
29548
  connectedAccountId: string;
29549
29549
  id: string;
29550
+ updatedAt: string;
29550
29551
  disabledAt: string | null;
29551
29552
  state: Record<string, unknown>;
29552
29553
  triggerConfig: Record<string, unknown>;
29553
29554
  triggerName: string;
29554
- updatedAt: string;
29555
29555
  uuid?: string | undefined;
29556
29556
  triggerData?: string | undefined;
29557
29557
  }[];
@@ -29561,11 +29561,11 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
29561
29561
  items: {
29562
29562
  connectedAccountId: string;
29563
29563
  id: string;
29564
+ updatedAt: string;
29564
29565
  disabledAt: string | null;
29565
29566
  state: Record<string, unknown>;
29566
29567
  triggerConfig: Record<string, unknown>;
29567
29568
  triggerName: string;
29568
- updatedAt: string;
29569
29569
  uuid?: string | undefined;
29570
29570
  triggerData?: string | undefined;
29571
29571
  }[];
package/dist/index.d.mts CHANGED
@@ -27261,7 +27261,6 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
27261
27261
  logo?: string | undefined;
27262
27262
  availableVersions?: string[] | undefined;
27263
27263
  createdAt?: string | undefined;
27264
- updatedAt?: string | undefined;
27265
27264
  categories?: {
27266
27265
  slug: string;
27267
27266
  name: string;
@@ -27269,12 +27268,12 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
27269
27268
  appUrl?: string | undefined;
27270
27269
  toolsCount?: number | undefined;
27271
27270
  triggersCount?: number | undefined;
27271
+ updatedAt?: string | undefined;
27272
27272
  }, {
27273
27273
  description?: string | undefined;
27274
27274
  logo?: string | undefined;
27275
27275
  availableVersions?: string[] | undefined;
27276
27276
  createdAt?: string | undefined;
27277
- updatedAt?: string | undefined;
27278
27277
  categories?: {
27279
27278
  slug: string;
27280
27279
  name: string;
@@ -27282,6 +27281,7 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
27282
27281
  appUrl?: string | undefined;
27283
27282
  toolsCount?: number | undefined;
27284
27283
  triggersCount?: number | undefined;
27284
+ updatedAt?: string | undefined;
27285
27285
  }>;
27286
27286
  declare const ToolKitItemSchema: z$1.ZodObject<{
27287
27287
  name: z$1.ZodString;
@@ -27310,7 +27310,6 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
27310
27310
  logo?: string | undefined;
27311
27311
  availableVersions?: string[] | undefined;
27312
27312
  createdAt?: string | undefined;
27313
- updatedAt?: string | undefined;
27314
27313
  categories?: {
27315
27314
  slug: string;
27316
27315
  name: string;
@@ -27318,12 +27317,12 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
27318
27317
  appUrl?: string | undefined;
27319
27318
  toolsCount?: number | undefined;
27320
27319
  triggersCount?: number | undefined;
27320
+ updatedAt?: string | undefined;
27321
27321
  }, {
27322
27322
  description?: string | undefined;
27323
27323
  logo?: string | undefined;
27324
27324
  availableVersions?: string[] | undefined;
27325
27325
  createdAt?: string | undefined;
27326
- updatedAt?: string | undefined;
27327
27326
  categories?: {
27328
27327
  slug: string;
27329
27328
  name: string;
@@ -27331,6 +27330,7 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
27331
27330
  appUrl?: string | undefined;
27332
27331
  toolsCount?: number | undefined;
27333
27332
  triggersCount?: number | undefined;
27333
+ updatedAt?: string | undefined;
27334
27334
  }>;
27335
27335
  isLocalToolkit: z$1.ZodBoolean;
27336
27336
  authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
@@ -27344,7 +27344,6 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
27344
27344
  logo?: string | undefined;
27345
27345
  availableVersions?: string[] | undefined;
27346
27346
  createdAt?: string | undefined;
27347
- updatedAt?: string | undefined;
27348
27347
  categories?: {
27349
27348
  slug: string;
27350
27349
  name: string;
@@ -27352,6 +27351,7 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
27352
27351
  appUrl?: string | undefined;
27353
27352
  toolsCount?: number | undefined;
27354
27353
  triggersCount?: number | undefined;
27354
+ updatedAt?: string | undefined;
27355
27355
  };
27356
27356
  isLocalToolkit: boolean;
27357
27357
  authSchemes?: string[] | undefined;
@@ -27365,7 +27365,6 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
27365
27365
  logo?: string | undefined;
27366
27366
  availableVersions?: string[] | undefined;
27367
27367
  createdAt?: string | undefined;
27368
- updatedAt?: string | undefined;
27369
27368
  categories?: {
27370
27369
  slug: string;
27371
27370
  name: string;
@@ -27373,6 +27372,7 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
27373
27372
  appUrl?: string | undefined;
27374
27373
  toolsCount?: number | undefined;
27375
27374
  triggersCount?: number | undefined;
27375
+ updatedAt?: string | undefined;
27376
27376
  };
27377
27377
  isLocalToolkit: boolean;
27378
27378
  authSchemes?: string[] | undefined;
@@ -27406,7 +27406,6 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
27406
27406
  logo?: string | undefined;
27407
27407
  availableVersions?: string[] | undefined;
27408
27408
  createdAt?: string | undefined;
27409
- updatedAt?: string | undefined;
27410
27409
  categories?: {
27411
27410
  slug: string;
27412
27411
  name: string;
@@ -27414,12 +27413,12 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
27414
27413
  appUrl?: string | undefined;
27415
27414
  toolsCount?: number | undefined;
27416
27415
  triggersCount?: number | undefined;
27416
+ updatedAt?: string | undefined;
27417
27417
  }, {
27418
27418
  description?: string | undefined;
27419
27419
  logo?: string | undefined;
27420
27420
  availableVersions?: string[] | undefined;
27421
27421
  createdAt?: string | undefined;
27422
- updatedAt?: string | undefined;
27423
27422
  categories?: {
27424
27423
  slug: string;
27425
27424
  name: string;
@@ -27427,6 +27426,7 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
27427
27426
  appUrl?: string | undefined;
27428
27427
  toolsCount?: number | undefined;
27429
27428
  triggersCount?: number | undefined;
27429
+ updatedAt?: string | undefined;
27430
27430
  }>;
27431
27431
  isLocalToolkit: z$1.ZodBoolean;
27432
27432
  authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
@@ -27440,7 +27440,6 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
27440
27440
  logo?: string | undefined;
27441
27441
  availableVersions?: string[] | undefined;
27442
27442
  createdAt?: string | undefined;
27443
- updatedAt?: string | undefined;
27444
27443
  categories?: {
27445
27444
  slug: string;
27446
27445
  name: string;
@@ -27448,6 +27447,7 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
27448
27447
  appUrl?: string | undefined;
27449
27448
  toolsCount?: number | undefined;
27450
27449
  triggersCount?: number | undefined;
27450
+ updatedAt?: string | undefined;
27451
27451
  };
27452
27452
  isLocalToolkit: boolean;
27453
27453
  authSchemes?: string[] | undefined;
@@ -27461,7 +27461,6 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
27461
27461
  logo?: string | undefined;
27462
27462
  availableVersions?: string[] | undefined;
27463
27463
  createdAt?: string | undefined;
27464
- updatedAt?: string | undefined;
27465
27464
  categories?: {
27466
27465
  slug: string;
27467
27466
  name: string;
@@ -27469,6 +27468,7 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
27469
27468
  appUrl?: string | undefined;
27470
27469
  toolsCount?: number | undefined;
27471
27470
  triggersCount?: number | undefined;
27471
+ updatedAt?: string | undefined;
27472
27472
  };
27473
27473
  isLocalToolkit: boolean;
27474
27474
  authSchemes?: string[] | undefined;
@@ -27865,7 +27865,6 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
27865
27865
  logo?: string | undefined;
27866
27866
  availableVersions?: string[] | undefined;
27867
27867
  createdAt?: string | undefined;
27868
- updatedAt?: string | undefined;
27869
27868
  categories?: {
27870
27869
  slug: string;
27871
27870
  name: string;
@@ -27873,12 +27872,12 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
27873
27872
  appUrl?: string | undefined;
27874
27873
  toolsCount?: number | undefined;
27875
27874
  triggersCount?: number | undefined;
27875
+ updatedAt?: string | undefined;
27876
27876
  }, {
27877
27877
  description?: string | undefined;
27878
27878
  logo?: string | undefined;
27879
27879
  availableVersions?: string[] | undefined;
27880
27880
  createdAt?: string | undefined;
27881
- updatedAt?: string | undefined;
27882
27881
  categories?: {
27883
27882
  slug: string;
27884
27883
  name: string;
@@ -27886,6 +27885,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
27886
27885
  appUrl?: string | undefined;
27887
27886
  toolsCount?: number | undefined;
27888
27887
  triggersCount?: number | undefined;
27888
+ updatedAt?: string | undefined;
27889
27889
  }>;
27890
27890
  isLocalToolkit: z$1.ZodBoolean;
27891
27891
  composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
@@ -28234,7 +28234,6 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
28234
28234
  logo?: string | undefined;
28235
28235
  availableVersions?: string[] | undefined;
28236
28236
  createdAt?: string | undefined;
28237
- updatedAt?: string | undefined;
28238
28237
  categories?: {
28239
28238
  slug: string;
28240
28239
  name: string;
@@ -28242,6 +28241,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
28242
28241
  appUrl?: string | undefined;
28243
28242
  toolsCount?: number | undefined;
28244
28243
  triggersCount?: number | undefined;
28244
+ updatedAt?: string | undefined;
28245
28245
  };
28246
28246
  isLocalToolkit: boolean;
28247
28247
  composioManagedAuthSchemes?: string[] | undefined;
@@ -28300,7 +28300,6 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
28300
28300
  logo?: string | undefined;
28301
28301
  availableVersions?: string[] | undefined;
28302
28302
  createdAt?: string | undefined;
28303
- updatedAt?: string | undefined;
28304
28303
  categories?: {
28305
28304
  slug: string;
28306
28305
  name: string;
@@ -28308,6 +28307,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
28308
28307
  appUrl?: string | undefined;
28309
28308
  toolsCount?: number | undefined;
28310
28309
  triggersCount?: number | undefined;
28310
+ updatedAt?: string | undefined;
28311
28311
  };
28312
28312
  isLocalToolkit: boolean;
28313
28313
  composioManagedAuthSchemes?: string[] | undefined;
@@ -29489,21 +29489,21 @@ declare const TriggerInstanceListActiveResponseItemSchema: z$1.ZodObject<{
29489
29489
  }, "strip", z$1.ZodTypeAny, {
29490
29490
  connectedAccountId: string;
29491
29491
  id: string;
29492
+ updatedAt: string;
29492
29493
  disabledAt: string | null;
29493
29494
  state: Record<string, unknown>;
29494
29495
  triggerConfig: Record<string, unknown>;
29495
29496
  triggerName: string;
29496
- updatedAt: string;
29497
29497
  uuid?: string | undefined;
29498
29498
  triggerData?: string | undefined;
29499
29499
  }, {
29500
29500
  connectedAccountId: string;
29501
29501
  id: string;
29502
+ updatedAt: string;
29502
29503
  disabledAt: string | null;
29503
29504
  state: Record<string, unknown>;
29504
29505
  triggerConfig: Record<string, unknown>;
29505
29506
  triggerName: string;
29506
- updatedAt: string;
29507
29507
  uuid?: string | undefined;
29508
29508
  triggerData?: string | undefined;
29509
29509
  }>;
@@ -29521,21 +29521,21 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
29521
29521
  }, "strip", z$1.ZodTypeAny, {
29522
29522
  connectedAccountId: string;
29523
29523
  id: string;
29524
+ updatedAt: string;
29524
29525
  disabledAt: string | null;
29525
29526
  state: Record<string, unknown>;
29526
29527
  triggerConfig: Record<string, unknown>;
29527
29528
  triggerName: string;
29528
- updatedAt: string;
29529
29529
  uuid?: string | undefined;
29530
29530
  triggerData?: string | undefined;
29531
29531
  }, {
29532
29532
  connectedAccountId: string;
29533
29533
  id: string;
29534
+ updatedAt: string;
29534
29535
  disabledAt: string | null;
29535
29536
  state: Record<string, unknown>;
29536
29537
  triggerConfig: Record<string, unknown>;
29537
29538
  triggerName: string;
29538
- updatedAt: string;
29539
29539
  uuid?: string | undefined;
29540
29540
  triggerData?: string | undefined;
29541
29541
  }>, "many">;
@@ -29545,11 +29545,11 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
29545
29545
  items: {
29546
29546
  connectedAccountId: string;
29547
29547
  id: string;
29548
+ updatedAt: string;
29548
29549
  disabledAt: string | null;
29549
29550
  state: Record<string, unknown>;
29550
29551
  triggerConfig: Record<string, unknown>;
29551
29552
  triggerName: string;
29552
- updatedAt: string;
29553
29553
  uuid?: string | undefined;
29554
29554
  triggerData?: string | undefined;
29555
29555
  }[];
@@ -29559,11 +29559,11 @@ declare const TriggerInstanceListActiveResponseSchema: z$1.ZodObject<{
29559
29559
  items: {
29560
29560
  connectedAccountId: string;
29561
29561
  id: string;
29562
+ updatedAt: string;
29562
29563
  disabledAt: string | null;
29563
29564
  state: Record<string, unknown>;
29564
29565
  triggerConfig: Record<string, unknown>;
29565
29566
  triggerName: string;
29566
- updatedAt: string;
29567
29567
  uuid?: string | undefined;
29568
29568
  triggerData?: string | undefined;
29569
29569
  }[];
package/dist/index.mjs CHANGED
@@ -6224,7 +6224,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
6224
6224
 
6225
6225
  //#endregion
6226
6226
  //#region package.json
6227
- var version = "0.3.3";
6227
+ var version = "0.3.4";
6228
6228
 
6229
6229
  //#endregion
6230
6230
  //#region src/models/Files.ts
@@ -6784,13 +6784,12 @@ var Composio = class Composio {
6784
6784
  this.files = new Files(this.client);
6785
6785
  this.connectedAccounts = new ConnectedAccounts(this.client);
6786
6786
  this.toolRouter = new ToolRouter(this.client, this.config);
6787
- this.toolRouter.create.bind(this.toolRouter);
6788
- this.toolRouter.use.bind(this.toolRouter);
6789
6787
  /**
6790
6788
  * Initialize tool router methods
6789
+ * Properly bind the methods to maintain the correct 'this' context
6791
6790
  */
6792
- this.create = this.toolRouter.create;
6793
- this.use = this.toolRouter.use;
6791
+ this.create = this.toolRouter.create.bind(this.toolRouter);
6792
+ this.use = this.toolRouter.use.bind(this.toolRouter);
6794
6793
  /**
6795
6794
  * Initialize Experimental features
6796
6795
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@composio/core",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "",
5
5
  "main": "dist/index.mjs",
6
6
  "type": "module",