@composio/client 0.1.0-alpha.71 → 0.1.0-alpha.72

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.72 (2026-05-12)
4
+
5
+ Full Changelog: [v0.1.0-alpha.71...v0.1.0-alpha.72](https://github.com/ComposioHQ/composio-base-ts/compare/v0.1.0-alpha.71...v0.1.0-alpha.72)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([4931413](https://github.com/ComposioHQ/composio-base-ts/commit/49314137ce080763832305e7b77093822d824317))
10
+
3
11
  ## 0.1.0-alpha.71 (2026-05-11)
4
12
 
5
13
  Full Changelog: [v0.1.0-alpha.70...v0.1.0-alpha.71](https://github.com/ComposioHQ/composio-base-ts/compare/v0.1.0-alpha.70...v0.1.0-alpha.71)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@composio/client",
3
- "version": "0.1.0-alpha.71",
3
+ "version": "0.1.0-alpha.72",
4
4
  "description": "The official TypeScript library for the Composio API",
5
5
  "author": "Composio <tech@composio.dev>",
6
6
  "types": "./index.d.ts",
@@ -124,12 +124,6 @@ export interface ConnectedAccountCreateResponse {
124
124
  * The id of the connected account
125
125
  */
126
126
  id: string;
127
- /**
128
- * The persisted sharing model for this connected account (PRIVATE | SHARED).
129
- * Echoes back the value supplied at creation time so callers can confirm what
130
- * landed without a follow-up GET.
131
- */
132
- account_type: 'PRIVATE' | 'SHARED';
133
127
  /**
134
128
  * The connection data of the connected account
135
129
  */
@@ -151,6 +145,11 @@ export interface ConnectedAccountCreateResponse {
151
145
  * @deprecated DEPRECATED: This field will be removed in a future version
152
146
  */
153
147
  status: 'INITIALIZING' | 'INITIATED' | 'ACTIVE' | 'FAILED' | 'EXPIRED' | 'INACTIVE' | 'REVOKED';
148
+ /**
149
+ * Experimental features - not stable, may be modified or removed in future
150
+ * versions.
151
+ */
152
+ experimental?: ConnectedAccountCreateResponse.Experimental;
154
153
  }
155
154
  export declare namespace ConnectedAccountCreateResponse {
156
155
  interface UnionMember0 {
@@ -2498,19 +2497,42 @@ export declare namespace ConnectedAccountCreateResponse {
2498
2497
  */
2499
2498
  uuid: string;
2500
2499
  }
2500
+ /**
2501
+ * Experimental features - not stable, may be modified or removed in future
2502
+ * versions.
2503
+ */
2504
+ interface Experimental {
2505
+ /**
2506
+ * Sharing model for this connected account. PRIVATE is usable only by the owning
2507
+ * user_id. SHARED is reachable from a tool-router session only when explicitly
2508
+ * pinned in the session config.
2509
+ */
2510
+ account_type: 'PRIVATE' | 'SHARED';
2511
+ /**
2512
+ * Access control for SHARED connections. Visible only to the connection creator
2513
+ * and project/org API key callers; non-creator cookie callers receive the response
2514
+ * without this block.
2515
+ */
2516
+ acl_config_for_shared?: Experimental.ACLConfigForShared;
2517
+ }
2518
+ namespace Experimental {
2519
+ /**
2520
+ * Access control for SHARED connections. Visible only to the connection creator
2521
+ * and project/org API key callers; non-creator cookie callers receive the response
2522
+ * without this block.
2523
+ */
2524
+ interface ACLConfigForShared {
2525
+ allow_all_users: boolean;
2526
+ allowed_user_ids: Array<string>;
2527
+ not_allowed_user_ids: Array<string>;
2528
+ }
2529
+ }
2501
2530
  }
2502
2531
  export interface ConnectedAccountRetrieveResponse {
2503
2532
  /**
2504
2533
  * The id of the connection
2505
2534
  */
2506
2535
  id: string;
2507
- /**
2508
- * Sharing model. PRIVATE accounts are usable only by their owning user_id. SHARED
2509
- * accounts are reachable from a tool-router session only when explicitly pinned in
2510
- * the session config (at most one SHARED per toolkit per session); they are never
2511
- * used implicitly.
2512
- */
2513
- account_type: 'PRIVATE' | 'SHARED';
2514
2536
  /**
2515
2537
  * A user-defined alias for the connected account
2516
2538
  */
@@ -2569,16 +2591,15 @@ export interface ConnectedAccountRetrieveResponse {
2569
2591
  * toolkit-prefixed with 1-2 words (e.g., "gmail_red-castle")
2570
2592
  */
2571
2593
  word_id: string | null;
2572
- /**
2573
- * Access control for SHARED connections. Resolution rule (only fires when caller
2574
- * != creator): user in not_allowed_user_ids → DENY; allow_all_users=true → ALLOW;
2575
- * user in allowed_user_ids → ALLOW; else DENY.
2576
- */
2577
- acl_config_for_shared?: ConnectedAccountRetrieveResponse.ACLConfigForShared;
2578
2594
  /**
2579
2595
  * @deprecated
2580
2596
  */
2581
2597
  deprecated?: ConnectedAccountRetrieveResponse.Deprecated;
2598
+ /**
2599
+ * Experimental features - not stable, may be modified or removed in future
2600
+ * versions.
2601
+ */
2602
+ experimental?: ConnectedAccountRetrieveResponse.Experimental;
2582
2603
  /**
2583
2604
  * The endpoint to make test request for verification
2584
2605
  */
@@ -4955,16 +4976,6 @@ export declare namespace ConnectedAccountRetrieveResponse {
4955
4976
  */
4956
4977
  slug: string;
4957
4978
  }
4958
- /**
4959
- * Access control for SHARED connections. Resolution rule (only fires when caller
4960
- * != creator): user in not_allowed_user_ids → DENY; allow_all_users=true → ALLOW;
4961
- * user in allowed_user_ids → ALLOW; else DENY.
4962
- */
4963
- interface ACLConfigForShared {
4964
- allow_all_users: boolean;
4965
- allowed_user_ids: Array<string>;
4966
- not_allowed_user_ids: Array<string>;
4967
- }
4968
4979
  /**
4969
4980
  * @deprecated
4970
4981
  */
@@ -4978,6 +4989,36 @@ export declare namespace ConnectedAccountRetrieveResponse {
4978
4989
  */
4979
4990
  uuid: string;
4980
4991
  }
4992
+ /**
4993
+ * Experimental features - not stable, may be modified or removed in future
4994
+ * versions.
4995
+ */
4996
+ interface Experimental {
4997
+ /**
4998
+ * Sharing model for this connected account. PRIVATE is usable only by the owning
4999
+ * user_id. SHARED is reachable from a tool-router session only when explicitly
5000
+ * pinned in the session config.
5001
+ */
5002
+ account_type: 'PRIVATE' | 'SHARED';
5003
+ /**
5004
+ * Access control for SHARED connections. Visible only to the connection creator
5005
+ * and project/org API key callers; non-creator cookie callers receive the response
5006
+ * without this block.
5007
+ */
5008
+ acl_config_for_shared?: Experimental.ACLConfigForShared;
5009
+ }
5010
+ namespace Experimental {
5011
+ /**
5012
+ * Access control for SHARED connections. Visible only to the connection creator
5013
+ * and project/org API key callers; non-creator cookie callers receive the response
5014
+ * without this block.
5015
+ */
5016
+ interface ACLConfigForShared {
5017
+ allow_all_users: boolean;
5018
+ allowed_user_ids: Array<string>;
5019
+ not_allowed_user_ids: Array<string>;
5020
+ }
5021
+ }
4981
5022
  }
4982
5023
  export interface ConnectedAccountListResponse {
4983
5024
  current_page: number;
@@ -4992,13 +5033,6 @@ export declare namespace ConnectedAccountListResponse {
4992
5033
  * The id of the connection
4993
5034
  */
4994
5035
  id: string;
4995
- /**
4996
- * Sharing model. PRIVATE accounts are usable only by their owning user_id. SHARED
4997
- * accounts are reachable from a tool-router session only when explicitly pinned in
4998
- * the session config (at most one SHARED per toolkit per session); they are never
4999
- * used implicitly.
5000
- */
5001
- account_type: 'PRIVATE' | 'SHARED';
5002
5036
  /**
5003
5037
  * A user-defined alias for the connected account
5004
5038
  */
@@ -5050,16 +5084,15 @@ export declare namespace ConnectedAccountListResponse {
5050
5084
  * toolkit-prefixed with 1-2 words (e.g., "gmail_red-castle")
5051
5085
  */
5052
5086
  word_id: string | null;
5053
- /**
5054
- * Access control for SHARED connections. Resolution rule (only fires when caller
5055
- * != creator): user in not_allowed_user_ids → DENY; allow_all_users=true → ALLOW;
5056
- * user in allowed_user_ids → ALLOW; else DENY.
5057
- */
5058
- acl_config_for_shared?: Item.ACLConfigForShared;
5059
5087
  /**
5060
5088
  * @deprecated
5061
5089
  */
5062
5090
  deprecated?: Item.Deprecated;
5091
+ /**
5092
+ * Experimental features - not stable, may be modified or removed in future
5093
+ * versions.
5094
+ */
5095
+ experimental?: Item.Experimental;
5063
5096
  /**
5064
5097
  * The endpoint to make test request for verification
5065
5098
  */
@@ -7436,16 +7469,6 @@ export declare namespace ConnectedAccountListResponse {
7436
7469
  */
7437
7470
  slug: string;
7438
7471
  }
7439
- /**
7440
- * Access control for SHARED connections. Resolution rule (only fires when caller
7441
- * != creator): user in not_allowed_user_ids → DENY; allow_all_users=true → ALLOW;
7442
- * user in allowed_user_ids → ALLOW; else DENY.
7443
- */
7444
- interface ACLConfigForShared {
7445
- allow_all_users: boolean;
7446
- allowed_user_ids: Array<string>;
7447
- not_allowed_user_ids: Array<string>;
7448
- }
7449
7472
  /**
7450
7473
  * @deprecated
7451
7474
  */
@@ -7459,6 +7482,36 @@ export declare namespace ConnectedAccountListResponse {
7459
7482
  */
7460
7483
  uuid: string;
7461
7484
  }
7485
+ /**
7486
+ * Experimental features - not stable, may be modified or removed in future
7487
+ * versions.
7488
+ */
7489
+ interface Experimental {
7490
+ /**
7491
+ * Sharing model for this connected account. PRIVATE is usable only by the owning
7492
+ * user_id. SHARED is reachable from a tool-router session only when explicitly
7493
+ * pinned in the session config.
7494
+ */
7495
+ account_type: 'PRIVATE' | 'SHARED';
7496
+ /**
7497
+ * Access control for SHARED connections. Visible only to the connection creator
7498
+ * and project/org API key callers; non-creator cookie callers receive the response
7499
+ * without this block.
7500
+ */
7501
+ acl_config_for_shared?: Experimental.ACLConfigForShared;
7502
+ }
7503
+ namespace Experimental {
7504
+ /**
7505
+ * Access control for SHARED connections. Visible only to the connection creator
7506
+ * and project/org API key callers; non-creator cookie callers receive the response
7507
+ * without this block.
7508
+ */
7509
+ interface ACLConfigForShared {
7510
+ allow_all_users: boolean;
7511
+ allowed_user_ids: Array<string>;
7512
+ not_allowed_user_ids: Array<string>;
7513
+ }
7514
+ }
7462
7515
  }
7463
7516
  }
7464
7517
  /**
@@ -7529,20 +7582,6 @@ export declare namespace ConnectedAccountCreateParams {
7529
7582
  id: string;
7530
7583
  }
7531
7584
  interface Connection {
7532
- /**
7533
- * Sharing model for this connected account. PRIVATE (default) is usable only by
7534
- * the owning user_id. SHARED is reachable from a tool-router session ONLY when
7535
- * explicitly pinned in the session config — at most one SHARED connection per
7536
- * toolkit per session. Sessions never use a SHARED connection implicitly.
7537
- */
7538
- account_type?: 'PRIVATE' | 'SHARED';
7539
- /**
7540
- * Access control for SHARED connections. Resolution rule (only fires when caller
7541
- * != creator): user in not_allowed_user_ids → DENY; allow_all_users=true → ALLOW;
7542
- * user in allowed_user_ids → ALLOW; else DENY. Default state (omitted or {}) is
7543
- * deny-by-default — only the creator can use.
7544
- */
7545
- acl_config_for_shared?: Connection.ACLConfigForShared;
7546
7585
  /**
7547
7586
  * A human-readable alias for this connected account. Must be unique per entity and
7548
7587
  * toolkit within the project.
@@ -7563,6 +7602,11 @@ export declare namespace ConnectedAccountCreateParams {
7563
7602
  * @deprecated DEPRECATED: This parameter will be removed in a future version.
7564
7603
  */
7565
7604
  deprecated_is_v1_rerouted?: boolean;
7605
+ /**
7606
+ * Experimental features - not stable, may be modified or removed in future
7607
+ * versions.
7608
+ */
7609
+ experimental?: Connection.Experimental;
7566
7610
  /**
7567
7611
  * @deprecated DEPRECATED: This parameter will be removed in a future version.
7568
7612
  * Please use callback_url instead.
@@ -7579,25 +7623,47 @@ export declare namespace ConnectedAccountCreateParams {
7579
7623
  }
7580
7624
  namespace Connection {
7581
7625
  /**
7582
- * Access control for SHARED connections. Resolution rule (only fires when caller
7583
- * != creator): user in not_allowed_user_ids → DENY; allow_all_users=true → ALLOW;
7584
- * user in allowed_user_ids → ALLOW; else DENY. Default state (omitted or {}) is
7585
- * deny-by-default — only the creator can use.
7626
+ * Experimental features - not stable, may be modified or removed in future
7627
+ * versions.
7586
7628
  */
7587
- interface ACLConfigForShared {
7629
+ interface Experimental {
7588
7630
  /**
7589
- * Wildcard "any user_id in the project" allow toggle. Only valid on SHARED
7590
- * connections.
7631
+ * Sharing model for this connected account. PRIVATE (default) is usable only by
7632
+ * the owning user_id. SHARED is reachable from a tool-router session ONLY when
7633
+ * explicitly pinned in the session config — at most one SHARED connection per
7634
+ * toolkit per session. Sessions never use a SHARED connection implicitly.
7591
7635
  */
7592
- allow_all_users?: boolean;
7636
+ account_type?: 'PRIVATE' | 'SHARED';
7593
7637
  /**
7594
- * Explicit allow list of user_ids who can use this SHARED connection.
7638
+ * Access control for SHARED connections. Resolution rule (only fires when caller
7639
+ * != creator): user in not_allowed_user_ids → DENY; allow_all_users=true → ALLOW;
7640
+ * user in allowed_user_ids → ALLOW; else DENY. Default state (omitted or {}) is
7641
+ * deny-by-default — only the creator can use.
7595
7642
  */
7596
- allowed_user_ids?: Array<string>;
7643
+ acl_config_for_shared?: Experimental.ACLConfigForShared;
7644
+ }
7645
+ namespace Experimental {
7597
7646
  /**
7598
- * Explicit deny list. Wins on conflict with allow_all_users and allowed_user_ids.
7647
+ * Access control for SHARED connections. Resolution rule (only fires when caller
7648
+ * != creator): user in not_allowed_user_ids → DENY; allow_all_users=true → ALLOW;
7649
+ * user in allowed_user_ids → ALLOW; else DENY. Default state (omitted or {}) is
7650
+ * deny-by-default — only the creator can use.
7599
7651
  */
7600
- not_allowed_user_ids?: Array<string>;
7652
+ interface ACLConfigForShared {
7653
+ /**
7654
+ * Wildcard "any user_id in the project" allow toggle. Only valid on SHARED
7655
+ * connections.
7656
+ */
7657
+ allow_all_users?: boolean;
7658
+ /**
7659
+ * Explicit allow list of user_ids who can use this SHARED connection.
7660
+ */
7661
+ allowed_user_ids?: Array<string>;
7662
+ /**
7663
+ * Explicit deny list. Wins on conflict with allow_all_users and allowed_user_ids.
7664
+ */
7665
+ not_allowed_user_ids?: Array<string>;
7666
+ }
7601
7667
  }
7602
7668
  interface UnionMember0 {
7603
7669
  authScheme: 'OAUTH1';
@@ -9934,9 +10000,9 @@ export declare namespace ConnectedAccountCreateParams {
9934
10000
  }
9935
10001
  export interface ConnectedAccountListParams {
9936
10002
  /**
9937
- * Filter by sharing model. Default (omitted) returns PRIVATE only — shared
9938
- * accounts must be requested explicitly. Pass SHARED for only shared accounts, or
9939
- * ALL for PRIVATE + SHARED.
10003
+ * [Experimental] Filter by sharing model. Default (omitted) returns PRIVATE only —
10004
+ * shared accounts must be requested explicitly. Pass SHARED for only shared
10005
+ * accounts, or ALL for PRIVATE + SHARED.
9940
10006
  */
9941
10007
  account_type?: 'PRIVATE' | 'SHARED' | 'ALL';
9942
10008
  /**
@@ -9977,42 +10043,19 @@ export interface ConnectedAccountListParams {
9977
10043
  user_ids?: Array<string> | null;
9978
10044
  }
9979
10045
  export interface ConnectedAccountPatchParams {
9980
- /**
9981
- * Access control for SHARED connections. Resolution rule (only fires when caller
9982
- * != creator): user in not_allowed_user_ids → DENY; allow_all_users=true → ALLOW;
9983
- * user in allowed_user_ids → ALLOW; else DENY. Default state (omitted or {}) is
9984
- * deny-by-default — only the creator can use.
9985
- */
9986
- acl_config_for_shared?: ConnectedAccountPatchParams.ACLConfigForShared;
9987
10046
  /**
9988
10047
  * A human-readable alias for this connected account. Pass an empty string to clear
9989
10048
  * the alias. Must be unique per entity and toolkit within the project.
9990
10049
  */
9991
10050
  alias?: string;
9992
10051
  connection?: ConnectedAccountPatchParams.Connection;
9993
- }
9994
- export declare namespace ConnectedAccountPatchParams {
9995
10052
  /**
9996
- * Access control for SHARED connections. Resolution rule (only fires when caller
9997
- * != creator): user in not_allowed_user_ids → DENY; allow_all_users=true → ALLOW;
9998
- * user in allowed_user_ids → ALLOW; else DENY. Default state (omitted or {}) is
9999
- * deny-by-default — only the creator can use.
10053
+ * Experimental features - not stable, may be modified or removed in future
10054
+ * versions.
10000
10055
  */
10001
- interface ACLConfigForShared {
10002
- /**
10003
- * Wildcard "any user_id in the project" allow toggle. Only valid on SHARED
10004
- * connections.
10005
- */
10006
- allow_all_users?: boolean;
10007
- /**
10008
- * Explicit allow list of user_ids who can use this SHARED connection.
10009
- */
10010
- allowed_user_ids?: Array<string>;
10011
- /**
10012
- * Explicit deny list. Wins on conflict with allow_all_users and allowed_user_ids.
10013
- */
10014
- not_allowed_user_ids?: Array<string>;
10015
- }
10056
+ experimental?: ConnectedAccountPatchParams.Experimental;
10057
+ }
10058
+ export declare namespace ConnectedAccountPatchParams {
10016
10059
  interface Connection {
10017
10060
  state: Connection.State;
10018
10061
  }
@@ -10072,6 +10115,42 @@ export declare namespace ConnectedAccountPatchParams {
10072
10115
  }
10073
10116
  }
10074
10117
  }
10118
+ /**
10119
+ * Experimental features - not stable, may be modified or removed in future
10120
+ * versions.
10121
+ */
10122
+ interface Experimental {
10123
+ /**
10124
+ * Access control for SHARED connections. Resolution rule (only fires when caller
10125
+ * != creator): user in not_allowed_user_ids → DENY; allow_all_users=true → ALLOW;
10126
+ * user in allowed_user_ids → ALLOW; else DENY. Default state (omitted or {}) is
10127
+ * deny-by-default — only the creator can use.
10128
+ */
10129
+ acl_config_for_shared?: Experimental.ACLConfigForShared;
10130
+ }
10131
+ namespace Experimental {
10132
+ /**
10133
+ * Access control for SHARED connections. Resolution rule (only fires when caller
10134
+ * != creator): user in not_allowed_user_ids → DENY; allow_all_users=true → ALLOW;
10135
+ * user in allowed_user_ids → ALLOW; else DENY. Default state (omitted or {}) is
10136
+ * deny-by-default — only the creator can use.
10137
+ */
10138
+ interface ACLConfigForShared {
10139
+ /**
10140
+ * Wildcard "any user_id in the project" allow toggle. Only valid on SHARED
10141
+ * connections.
10142
+ */
10143
+ allow_all_users?: boolean;
10144
+ /**
10145
+ * Explicit allow list of user_ids who can use this SHARED connection.
10146
+ */
10147
+ allowed_user_ids?: Array<string>;
10148
+ /**
10149
+ * Explicit deny list. Wins on conflict with allow_all_users and allowed_user_ids.
10150
+ */
10151
+ not_allowed_user_ids?: Array<string>;
10152
+ }
10153
+ }
10075
10154
  }
10076
10155
  export interface ConnectedAccountRefreshParams {
10077
10156
  /**