@composio/client 0.1.0-alpha.74 → 0.1.0-alpha.75
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 +11 -0
- package/package.json +1 -1
- package/resources/auth-configs.d.mts +34 -6
- package/resources/auth-configs.d.mts.map +1 -1
- package/resources/auth-configs.d.ts +34 -6
- package/resources/auth-configs.d.ts.map +1 -1
- package/resources/connected-accounts.d.mts +16 -16
- package/resources/connected-accounts.d.mts.map +1 -1
- package/resources/connected-accounts.d.ts +16 -16
- package/resources/connected-accounts.d.ts.map +1 -1
- package/resources/files.d.mts +4 -5
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +4 -5
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +4 -5
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +4 -5
- package/resources/files.mjs.map +1 -1
- package/resources/link.d.mts +4 -4
- package/resources/link.d.mts.map +1 -1
- package/resources/link.d.ts +4 -4
- package/resources/link.d.ts.map +1 -1
- package/resources/tool-router/session/session.d.mts +2 -2
- package/resources/tool-router/session/session.d.mts.map +1 -1
- package/resources/tool-router/session/session.d.ts +2 -2
- package/resources/tool-router/session/session.d.ts.map +1 -1
- package/resources/toolkits.d.mts +40 -4
- package/resources/toolkits.d.mts.map +1 -1
- package/resources/toolkits.d.ts +40 -4
- package/resources/toolkits.d.ts.map +1 -1
- package/resources/tools.d.mts +4 -4
- package/resources/tools.d.mts.map +1 -1
- package/resources/tools.d.ts +4 -4
- package/resources/tools.d.ts.map +1 -1
- package/src/resources/auth-configs.ts +34 -6
- package/src/resources/connected-accounts.ts +32 -32
- package/src/resources/files.ts +4 -5
- package/src/resources/link.ts +8 -8
- package/src/resources/tool-router/session/session.ts +4 -4
- package/src/resources/toolkits.ts +46 -8
- package/src/resources/tools.ts +8 -8
- 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
package/src/resources/link.ts
CHANGED
|
@@ -4039,10 +4039,6 @@ export namespace LinkCreateParams {
|
|
|
4039
4039
|
export interface UnionMember71 {
|
|
4040
4040
|
access_token: string;
|
|
4041
4041
|
|
|
4042
|
-
client_id: string;
|
|
4043
|
-
|
|
4044
|
-
client_secret: string;
|
|
4045
|
-
|
|
4046
4042
|
account_id?: string;
|
|
4047
4043
|
|
|
4048
4044
|
account_url?: string;
|
|
@@ -4053,6 +4049,10 @@ export namespace LinkCreateParams {
|
|
|
4053
4049
|
|
|
4054
4050
|
borneo_dashboard_url?: string;
|
|
4055
4051
|
|
|
4052
|
+
client_id?: string;
|
|
4053
|
+
|
|
4054
|
+
client_secret?: string;
|
|
4055
|
+
|
|
4056
4056
|
COMPANYDOMAIN?: string;
|
|
4057
4057
|
|
|
4058
4058
|
dc?: string;
|
|
@@ -4101,10 +4101,6 @@ export namespace LinkCreateParams {
|
|
|
4101
4101
|
export interface UnionMember72 {
|
|
4102
4102
|
access_token: string;
|
|
4103
4103
|
|
|
4104
|
-
client_id: string;
|
|
4105
|
-
|
|
4106
|
-
client_secret: string;
|
|
4107
|
-
|
|
4108
4104
|
account_id?: string;
|
|
4109
4105
|
|
|
4110
4106
|
account_url?: string;
|
|
@@ -4115,6 +4111,10 @@ export namespace LinkCreateParams {
|
|
|
4115
4111
|
|
|
4116
4112
|
borneo_dashboard_url?: string;
|
|
4117
4113
|
|
|
4114
|
+
client_id?: string;
|
|
4115
|
+
|
|
4116
|
+
client_secret?: string;
|
|
4117
|
+
|
|
4118
4118
|
COMPANYDOMAIN?: string;
|
|
4119
4119
|
|
|
4120
4120
|
dc?: string;
|
|
@@ -4770,10 +4770,6 @@ export namespace SessionProxyExecuteParams {
|
|
|
4770
4770
|
export interface Val {
|
|
4771
4771
|
access_token: string;
|
|
4772
4772
|
|
|
4773
|
-
client_id: string;
|
|
4774
|
-
|
|
4775
|
-
client_secret: string;
|
|
4776
|
-
|
|
4777
4773
|
account_id?: string;
|
|
4778
4774
|
|
|
4779
4775
|
account_url?: string;
|
|
@@ -4784,6 +4780,10 @@ export namespace SessionProxyExecuteParams {
|
|
|
4784
4780
|
|
|
4785
4781
|
borneo_dashboard_url?: string;
|
|
4786
4782
|
|
|
4783
|
+
client_id?: string;
|
|
4784
|
+
|
|
4785
|
+
client_secret?: string;
|
|
4786
|
+
|
|
4787
4787
|
COMPANYDOMAIN?: string;
|
|
4788
4788
|
|
|
4789
4789
|
dc?: string;
|
|
@@ -51,6 +51,11 @@ export class Toolkits extends APIResource {
|
|
|
51
51
|
* Detailed information about a single toolkit
|
|
52
52
|
*/
|
|
53
53
|
export interface ToolkitRetrieveResponse {
|
|
54
|
+
/**
|
|
55
|
+
* Managed-auth-only metadata, including the supported OAuth scope ceiling.
|
|
56
|
+
*/
|
|
57
|
+
composio_managed_auth: Array<ToolkitRetrieveResponse.ComposioManagedAuth>;
|
|
58
|
+
|
|
54
59
|
deprecated: ToolkitRetrieveResponse.Deprecated;
|
|
55
60
|
|
|
56
61
|
/**
|
|
@@ -114,6 +119,47 @@ export interface ToolkitRetrieveResponse {
|
|
|
114
119
|
}
|
|
115
120
|
|
|
116
121
|
export namespace ToolkitRetrieveResponse {
|
|
122
|
+
export interface ComposioManagedAuth {
|
|
123
|
+
/**
|
|
124
|
+
* Authentication mode for the Composio-managed auth config
|
|
125
|
+
*/
|
|
126
|
+
mode: string;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* OAuth scopes available in the Composio-managed auth config for this auth mode.
|
|
130
|
+
*/
|
|
131
|
+
scopes: ComposioManagedAuth.Scopes;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* OAuth user scopes available in the Composio-managed auth config for this auth
|
|
135
|
+
* mode. Only present for Slack toolkits.
|
|
136
|
+
*/
|
|
137
|
+
user_scopes?: ComposioManagedAuth.UserScopes;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export namespace ComposioManagedAuth {
|
|
141
|
+
/**
|
|
142
|
+
* OAuth scopes available in the Composio-managed auth config for this auth mode.
|
|
143
|
+
*/
|
|
144
|
+
export interface Scopes {
|
|
145
|
+
/**
|
|
146
|
+
* Available OAuth scopes
|
|
147
|
+
*/
|
|
148
|
+
available: Array<string>;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* OAuth user scopes available in the Composio-managed auth config for this auth
|
|
153
|
+
* mode. Only present for Slack toolkits.
|
|
154
|
+
*/
|
|
155
|
+
export interface UserScopes {
|
|
156
|
+
/**
|
|
157
|
+
* Available OAuth user scopes
|
|
158
|
+
*/
|
|
159
|
+
available: Array<string>;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
117
163
|
export interface Deprecated {
|
|
118
164
|
rawProxyInfoByAuthSchemes: Array<{ [key: string]: unknown }>;
|
|
119
165
|
|
|
@@ -268,8 +314,6 @@ export namespace ToolkitRetrieveResponse {
|
|
|
268
314
|
|
|
269
315
|
type: string;
|
|
270
316
|
|
|
271
|
-
advanced?: boolean;
|
|
272
|
-
|
|
273
317
|
default?: string | null;
|
|
274
318
|
|
|
275
319
|
is_secret?: boolean;
|
|
@@ -288,8 +332,6 @@ export namespace ToolkitRetrieveResponse {
|
|
|
288
332
|
|
|
289
333
|
type: string;
|
|
290
334
|
|
|
291
|
-
advanced?: boolean;
|
|
292
|
-
|
|
293
335
|
default?: string | null;
|
|
294
336
|
|
|
295
337
|
is_secret?: boolean;
|
|
@@ -320,8 +362,6 @@ export namespace ToolkitRetrieveResponse {
|
|
|
320
362
|
|
|
321
363
|
type: string;
|
|
322
364
|
|
|
323
|
-
advanced?: boolean;
|
|
324
|
-
|
|
325
365
|
default?: string | null;
|
|
326
366
|
|
|
327
367
|
is_secret?: boolean;
|
|
@@ -340,8 +380,6 @@ export namespace ToolkitRetrieveResponse {
|
|
|
340
380
|
|
|
341
381
|
type: string;
|
|
342
382
|
|
|
343
|
-
advanced?: boolean;
|
|
344
|
-
|
|
345
383
|
default?: string | null;
|
|
346
384
|
|
|
347
385
|
is_secret?: boolean;
|
package/src/resources/tools.ts
CHANGED
|
@@ -1413,10 +1413,6 @@ export namespace ToolExecuteParams {
|
|
|
1413
1413
|
export interface Val {
|
|
1414
1414
|
access_token: string;
|
|
1415
1415
|
|
|
1416
|
-
client_id: string;
|
|
1417
|
-
|
|
1418
|
-
client_secret: string;
|
|
1419
|
-
|
|
1420
1416
|
account_id?: string;
|
|
1421
1417
|
|
|
1422
1418
|
account_url?: string;
|
|
@@ -1427,6 +1423,10 @@ export namespace ToolExecuteParams {
|
|
|
1427
1423
|
|
|
1428
1424
|
borneo_dashboard_url?: string;
|
|
1429
1425
|
|
|
1426
|
+
client_id?: string;
|
|
1427
|
+
|
|
1428
|
+
client_secret?: string;
|
|
1429
|
+
|
|
1430
1430
|
COMPANYDOMAIN?: string;
|
|
1431
1431
|
|
|
1432
1432
|
dc?: string;
|
|
@@ -2284,10 +2284,6 @@ export namespace ToolProxyParams {
|
|
|
2284
2284
|
export interface Val {
|
|
2285
2285
|
access_token: string;
|
|
2286
2286
|
|
|
2287
|
-
client_id: string;
|
|
2288
|
-
|
|
2289
|
-
client_secret: string;
|
|
2290
|
-
|
|
2291
2287
|
account_id?: string;
|
|
2292
2288
|
|
|
2293
2289
|
account_url?: string;
|
|
@@ -2298,6 +2294,10 @@ export namespace ToolProxyParams {
|
|
|
2298
2294
|
|
|
2299
2295
|
borneo_dashboard_url?: string;
|
|
2300
2296
|
|
|
2297
|
+
client_id?: string;
|
|
2298
|
+
|
|
2299
|
+
client_secret?: string;
|
|
2300
|
+
|
|
2301
2301
|
COMPANYDOMAIN?: string;
|
|
2302
2302
|
|
|
2303
2303
|
dc?: string;
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.75'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.1.0-alpha.75";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.1.0-alpha.75";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
|
-
exports.VERSION = '0.1.0-alpha.
|
|
4
|
+
exports.VERSION = '0.1.0-alpha.75'; // x-release-please-version
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.75'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|