@composio/client 0.1.0-alpha.10 → 0.1.0-alpha.12
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 +36 -0
- package/README.md +7 -7
- package/client.d.mts +6 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -6
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/auth-configs.d.mts +168 -29
- package/resources/auth-configs.d.mts.map +1 -1
- package/resources/auth-configs.d.ts +168 -29
- package/resources/auth-configs.d.ts.map +1 -1
- package/resources/auth-configs.js +50 -4
- package/resources/auth-configs.js.map +1 -1
- package/resources/auth-configs.mjs +50 -4
- package/resources/auth-configs.mjs.map +1 -1
- package/resources/connected-accounts.d.mts +80 -17
- package/resources/connected-accounts.d.mts.map +1 -1
- package/resources/connected-accounts.d.ts +80 -17
- package/resources/connected-accounts.d.ts.map +1 -1
- package/resources/connected-accounts.js +56 -4
- package/resources/connected-accounts.js.map +1 -1
- package/resources/connected-accounts.mjs +56 -4
- package/resources/connected-accounts.mjs.map +1 -1
- package/resources/files.d.mts +72 -23
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +72 -23
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +20 -2
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +20 -2
- package/resources/files.mjs.map +1 -1
- package/resources/index.d.mts +3 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/mcp/custom.d.mts +87 -0
- package/resources/mcp/custom.d.mts.map +1 -0
- package/resources/mcp/custom.d.ts +87 -0
- package/resources/mcp/custom.d.ts.map +1 -0
- package/resources/mcp/custom.js +26 -0
- package/resources/mcp/custom.js.map +1 -0
- package/resources/mcp/custom.mjs +22 -0
- package/resources/mcp/custom.mjs.map +1 -0
- package/resources/mcp/index.d.mts +2 -2
- package/resources/mcp/index.d.mts.map +1 -1
- package/resources/mcp/index.d.ts +2 -2
- package/resources/mcp/index.d.ts.map +1 -1
- package/resources/mcp/index.js +3 -3
- package/resources/mcp/index.js.map +1 -1
- package/resources/mcp/index.mjs +1 -1
- package/resources/mcp/index.mjs.map +1 -1
- package/resources/mcp/mcp.d.mts +322 -217
- package/resources/mcp/mcp.d.mts.map +1 -1
- package/resources/mcp/mcp.d.ts +322 -217
- package/resources/mcp/mcp.d.ts.map +1 -1
- package/resources/mcp/mcp.js +72 -25
- package/resources/mcp/mcp.js.map +1 -1
- package/resources/mcp/mcp.mjs +72 -25
- package/resources/mcp/mcp.mjs.map +1 -1
- package/resources/migration.d.mts +11 -2
- package/resources/migration.d.mts.map +1 -1
- package/resources/migration.d.ts +11 -2
- package/resources/migration.d.ts.map +1 -1
- package/resources/migration.js +3 -1
- package/resources/migration.js.map +1 -1
- package/resources/migration.mjs +3 -1
- package/resources/migration.mjs.map +1 -1
- package/resources/org/api-key.d.mts +23 -2
- package/resources/org/api-key.d.mts.map +1 -1
- package/resources/org/api-key.d.ts +23 -2
- package/resources/org/api-key.d.ts.map +1 -1
- package/resources/org/api-key.js +15 -2
- package/resources/org/api-key.js.map +1 -1
- package/resources/org/api-key.mjs +15 -2
- package/resources/org/api-key.mjs.map +1 -1
- package/resources/org/project/api-keys.d.mts +114 -22
- package/resources/org/project/api-keys.d.mts.map +1 -1
- package/resources/org/project/api-keys.d.ts +114 -22
- package/resources/org/project/api-keys.d.ts.map +1 -1
- package/resources/org/project/api-keys.js +57 -0
- package/resources/org/project/api-keys.js.map +1 -1
- package/resources/org/project/api-keys.mjs +57 -0
- package/resources/org/project/api-keys.mjs.map +1 -1
- package/resources/org/project/project.d.mts +176 -4
- package/resources/org/project/project.d.mts.map +1 -1
- package/resources/org/project/project.d.ts +176 -4
- package/resources/org/project/project.d.ts.map +1 -1
- package/resources/org/project/project.js +46 -3
- package/resources/org/project/project.js.map +1 -1
- package/resources/org/project/project.mjs +46 -3
- package/resources/org/project/project.mjs.map +1 -1
- package/resources/org/project/trigger.d.mts +101 -1
- package/resources/org/project/trigger.d.mts.map +1 -1
- package/resources/org/project/trigger.d.ts +101 -1
- package/resources/org/project/trigger.d.ts.map +1 -1
- package/resources/org/project/trigger.js +21 -0
- package/resources/org/project/trigger.js.map +1 -1
- package/resources/org/project/trigger.mjs +21 -0
- package/resources/org/project/trigger.mjs.map +1 -1
- package/resources/org/project/webhook.d.mts +86 -15
- package/resources/org/project/webhook.d.mts.map +1 -1
- package/resources/org/project/webhook.d.ts +86 -15
- package/resources/org/project/webhook.d.ts.map +1 -1
- package/resources/org/project/webhook.js +49 -2
- package/resources/org/project/webhook.js.map +1 -1
- package/resources/org/project/webhook.mjs +49 -2
- package/resources/org/project/webhook.mjs.map +1 -1
- package/resources/team-members.d.mts +7 -7
- package/resources/team-members.d.mts.map +1 -1
- package/resources/team-members.d.ts +7 -7
- package/resources/team-members.d.ts.map +1 -1
- package/resources/toolkits.d.mts +195 -7
- package/resources/toolkits.d.mts.map +1 -1
- package/resources/toolkits.d.ts +195 -7
- package/resources/toolkits.d.ts.map +1 -1
- package/resources/toolkits.js +14 -6
- package/resources/toolkits.js.map +1 -1
- package/resources/toolkits.mjs +14 -6
- package/resources/toolkits.mjs.map +1 -1
- package/resources/tools.d.mts +211 -44
- package/resources/tools.d.mts.map +1 -1
- package/resources/tools.d.ts +211 -44
- package/resources/tools.d.ts.map +1 -1
- package/resources/tools.js +62 -9
- package/resources/tools.js.map +1 -1
- package/resources/tools.mjs +62 -9
- package/resources/tools.mjs.map +1 -1
- package/resources/trigger-instances/index.d.mts +1 -1
- package/resources/trigger-instances/index.d.mts.map +1 -1
- package/resources/trigger-instances/index.d.ts +1 -1
- package/resources/trigger-instances/index.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.mts +86 -19
- package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.ts +86 -19
- package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.js +6 -6
- package/resources/trigger-instances/trigger-instances.js.map +1 -1
- package/resources/trigger-instances/trigger-instances.mjs +6 -6
- package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
- package/resources/triggers-types.d.mts +96 -2
- package/resources/triggers-types.d.mts.map +1 -1
- package/resources/triggers-types.d.ts +96 -2
- package/resources/triggers-types.d.ts.map +1 -1
- package/resources/triggers-types.js +23 -1
- package/resources/triggers-types.js.map +1 -1
- package/resources/triggers-types.mjs +23 -1
- package/resources/triggers-types.mjs.map +1 -1
- package/src/client.ts +6 -6
- package/src/resources/auth-configs.ts +169 -29
- package/src/resources/connected-accounts.ts +80 -17
- package/src/resources/files.ts +75 -23
- package/src/resources/index.ts +3 -3
- package/src/resources/mcp/custom.ts +103 -0
- package/src/resources/mcp/index.ts +2 -3
- package/src/resources/mcp/mcp.ts +342 -256
- package/src/resources/migration.ts +11 -2
- package/src/resources/org/api-key.ts +23 -2
- package/src/resources/org/project/api-keys.ts +117 -22
- package/src/resources/org/project/project.ts +176 -4
- package/src/resources/org/project/trigger.ts +101 -1
- package/src/resources/org/project/webhook.ts +86 -15
- package/src/resources/team-members.ts +7 -7
- package/src/resources/toolkits.ts +200 -7
- package/src/resources/tools.ts +213 -46
- package/src/resources/trigger-instances/index.ts +1 -1
- package/src/resources/trigger-instances/trigger-instances.ts +106 -25
- package/src/resources/triggers-types.ts +96 -2
- 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/resources/mcp/command.d.mts +0 -37
- package/resources/mcp/command.d.mts.map +0 -1
- package/resources/mcp/command.d.ts +0 -37
- package/resources/mcp/command.d.ts.map +0 -1
- package/resources/mcp/command.js +0 -15
- package/resources/mcp/command.js.map +0 -1
- package/resources/mcp/command.mjs +0 -11
- package/resources/mcp/command.mjs.map +0 -1
- package/src/resources/mcp/command.ts +0 -50
|
@@ -4,26 +4,72 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
4
4
|
export declare class AuthConfigs extends APIResource {
|
|
5
5
|
/**
|
|
6
6
|
* Create new authentication configuration
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const authConfig = await client.authConfigs.create({
|
|
11
|
+
* toolkit: { slug: 'slug' },
|
|
12
|
+
* });
|
|
13
|
+
* ```
|
|
7
14
|
*/
|
|
8
15
|
create(body: AuthConfigCreateParams, options?: RequestOptions): APIPromise<AuthConfigCreateResponse>;
|
|
9
16
|
/**
|
|
10
|
-
*
|
|
17
|
+
* Retrieves detailed information about a specific authentication configuration
|
|
18
|
+
* using its unique identifier.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const authConfig = await client.authConfigs.retrieve(
|
|
23
|
+
* 'nanoid',
|
|
24
|
+
* );
|
|
25
|
+
* ```
|
|
11
26
|
*/
|
|
12
27
|
retrieve(nanoid: string, options?: RequestOptions): APIPromise<AuthConfigRetrieveResponse>;
|
|
13
28
|
/**
|
|
14
|
-
*
|
|
29
|
+
* Modifies an existing authentication configuration with new credentials or other
|
|
30
|
+
* settings. Only specified fields will be updated.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* const authConfig = await client.authConfigs.update(
|
|
35
|
+
* 'nanoid',
|
|
36
|
+
* { credentials: { foo: 'bar' }, type: 'custom' },
|
|
37
|
+
* );
|
|
38
|
+
* ```
|
|
15
39
|
*/
|
|
16
40
|
update(nanoid: string, body: AuthConfigUpdateParams, options?: RequestOptions): APIPromise<unknown>;
|
|
17
41
|
/**
|
|
18
42
|
* List authentication configurations with optional filters
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```ts
|
|
46
|
+
* const authConfigs = await client.authConfigs.list();
|
|
47
|
+
* ```
|
|
19
48
|
*/
|
|
20
49
|
list(query?: AuthConfigListParams | null | undefined, options?: RequestOptions): APIPromise<AuthConfigListResponse>;
|
|
21
50
|
/**
|
|
22
|
-
*
|
|
51
|
+
* Soft-deletes an authentication configuration by marking it as deleted in the
|
|
52
|
+
* database. This operation cannot be undone.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```ts
|
|
56
|
+
* const authConfig = await client.authConfigs.delete(
|
|
57
|
+
* 'nanoid',
|
|
58
|
+
* );
|
|
59
|
+
* ```
|
|
23
60
|
*/
|
|
24
61
|
delete(nanoid: string, options?: RequestOptions): APIPromise<unknown>;
|
|
25
62
|
/**
|
|
26
|
-
*
|
|
63
|
+
* Updates the status of an authentication configuration to either enabled or
|
|
64
|
+
* disabled. Disabled configurations cannot be used for new connections.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```ts
|
|
68
|
+
* const response = await client.authConfigs.updateStatus(
|
|
69
|
+
* 'ENABLED',
|
|
70
|
+
* { nanoid: 'nanoid' },
|
|
71
|
+
* );
|
|
72
|
+
* ```
|
|
27
73
|
*/
|
|
28
74
|
updateStatus(status: 'ENABLED' | 'DISABLED', params: AuthConfigUpdateStatusParams, options?: RequestOptions): APIPromise<unknown>;
|
|
29
75
|
}
|
|
@@ -34,11 +80,11 @@ export interface AuthConfigCreateResponse {
|
|
|
34
80
|
export declare namespace AuthConfigCreateResponse {
|
|
35
81
|
interface AuthConfig {
|
|
36
82
|
/**
|
|
37
|
-
* The auth config id of the
|
|
83
|
+
* The auth config id of the toolkit (must be a valid auth config id)
|
|
38
84
|
*/
|
|
39
85
|
id: string;
|
|
40
86
|
/**
|
|
41
|
-
* The authentication mode of the
|
|
87
|
+
* The authentication mode of the toolkit
|
|
42
88
|
*/
|
|
43
89
|
auth_scheme: string;
|
|
44
90
|
/**
|
|
@@ -46,7 +92,7 @@ export declare namespace AuthConfigCreateResponse {
|
|
|
46
92
|
*/
|
|
47
93
|
is_composio_managed: boolean;
|
|
48
94
|
/**
|
|
49
|
-
* The
|
|
95
|
+
* The tools that the user can use with the auth config
|
|
50
96
|
*/
|
|
51
97
|
restrict_to_following_tools?: Array<string>;
|
|
52
98
|
}
|
|
@@ -59,60 +105,103 @@ export declare namespace AuthConfigCreateResponse {
|
|
|
59
105
|
}
|
|
60
106
|
export interface AuthConfigRetrieveResponse {
|
|
61
107
|
/**
|
|
62
|
-
* The unique
|
|
108
|
+
* The unique ID of the authentication configuration
|
|
63
109
|
*/
|
|
64
110
|
id: string;
|
|
111
|
+
/**
|
|
112
|
+
* Deprecated parameters maintained for backward compatibility
|
|
113
|
+
*/
|
|
65
114
|
deprecated_params: AuthConfigRetrieveResponse.DeprecatedParams;
|
|
66
115
|
/**
|
|
67
|
-
* The name of the
|
|
116
|
+
* The display name of the authentication configuration
|
|
68
117
|
*/
|
|
69
118
|
name: string;
|
|
70
119
|
/**
|
|
71
|
-
* The number of connections
|
|
120
|
+
* The number of active connections using this auth config
|
|
72
121
|
*/
|
|
73
122
|
no_of_connections: number;
|
|
123
|
+
/**
|
|
124
|
+
* Current status of the authentication configuration
|
|
125
|
+
*/
|
|
74
126
|
status: 'ENABLED' | 'DISABLED';
|
|
127
|
+
/**
|
|
128
|
+
* Information about the associated integration
|
|
129
|
+
*/
|
|
75
130
|
toolkit: AuthConfigRetrieveResponse.Toolkit;
|
|
76
131
|
/**
|
|
77
|
-
* The type of the
|
|
132
|
+
* The type of the authentication configuration (custom or default)
|
|
78
133
|
*/
|
|
79
134
|
type: 'default' | 'custom';
|
|
80
135
|
/**
|
|
81
|
-
* The
|
|
136
|
+
* The UUID of the authentication configuration (for backward compatibility)
|
|
82
137
|
*/
|
|
83
138
|
uuid: string;
|
|
139
|
+
/**
|
|
140
|
+
* The authentication scheme used (e.g., OAuth2, API Key, etc.)
|
|
141
|
+
*/
|
|
84
142
|
auth_scheme?: 'OAUTH2' | 'OAUTH1' | 'OAUTH1A' | 'API_KEY' | 'BASIC' | 'BILLCOM_AUTH' | 'BEARER_TOKEN' | 'GOOGLE_SERVICE_ACCOUNT' | 'NO_AUTH' | 'BASIC_WITH_JWT' | 'COMPOSIO_LINK' | 'CALCOM_AUTH' | 'SNOWFLAKE';
|
|
85
143
|
/**
|
|
86
|
-
*
|
|
144
|
+
* ISO 8601 date-time when the auth config was created
|
|
87
145
|
*/
|
|
88
146
|
created_at?: string;
|
|
89
147
|
/**
|
|
90
|
-
* The user who created the auth config
|
|
148
|
+
* The identifier of the user who created the auth config
|
|
91
149
|
*/
|
|
92
150
|
created_by?: string;
|
|
151
|
+
/**
|
|
152
|
+
* The authentication credentials (tokens, keys, etc.) - may be partially hidden
|
|
153
|
+
* for security
|
|
154
|
+
*/
|
|
93
155
|
credentials?: Record<string, unknown>;
|
|
156
|
+
/**
|
|
157
|
+
* Fields expected during connection initialization
|
|
158
|
+
*/
|
|
94
159
|
expected_input_fields?: Array<unknown>;
|
|
160
|
+
/**
|
|
161
|
+
* Whether this authentication configuration is managed by Composio or the user
|
|
162
|
+
*/
|
|
95
163
|
is_composio_managed?: boolean;
|
|
96
164
|
/**
|
|
97
|
-
*
|
|
165
|
+
* ISO 8601 date-time when the auth config was last updated
|
|
98
166
|
*/
|
|
99
167
|
last_updated_at?: string;
|
|
168
|
+
/**
|
|
169
|
+
* List of tool IDs this auth config is restricted to use with
|
|
170
|
+
*/
|
|
100
171
|
restrict_to_following_tools?: Array<string>;
|
|
101
172
|
}
|
|
102
173
|
export declare namespace AuthConfigRetrieveResponse {
|
|
174
|
+
/**
|
|
175
|
+
* Deprecated parameters maintained for backward compatibility
|
|
176
|
+
*/
|
|
103
177
|
interface DeprecatedParams {
|
|
178
|
+
/**
|
|
179
|
+
* Deprecated: Default connector ID
|
|
180
|
+
*/
|
|
104
181
|
default_connector_id: string | null;
|
|
182
|
+
/**
|
|
183
|
+
* Deprecated: Fields expected during connection initialization
|
|
184
|
+
*/
|
|
105
185
|
expected_input_fields?: Array<Record<string, unknown>>;
|
|
186
|
+
/**
|
|
187
|
+
* Deprecated: Member UUID
|
|
188
|
+
*/
|
|
106
189
|
member_uuid?: string;
|
|
190
|
+
/**
|
|
191
|
+
* Deprecated: Toolkit ID
|
|
192
|
+
*/
|
|
107
193
|
toolkit_id?: string;
|
|
108
194
|
}
|
|
195
|
+
/**
|
|
196
|
+
* Information about the associated integration
|
|
197
|
+
*/
|
|
109
198
|
interface Toolkit {
|
|
110
199
|
/**
|
|
111
|
-
* The
|
|
200
|
+
* The URL to the integration app's logo image
|
|
112
201
|
*/
|
|
113
202
|
logo: string;
|
|
114
203
|
/**
|
|
115
|
-
* The unique
|
|
204
|
+
* The unique identifier of the integration app
|
|
116
205
|
*/
|
|
117
206
|
slug: string;
|
|
118
207
|
}
|
|
@@ -126,60 +215,103 @@ export interface AuthConfigListResponse {
|
|
|
126
215
|
export declare namespace AuthConfigListResponse {
|
|
127
216
|
interface Item {
|
|
128
217
|
/**
|
|
129
|
-
* The unique
|
|
218
|
+
* The unique ID of the authentication configuration
|
|
130
219
|
*/
|
|
131
220
|
id: string;
|
|
221
|
+
/**
|
|
222
|
+
* Deprecated parameters maintained for backward compatibility
|
|
223
|
+
*/
|
|
132
224
|
deprecated_params: Item.DeprecatedParams;
|
|
133
225
|
/**
|
|
134
|
-
* The name of the
|
|
226
|
+
* The display name of the authentication configuration
|
|
135
227
|
*/
|
|
136
228
|
name: string;
|
|
137
229
|
/**
|
|
138
|
-
* The number of connections
|
|
230
|
+
* The number of active connections using this auth config
|
|
139
231
|
*/
|
|
140
232
|
no_of_connections: number;
|
|
233
|
+
/**
|
|
234
|
+
* Current status of the authentication configuration
|
|
235
|
+
*/
|
|
141
236
|
status: 'ENABLED' | 'DISABLED';
|
|
237
|
+
/**
|
|
238
|
+
* Information about the associated integration
|
|
239
|
+
*/
|
|
142
240
|
toolkit: Item.Toolkit;
|
|
143
241
|
/**
|
|
144
|
-
* The type of the
|
|
242
|
+
* The type of the authentication configuration (custom or default)
|
|
145
243
|
*/
|
|
146
244
|
type: 'default' | 'custom';
|
|
147
245
|
/**
|
|
148
|
-
* The
|
|
246
|
+
* The UUID of the authentication configuration (for backward compatibility)
|
|
149
247
|
*/
|
|
150
248
|
uuid: string;
|
|
249
|
+
/**
|
|
250
|
+
* The authentication scheme used (e.g., OAuth2, API Key, etc.)
|
|
251
|
+
*/
|
|
151
252
|
auth_scheme?: 'OAUTH2' | 'OAUTH1' | 'OAUTH1A' | 'API_KEY' | 'BASIC' | 'BILLCOM_AUTH' | 'BEARER_TOKEN' | 'GOOGLE_SERVICE_ACCOUNT' | 'NO_AUTH' | 'BASIC_WITH_JWT' | 'COMPOSIO_LINK' | 'CALCOM_AUTH' | 'SNOWFLAKE';
|
|
152
253
|
/**
|
|
153
|
-
*
|
|
254
|
+
* ISO 8601 date-time when the auth config was created
|
|
154
255
|
*/
|
|
155
256
|
created_at?: string;
|
|
156
257
|
/**
|
|
157
|
-
* The user who created the auth config
|
|
258
|
+
* The identifier of the user who created the auth config
|
|
158
259
|
*/
|
|
159
260
|
created_by?: string;
|
|
261
|
+
/**
|
|
262
|
+
* The authentication credentials (tokens, keys, etc.) - may be partially hidden
|
|
263
|
+
* for security
|
|
264
|
+
*/
|
|
160
265
|
credentials?: Record<string, unknown>;
|
|
266
|
+
/**
|
|
267
|
+
* Fields expected during connection initialization
|
|
268
|
+
*/
|
|
161
269
|
expected_input_fields?: Array<unknown>;
|
|
270
|
+
/**
|
|
271
|
+
* Whether this authentication configuration is managed by Composio or the user
|
|
272
|
+
*/
|
|
162
273
|
is_composio_managed?: boolean;
|
|
163
274
|
/**
|
|
164
|
-
*
|
|
275
|
+
* ISO 8601 date-time when the auth config was last updated
|
|
165
276
|
*/
|
|
166
277
|
last_updated_at?: string;
|
|
278
|
+
/**
|
|
279
|
+
* List of tool IDs this auth config is restricted to use with
|
|
280
|
+
*/
|
|
167
281
|
restrict_to_following_tools?: Array<string>;
|
|
168
282
|
}
|
|
169
283
|
namespace Item {
|
|
284
|
+
/**
|
|
285
|
+
* Deprecated parameters maintained for backward compatibility
|
|
286
|
+
*/
|
|
170
287
|
interface DeprecatedParams {
|
|
288
|
+
/**
|
|
289
|
+
* Deprecated: Default connector ID
|
|
290
|
+
*/
|
|
171
291
|
default_connector_id: string | null;
|
|
292
|
+
/**
|
|
293
|
+
* Deprecated: Fields expected during connection initialization
|
|
294
|
+
*/
|
|
172
295
|
expected_input_fields?: Array<Record<string, unknown>>;
|
|
296
|
+
/**
|
|
297
|
+
* Deprecated: Member UUID
|
|
298
|
+
*/
|
|
173
299
|
member_uuid?: string;
|
|
300
|
+
/**
|
|
301
|
+
* Deprecated: Toolkit ID
|
|
302
|
+
*/
|
|
174
303
|
toolkit_id?: string;
|
|
175
304
|
}
|
|
305
|
+
/**
|
|
306
|
+
* Information about the associated integration
|
|
307
|
+
*/
|
|
176
308
|
interface Toolkit {
|
|
177
309
|
/**
|
|
178
|
-
* The
|
|
310
|
+
* The URL to the integration app's logo image
|
|
179
311
|
*/
|
|
180
312
|
logo: string;
|
|
181
313
|
/**
|
|
182
|
-
* The unique
|
|
314
|
+
* The unique identifier of the integration app
|
|
183
315
|
*/
|
|
184
316
|
slug: string;
|
|
185
317
|
}
|
|
@@ -194,7 +326,7 @@ export interface AuthConfigCreateParams {
|
|
|
194
326
|
export declare namespace AuthConfigCreateParams {
|
|
195
327
|
interface Toolkit {
|
|
196
328
|
/**
|
|
197
|
-
* List of
|
|
329
|
+
* List of toolkits unique keys to filter by
|
|
198
330
|
*/
|
|
199
331
|
slug: string;
|
|
200
332
|
}
|
|
@@ -254,13 +386,20 @@ export interface AuthConfigListParams {
|
|
|
254
386
|
/**
|
|
255
387
|
* The number of auth configs to return
|
|
256
388
|
*/
|
|
257
|
-
limit?:
|
|
389
|
+
limit?: number | null;
|
|
390
|
+
/**
|
|
391
|
+
* Show disabled auth configs
|
|
392
|
+
*/
|
|
393
|
+
show_disabled?: boolean;
|
|
258
394
|
/**
|
|
259
395
|
* The slug of the toolkit to filter by
|
|
260
396
|
*/
|
|
261
397
|
toolkit_slug?: string;
|
|
262
398
|
}
|
|
263
399
|
export interface AuthConfigUpdateStatusParams {
|
|
400
|
+
/**
|
|
401
|
+
* The unique identifier of the authentication configuration to update
|
|
402
|
+
*/
|
|
264
403
|
nanoid: string;
|
|
265
404
|
}
|
|
266
405
|
export declare namespace AuthConfigs {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-configs.d.mts","sourceRoot":"","sources":["../src/resources/auth-configs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C
|
|
1
|
+
{"version":3,"file":"auth-configs.d.mts","sourceRoot":"","sources":["../src/resources/auth-configs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAIpG;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAI1F;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAInG;;;;;;;OAOG;IACH,IAAI,CACF,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAIrC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CA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