@composio/client 0.1.0-alpha.45 → 0.1.0-alpha.46
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 +8 -0
- package/package.json +1 -1
- package/resources/auth-configs.d.mts +30 -0
- package/resources/auth-configs.d.mts.map +1 -1
- package/resources/auth-configs.d.ts +30 -0
- package/resources/auth-configs.d.ts.map +1 -1
- package/resources/connected-accounts.d.mts +129 -0
- package/resources/connected-accounts.d.mts.map +1 -1
- package/resources/connected-accounts.d.ts +129 -0
- package/resources/connected-accounts.d.ts.map +1 -1
- package/resources/toolkits.d.mts +13 -0
- package/resources/toolkits.d.mts.map +1 -1
- package/resources/toolkits.d.ts +13 -0
- package/resources/toolkits.d.ts.map +1 -1
- package/resources/tools.d.mts +400 -0
- package/resources/tools.d.mts.map +1 -1
- package/resources/tools.d.ts +400 -0
- package/resources/tools.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.mts +52 -5
- package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.ts +52 -5
- package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.js.map +1 -1
- package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
- package/src/resources/auth-configs.ts +36 -0
- package/src/resources/connected-accounts.ts +170 -0
- package/src/resources/toolkits.ts +16 -0
- package/src/resources/tools.ts +715 -0
- package/src/resources/trigger-instances/trigger-instances.ts +55 -5
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -89,6 +89,18 @@ export interface ConnectedAccountCreateResponse {
|
|
|
89
89
|
*/
|
|
90
90
|
connectionData: ConnectedAccountCreateResponse.UnionMember0 | ConnectedAccountCreateResponse.UnionMember1 | ConnectedAccountCreateResponse.UnionMember2 | ConnectedAccountCreateResponse.UnionMember3 | ConnectedAccountCreateResponse.UnionMember4 | ConnectedAccountCreateResponse.UnionMember5 | ConnectedAccountCreateResponse.UnionMember6 | ConnectedAccountCreateResponse.UnionMember7 | ConnectedAccountCreateResponse.UnionMember8 | ConnectedAccountCreateResponse.UnionMember9 | ConnectedAccountCreateResponse.UnionMember10 | ConnectedAccountCreateResponse.UnionMember11 | ConnectedAccountCreateResponse.UnionMember12;
|
|
91
91
|
deprecated: ConnectedAccountCreateResponse.Deprecated;
|
|
92
|
+
/**
|
|
93
|
+
* @deprecated DEPRECATED: This field will be removed in a future version
|
|
94
|
+
*/
|
|
95
|
+
redirect_uri: string | null;
|
|
96
|
+
/**
|
|
97
|
+
* @deprecated DEPRECATED: This field will be removed in a future version
|
|
98
|
+
*/
|
|
99
|
+
redirect_url: string | null;
|
|
100
|
+
/**
|
|
101
|
+
* @deprecated DEPRECATED: This field will be removed in a future version
|
|
102
|
+
*/
|
|
103
|
+
status: 'INITIALIZING' | 'INITIATED' | 'ACTIVE' | 'FAILED' | 'EXPIRED' | 'INACTIVE';
|
|
92
104
|
}
|
|
93
105
|
export declare namespace ConnectedAccountCreateResponse {
|
|
94
106
|
interface UnionMember0 {
|
|
@@ -2223,10 +2235,23 @@ export interface ConnectedAccountRetrieveResponse {
|
|
|
2223
2235
|
* The created at of the connection
|
|
2224
2236
|
*/
|
|
2225
2237
|
created_at: string;
|
|
2238
|
+
/**
|
|
2239
|
+
* @deprecated This is deprecated, use `state` instead
|
|
2240
|
+
*/
|
|
2241
|
+
data: {
|
|
2242
|
+
[key: string]: unknown;
|
|
2243
|
+
};
|
|
2226
2244
|
/**
|
|
2227
2245
|
* Whether the connection is disabled
|
|
2228
2246
|
*/
|
|
2229
2247
|
is_disabled: boolean;
|
|
2248
|
+
/**
|
|
2249
|
+
* @deprecated The initialization data of the connection, including configuration
|
|
2250
|
+
* parameters
|
|
2251
|
+
*/
|
|
2252
|
+
params: {
|
|
2253
|
+
[key: string]: unknown;
|
|
2254
|
+
};
|
|
2230
2255
|
/**
|
|
2231
2256
|
* The state of the connection
|
|
2232
2257
|
*/
|
|
@@ -2244,6 +2269,15 @@ export interface ConnectedAccountRetrieveResponse {
|
|
|
2244
2269
|
* The updated at of the connection
|
|
2245
2270
|
*/
|
|
2246
2271
|
updated_at: string;
|
|
2272
|
+
/**
|
|
2273
|
+
* @deprecated This is deprecated, we will not be providing userId from this api
|
|
2274
|
+
* anymore, you will only be able to read via userId not get it back
|
|
2275
|
+
*/
|
|
2276
|
+
user_id: string;
|
|
2277
|
+
/**
|
|
2278
|
+
* @deprecated
|
|
2279
|
+
*/
|
|
2280
|
+
deprecated?: ConnectedAccountRetrieveResponse.Deprecated;
|
|
2247
2281
|
/**
|
|
2248
2282
|
* The endpoint to make test request for verification
|
|
2249
2283
|
*/
|
|
@@ -2255,6 +2289,10 @@ export declare namespace ConnectedAccountRetrieveResponse {
|
|
|
2255
2289
|
* The id of the auth config
|
|
2256
2290
|
*/
|
|
2257
2291
|
id: string;
|
|
2292
|
+
/**
|
|
2293
|
+
* @deprecated the authScheme is part of the connection state use it there
|
|
2294
|
+
*/
|
|
2295
|
+
auth_scheme: 'OAUTH2' | 'OAUTH1' | 'API_KEY' | 'BASIC' | 'BILLCOM_AUTH' | 'BEARER_TOKEN' | 'GOOGLE_SERVICE_ACCOUNT' | 'NO_AUTH' | 'BASIC_WITH_JWT' | 'CALCOM_AUTH' | 'SERVICE_ACCOUNT' | 'SAML' | 'DCR_OAUTH';
|
|
2258
2296
|
/**
|
|
2259
2297
|
* Whether the auth config is managed by Composio
|
|
2260
2298
|
*/
|
|
@@ -2263,6 +2301,21 @@ export declare namespace ConnectedAccountRetrieveResponse {
|
|
|
2263
2301
|
* Whether the auth config is disabled
|
|
2264
2302
|
*/
|
|
2265
2303
|
is_disabled: boolean;
|
|
2304
|
+
/**
|
|
2305
|
+
* @deprecated
|
|
2306
|
+
*/
|
|
2307
|
+
deprecated?: AuthConfig.Deprecated;
|
|
2308
|
+
}
|
|
2309
|
+
namespace AuthConfig {
|
|
2310
|
+
/**
|
|
2311
|
+
* @deprecated
|
|
2312
|
+
*/
|
|
2313
|
+
interface Deprecated {
|
|
2314
|
+
/**
|
|
2315
|
+
* The uuid of the auth config
|
|
2316
|
+
*/
|
|
2317
|
+
uuid: string;
|
|
2318
|
+
}
|
|
2266
2319
|
}
|
|
2267
2320
|
interface UnionMember0 {
|
|
2268
2321
|
authScheme: 'OAUTH1';
|
|
@@ -4381,6 +4434,19 @@ export declare namespace ConnectedAccountRetrieveResponse {
|
|
|
4381
4434
|
*/
|
|
4382
4435
|
slug: string;
|
|
4383
4436
|
}
|
|
4437
|
+
/**
|
|
4438
|
+
* @deprecated
|
|
4439
|
+
*/
|
|
4440
|
+
interface Deprecated {
|
|
4441
|
+
/**
|
|
4442
|
+
* The labels of the connection
|
|
4443
|
+
*/
|
|
4444
|
+
labels: Array<string>;
|
|
4445
|
+
/**
|
|
4446
|
+
* The uuid of the connection
|
|
4447
|
+
*/
|
|
4448
|
+
uuid: string;
|
|
4449
|
+
}
|
|
4384
4450
|
}
|
|
4385
4451
|
export interface ConnectedAccountListResponse {
|
|
4386
4452
|
current_page: number;
|
|
@@ -4400,6 +4466,12 @@ export declare namespace ConnectedAccountListResponse {
|
|
|
4400
4466
|
* The created at of the connection
|
|
4401
4467
|
*/
|
|
4402
4468
|
created_at: string;
|
|
4469
|
+
/**
|
|
4470
|
+
* @deprecated This is deprecated, use `state` instead
|
|
4471
|
+
*/
|
|
4472
|
+
data: {
|
|
4473
|
+
[key: string]: unknown;
|
|
4474
|
+
};
|
|
4403
4475
|
/**
|
|
4404
4476
|
* Whether the connection is disabled
|
|
4405
4477
|
*/
|
|
@@ -4421,6 +4493,15 @@ export declare namespace ConnectedAccountListResponse {
|
|
|
4421
4493
|
* The updated at of the connection
|
|
4422
4494
|
*/
|
|
4423
4495
|
updated_at: string;
|
|
4496
|
+
/**
|
|
4497
|
+
* @deprecated This is deprecated, we will not be providing userId from this api
|
|
4498
|
+
* anymore, you will only be able to read via userId not get it back
|
|
4499
|
+
*/
|
|
4500
|
+
user_id: string;
|
|
4501
|
+
/**
|
|
4502
|
+
* @deprecated
|
|
4503
|
+
*/
|
|
4504
|
+
deprecated?: Item.Deprecated;
|
|
4424
4505
|
/**
|
|
4425
4506
|
* The endpoint to make test request for verification
|
|
4426
4507
|
*/
|
|
@@ -4432,6 +4513,10 @@ export declare namespace ConnectedAccountListResponse {
|
|
|
4432
4513
|
* The id of the auth config
|
|
4433
4514
|
*/
|
|
4434
4515
|
id: string;
|
|
4516
|
+
/**
|
|
4517
|
+
* @deprecated the authScheme is part of the connection state use it there
|
|
4518
|
+
*/
|
|
4519
|
+
auth_scheme: 'OAUTH2' | 'OAUTH1' | 'API_KEY' | 'BASIC' | 'BILLCOM_AUTH' | 'BEARER_TOKEN' | 'GOOGLE_SERVICE_ACCOUNT' | 'NO_AUTH' | 'BASIC_WITH_JWT' | 'CALCOM_AUTH' | 'SERVICE_ACCOUNT' | 'SAML' | 'DCR_OAUTH';
|
|
4435
4520
|
/**
|
|
4436
4521
|
* Whether the auth config is managed by Composio
|
|
4437
4522
|
*/
|
|
@@ -4440,6 +4525,21 @@ export declare namespace ConnectedAccountListResponse {
|
|
|
4440
4525
|
* Whether the auth config is disabled
|
|
4441
4526
|
*/
|
|
4442
4527
|
is_disabled: boolean;
|
|
4528
|
+
/**
|
|
4529
|
+
* @deprecated
|
|
4530
|
+
*/
|
|
4531
|
+
deprecated?: AuthConfig.Deprecated;
|
|
4532
|
+
}
|
|
4533
|
+
namespace AuthConfig {
|
|
4534
|
+
/**
|
|
4535
|
+
* @deprecated
|
|
4536
|
+
*/
|
|
4537
|
+
interface Deprecated {
|
|
4538
|
+
/**
|
|
4539
|
+
* The uuid of the auth config
|
|
4540
|
+
*/
|
|
4541
|
+
uuid: string;
|
|
4542
|
+
}
|
|
4443
4543
|
}
|
|
4444
4544
|
interface UnionMember0 {
|
|
4445
4545
|
authScheme: 'OAUTH1';
|
|
@@ -6558,6 +6658,19 @@ export declare namespace ConnectedAccountListResponse {
|
|
|
6558
6658
|
*/
|
|
6559
6659
|
slug: string;
|
|
6560
6660
|
}
|
|
6661
|
+
/**
|
|
6662
|
+
* @deprecated
|
|
6663
|
+
*/
|
|
6664
|
+
interface Deprecated {
|
|
6665
|
+
/**
|
|
6666
|
+
* The labels of the connection
|
|
6667
|
+
*/
|
|
6668
|
+
labels: Array<string>;
|
|
6669
|
+
/**
|
|
6670
|
+
* The uuid of the connection
|
|
6671
|
+
*/
|
|
6672
|
+
uuid: string;
|
|
6673
|
+
}
|
|
6561
6674
|
}
|
|
6562
6675
|
}
|
|
6563
6676
|
/**
|
|
@@ -6617,6 +6730,22 @@ export declare namespace ConnectedAccountCreateParams {
|
|
|
6617
6730
|
* The URL to redirect to after connection completion
|
|
6618
6731
|
*/
|
|
6619
6732
|
callback_url?: string;
|
|
6733
|
+
/**
|
|
6734
|
+
* @deprecated DEPRECATED: This parameter will be removed in a future version.
|
|
6735
|
+
* Please use state instead.
|
|
6736
|
+
*/
|
|
6737
|
+
data?: {
|
|
6738
|
+
[key: string]: unknown;
|
|
6739
|
+
};
|
|
6740
|
+
/**
|
|
6741
|
+
* @deprecated DEPRECATED: This parameter will be removed in a future version.
|
|
6742
|
+
*/
|
|
6743
|
+
deprecated_is_v1_rerouted?: boolean;
|
|
6744
|
+
/**
|
|
6745
|
+
* @deprecated DEPRECATED: This parameter will be removed in a future version.
|
|
6746
|
+
* Please use callback_url instead.
|
|
6747
|
+
*/
|
|
6748
|
+
redirect_uri?: string;
|
|
6620
6749
|
/**
|
|
6621
6750
|
* The state of the connected account
|
|
6622
6751
|
*/
|