@composio/client 0.1.0-alpha.68 → 0.1.0-alpha.69
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 +10 -0
- package/package.json +1 -1
- package/resources/auth-configs.js +6 -6
- package/resources/auth-configs.js.map +1 -1
- package/resources/auth-configs.mjs +6 -6
- package/resources/auth-configs.mjs.map +1 -1
- package/resources/cli/cli.js +2 -2
- package/resources/cli/cli.js.map +1 -1
- package/resources/cli/cli.mjs +2 -2
- package/resources/cli/cli.mjs.map +1 -1
- package/resources/cli/realtime.js +2 -2
- package/resources/cli/realtime.js.map +1 -1
- package/resources/cli/realtime.mjs +2 -2
- package/resources/cli/realtime.mjs.map +1 -1
- package/resources/connected-accounts.d.mts +164 -11
- package/resources/connected-accounts.d.mts.map +1 -1
- package/resources/connected-accounts.d.ts +164 -11
- package/resources/connected-accounts.d.ts.map +1 -1
- package/resources/connected-accounts.js +16 -7
- package/resources/connected-accounts.js.map +1 -1
- package/resources/connected-accounts.mjs +16 -7
- package/resources/connected-accounts.mjs.map +1 -1
- package/resources/files.js +2 -2
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +2 -2
- package/resources/files.mjs.map +1 -1
- package/resources/link.d.mts +78 -44
- package/resources/link.d.mts.map +1 -1
- package/resources/link.d.ts +78 -44
- package/resources/link.d.ts.map +1 -1
- package/resources/link.js +1 -1
- package/resources/link.js.map +1 -1
- package/resources/link.mjs +1 -1
- package/resources/link.mjs.map +1 -1
- package/resources/logs/tools.js +2 -2
- package/resources/logs/tools.js.map +1 -1
- package/resources/logs/tools.mjs +2 -2
- package/resources/logs/tools.mjs.map +1 -1
- package/resources/logs/triggers.js +2 -2
- package/resources/logs/triggers.js.map +1 -1
- package/resources/logs/triggers.mjs +2 -2
- package/resources/logs/triggers.mjs.map +1 -1
- package/resources/mcp/custom.js +1 -1
- package/resources/mcp/custom.js.map +1 -1
- package/resources/mcp/custom.mjs +1 -1
- package/resources/mcp/custom.mjs.map +1 -1
- package/resources/mcp/generate.js +1 -1
- package/resources/mcp/generate.js.map +1 -1
- package/resources/mcp/generate.mjs +1 -1
- package/resources/mcp/generate.mjs.map +1 -1
- package/resources/mcp/mcp.js +6 -6
- package/resources/mcp/mcp.js.map +1 -1
- package/resources/mcp/mcp.mjs +6 -6
- package/resources/mcp/mcp.mjs.map +1 -1
- package/resources/migration.js +1 -1
- package/resources/migration.js.map +1 -1
- package/resources/migration.mjs +1 -1
- package/resources/migration.mjs.map +1 -1
- package/resources/project/config.js +2 -2
- package/resources/project/config.js.map +1 -1
- package/resources/project/config.mjs +2 -2
- package/resources/project/config.mjs.map +1 -1
- package/resources/tool-router/index.d.mts +1 -1
- package/resources/tool-router/index.d.mts.map +1 -1
- package/resources/tool-router/index.d.ts +1 -1
- package/resources/tool-router/index.d.ts.map +1 -1
- package/resources/tool-router/index.js.map +1 -1
- package/resources/tool-router/index.mjs.map +1 -1
- package/resources/tool-router/session/files.js +4 -7
- package/resources/tool-router/session/files.js.map +1 -1
- package/resources/tool-router/session/files.mjs +4 -7
- package/resources/tool-router/session/files.mjs.map +1 -1
- package/resources/tool-router/session/index.d.mts +1 -1
- package/resources/tool-router/session/index.d.mts.map +1 -1
- package/resources/tool-router/session/index.d.ts +1 -1
- package/resources/tool-router/session/index.d.ts.map +1 -1
- package/resources/tool-router/session/index.js.map +1 -1
- package/resources/tool-router/session/index.mjs.map +1 -1
- package/resources/tool-router/session/session.d.mts +2124 -556
- package/resources/tool-router/session/session.d.mts.map +1 -1
- package/resources/tool-router/session/session.d.ts +2124 -556
- package/resources/tool-router/session/session.d.ts.map +1 -1
- package/resources/tool-router/session/session.js +65 -29
- package/resources/tool-router/session/session.js.map +1 -1
- package/resources/tool-router/session/session.mjs +65 -29
- package/resources/tool-router/session/session.mjs.map +1 -1
- package/resources/tool-router/tool-router.d.mts +2 -2
- package/resources/tool-router/tool-router.d.mts.map +1 -1
- package/resources/tool-router/tool-router.d.ts +2 -2
- package/resources/tool-router/tool-router.d.ts.map +1 -1
- package/resources/tool-router/tool-router.js +1 -1
- package/resources/tool-router/tool-router.js.map +1 -1
- package/resources/tool-router/tool-router.mjs +1 -1
- package/resources/tool-router/tool-router.mjs.map +1 -1
- package/resources/toolkits.js +3 -3
- package/resources/toolkits.js.map +1 -1
- package/resources/toolkits.mjs +3 -3
- package/resources/toolkits.mjs.map +1 -1
- package/resources/tools.js +6 -6
- package/resources/tools.js.map +1 -1
- package/resources/tools.mjs +6 -6
- package/resources/tools.mjs.map +1 -1
- package/resources/trigger-instances/manage.js +2 -2
- package/resources/trigger-instances/manage.js.map +1 -1
- package/resources/trigger-instances/manage.mjs +2 -2
- package/resources/trigger-instances/manage.mjs.map +1 -1
- package/resources/trigger-instances/trigger-instances.js +2 -2
- package/resources/trigger-instances/trigger-instances.js.map +1 -1
- package/resources/trigger-instances/trigger-instances.mjs +2 -2
- package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
- package/resources/triggers-types.js +3 -3
- package/resources/triggers-types.js.map +1 -1
- package/resources/triggers-types.mjs +3 -3
- package/resources/triggers-types.mjs.map +1 -1
- package/src/resources/auth-configs.ts +6 -6
- package/src/resources/cli/cli.ts +2 -2
- package/src/resources/cli/realtime.ts +2 -2
- package/src/resources/connected-accounts.ts +285 -18
- package/src/resources/files.ts +2 -2
- package/src/resources/link.ts +122 -61
- package/src/resources/logs/tools.ts +2 -2
- package/src/resources/logs/triggers.ts +2 -2
- package/src/resources/mcp/custom.ts +1 -1
- package/src/resources/mcp/generate.ts +1 -1
- package/src/resources/mcp/mcp.ts +6 -6
- package/src/resources/migration.ts +1 -1
- package/src/resources/project/config.ts +2 -2
- package/src/resources/tool-router/index.ts +6 -0
- package/src/resources/tool-router/session/files.ts +7 -7
- package/src/resources/tool-router/session/index.ts +6 -0
- package/src/resources/tool-router/session/session.ts +2556 -724
- package/src/resources/tool-router/tool-router.ts +13 -1
- package/src/resources/toolkits.ts +3 -3
- package/src/resources/tools.ts +6 -6
- package/src/resources/trigger-instances/manage.ts +2 -2
- package/src/resources/trigger-instances/trigger-instances.ts +2 -2
- package/src/resources/triggers-types.ts +3 -3
- 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
|
@@ -13,7 +13,7 @@ export class Link extends APIResource {
|
|
|
13
13
|
* accounts
|
|
14
14
|
*/
|
|
15
15
|
create(body: LinkCreateParams, options?: RequestOptions): APIPromise<LinkCreateResponse> {
|
|
16
|
-
return this._client.post('/api/v3/connected_accounts/link', { body, ...options });
|
|
16
|
+
return this._client.post('/api/v3.1/connected_accounts/link', { body, ...options });
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -138,7 +138,8 @@ export interface LinkCreateParams {
|
|
|
138
138
|
| LinkCreateParams.UnionMember70
|
|
139
139
|
| LinkCreateParams.UnionMember71
|
|
140
140
|
| LinkCreateParams.UnionMember72
|
|
141
|
-
| LinkCreateParams.UnionMember73
|
|
141
|
+
| LinkCreateParams.UnionMember73
|
|
142
|
+
| LinkCreateParams.UnionMember74;
|
|
142
143
|
}
|
|
143
144
|
|
|
144
145
|
export namespace LinkCreateParams {
|
|
@@ -919,18 +920,30 @@ export namespace LinkCreateParams {
|
|
|
919
920
|
|
|
920
921
|
instanceName?: string;
|
|
921
922
|
|
|
923
|
+
/**
|
|
924
|
+
* Whether to return the redirect url without shortening
|
|
925
|
+
*/
|
|
926
|
+
long_redirect_url?: boolean;
|
|
927
|
+
|
|
922
928
|
proxy_password?: string;
|
|
923
929
|
|
|
924
930
|
proxy_username?: string;
|
|
925
931
|
|
|
926
932
|
region?: string;
|
|
927
933
|
|
|
934
|
+
revoked_at?: string;
|
|
935
|
+
|
|
928
936
|
server_location?: string;
|
|
929
937
|
|
|
930
938
|
shop?: string;
|
|
931
939
|
|
|
932
940
|
site_name?: string;
|
|
933
941
|
|
|
942
|
+
/**
|
|
943
|
+
* The oauth2 state prefix for the connection
|
|
944
|
+
*/
|
|
945
|
+
state_prefix?: string;
|
|
946
|
+
|
|
934
947
|
subdomain?: string;
|
|
935
948
|
|
|
936
949
|
version?: string;
|
|
@@ -995,16 +1008,10 @@ export namespace LinkCreateParams {
|
|
|
995
1008
|
|
|
996
1009
|
account_url?: string;
|
|
997
1010
|
|
|
998
|
-
api_key?: string;
|
|
999
|
-
|
|
1000
1011
|
api_url?: string;
|
|
1001
1012
|
|
|
1002
1013
|
base_url?: string;
|
|
1003
1014
|
|
|
1004
|
-
basic_encoded?: string;
|
|
1005
|
-
|
|
1006
|
-
bearer_token?: string;
|
|
1007
|
-
|
|
1008
1015
|
borneo_dashboard_url?: string;
|
|
1009
1016
|
|
|
1010
1017
|
COMPANYDOMAIN?: string;
|
|
@@ -1017,8 +1024,6 @@ export namespace LinkCreateParams {
|
|
|
1017
1024
|
|
|
1018
1025
|
form_api_base_url?: string;
|
|
1019
1026
|
|
|
1020
|
-
generic_api_key?: string;
|
|
1021
|
-
|
|
1022
1027
|
instanceEndpoint?: string;
|
|
1023
1028
|
|
|
1024
1029
|
instanceName?: string;
|
|
@@ -1107,10 +1112,16 @@ export namespace LinkCreateParams {
|
|
|
1107
1112
|
|
|
1108
1113
|
account_url?: string;
|
|
1109
1114
|
|
|
1115
|
+
api_key?: string;
|
|
1116
|
+
|
|
1110
1117
|
api_url?: string;
|
|
1111
1118
|
|
|
1112
1119
|
base_url?: string;
|
|
1113
1120
|
|
|
1121
|
+
basic_encoded?: string;
|
|
1122
|
+
|
|
1123
|
+
bearer_token?: string;
|
|
1124
|
+
|
|
1114
1125
|
borneo_dashboard_url?: string;
|
|
1115
1126
|
|
|
1116
1127
|
COMPANYDOMAIN?: string;
|
|
@@ -1123,6 +1134,8 @@ export namespace LinkCreateParams {
|
|
|
1123
1134
|
|
|
1124
1135
|
form_api_base_url?: string;
|
|
1125
1136
|
|
|
1137
|
+
generic_api_key?: string;
|
|
1138
|
+
|
|
1126
1139
|
instanceEndpoint?: string;
|
|
1127
1140
|
|
|
1128
1141
|
instanceName?: string;
|
|
@@ -1199,8 +1212,6 @@ export namespace LinkCreateParams {
|
|
|
1199
1212
|
}
|
|
1200
1213
|
|
|
1201
1214
|
export interface UnionMember18 {
|
|
1202
|
-
username: string;
|
|
1203
|
-
|
|
1204
1215
|
account_id?: string;
|
|
1205
1216
|
|
|
1206
1217
|
account_url?: string;
|
|
@@ -1225,8 +1236,6 @@ export namespace LinkCreateParams {
|
|
|
1225
1236
|
|
|
1226
1237
|
instanceName?: string;
|
|
1227
1238
|
|
|
1228
|
-
password?: string;
|
|
1229
|
-
|
|
1230
1239
|
proxy_password?: string;
|
|
1231
1240
|
|
|
1232
1241
|
proxy_username?: string;
|
|
@@ -1303,6 +1312,8 @@ export namespace LinkCreateParams {
|
|
|
1303
1312
|
}
|
|
1304
1313
|
|
|
1305
1314
|
export interface UnionMember20 {
|
|
1315
|
+
username: string;
|
|
1316
|
+
|
|
1306
1317
|
account_id?: string;
|
|
1307
1318
|
|
|
1308
1319
|
account_url?: string;
|
|
@@ -1327,6 +1338,8 @@ export namespace LinkCreateParams {
|
|
|
1327
1338
|
|
|
1328
1339
|
instanceName?: string;
|
|
1329
1340
|
|
|
1341
|
+
password?: string;
|
|
1342
|
+
|
|
1330
1343
|
proxy_password?: string;
|
|
1331
1344
|
|
|
1332
1345
|
proxy_username?: string;
|
|
@@ -1399,8 +1412,6 @@ export namespace LinkCreateParams {
|
|
|
1399
1412
|
}
|
|
1400
1413
|
|
|
1401
1414
|
export interface UnionMember22 {
|
|
1402
|
-
token: string;
|
|
1403
|
-
|
|
1404
1415
|
account_id?: string;
|
|
1405
1416
|
|
|
1406
1417
|
account_url?: string;
|
|
@@ -1499,6 +1510,8 @@ export namespace LinkCreateParams {
|
|
|
1499
1510
|
}
|
|
1500
1511
|
|
|
1501
1512
|
export interface UnionMember24 {
|
|
1513
|
+
token: string;
|
|
1514
|
+
|
|
1502
1515
|
account_id?: string;
|
|
1503
1516
|
|
|
1504
1517
|
account_url?: string;
|
|
@@ -1547,8 +1560,6 @@ export namespace LinkCreateParams {
|
|
|
1547
1560
|
}
|
|
1548
1561
|
|
|
1549
1562
|
export interface UnionMember25 {
|
|
1550
|
-
redirectUrl: string;
|
|
1551
|
-
|
|
1552
1563
|
account_id?: string;
|
|
1553
1564
|
|
|
1554
1565
|
account_url?: string;
|
|
@@ -1561,8 +1572,6 @@ export namespace LinkCreateParams {
|
|
|
1561
1572
|
|
|
1562
1573
|
COMPANYDOMAIN?: string;
|
|
1563
1574
|
|
|
1564
|
-
composio_link_redirect_url?: string;
|
|
1565
|
-
|
|
1566
1575
|
dc?: string;
|
|
1567
1576
|
|
|
1568
1577
|
domain?: string;
|
|
@@ -1599,7 +1608,7 @@ export namespace LinkCreateParams {
|
|
|
1599
1608
|
}
|
|
1600
1609
|
|
|
1601
1610
|
export interface UnionMember26 {
|
|
1602
|
-
|
|
1611
|
+
redirectUrl: string;
|
|
1603
1612
|
|
|
1604
1613
|
account_id?: string;
|
|
1605
1614
|
|
|
@@ -1613,6 +1622,8 @@ export namespace LinkCreateParams {
|
|
|
1613
1622
|
|
|
1614
1623
|
COMPANYDOMAIN?: string;
|
|
1615
1624
|
|
|
1625
|
+
composio_link_redirect_url?: string;
|
|
1626
|
+
|
|
1616
1627
|
dc?: string;
|
|
1617
1628
|
|
|
1618
1629
|
domain?: string;
|
|
@@ -1699,6 +1710,8 @@ export namespace LinkCreateParams {
|
|
|
1699
1710
|
}
|
|
1700
1711
|
|
|
1701
1712
|
export interface UnionMember28 {
|
|
1713
|
+
credentials_json: string;
|
|
1714
|
+
|
|
1702
1715
|
account_id?: string;
|
|
1703
1716
|
|
|
1704
1717
|
account_url?: string;
|
|
@@ -1907,10 +1920,6 @@ export namespace LinkCreateParams {
|
|
|
1907
1920
|
|
|
1908
1921
|
domain?: string;
|
|
1909
1922
|
|
|
1910
|
-
error?: string;
|
|
1911
|
-
|
|
1912
|
-
error_description?: string;
|
|
1913
|
-
|
|
1914
1923
|
extension?: string;
|
|
1915
1924
|
|
|
1916
1925
|
form_api_base_url?: string;
|
|
@@ -1959,7 +1968,9 @@ export namespace LinkCreateParams {
|
|
|
1959
1968
|
|
|
1960
1969
|
domain?: string;
|
|
1961
1970
|
|
|
1962
|
-
|
|
1971
|
+
error?: string;
|
|
1972
|
+
|
|
1973
|
+
error_description?: string;
|
|
1963
1974
|
|
|
1964
1975
|
extension?: string;
|
|
1965
1976
|
|
|
@@ -2009,6 +2020,8 @@ export namespace LinkCreateParams {
|
|
|
2009
2020
|
|
|
2010
2021
|
domain?: string;
|
|
2011
2022
|
|
|
2023
|
+
expired_at?: string;
|
|
2024
|
+
|
|
2012
2025
|
extension?: string;
|
|
2013
2026
|
|
|
2014
2027
|
form_api_base_url?: string;
|
|
@@ -2201,6 +2214,54 @@ export namespace LinkCreateParams {
|
|
|
2201
2214
|
|
|
2202
2215
|
domain?: string;
|
|
2203
2216
|
|
|
2217
|
+
extension?: string;
|
|
2218
|
+
|
|
2219
|
+
form_api_base_url?: string;
|
|
2220
|
+
|
|
2221
|
+
instanceEndpoint?: string;
|
|
2222
|
+
|
|
2223
|
+
instanceName?: string;
|
|
2224
|
+
|
|
2225
|
+
proxy_password?: string;
|
|
2226
|
+
|
|
2227
|
+
proxy_username?: string;
|
|
2228
|
+
|
|
2229
|
+
region?: string;
|
|
2230
|
+
|
|
2231
|
+
server_location?: string;
|
|
2232
|
+
|
|
2233
|
+
shop?: string;
|
|
2234
|
+
|
|
2235
|
+
site_name?: string;
|
|
2236
|
+
|
|
2237
|
+
subdomain?: string;
|
|
2238
|
+
|
|
2239
|
+
version?: string;
|
|
2240
|
+
|
|
2241
|
+
your_server?: string;
|
|
2242
|
+
|
|
2243
|
+
'your-domain'?: string;
|
|
2244
|
+
|
|
2245
|
+
[k: string]: unknown;
|
|
2246
|
+
}
|
|
2247
|
+
|
|
2248
|
+
export interface UnionMember39 {
|
|
2249
|
+
account_id?: string;
|
|
2250
|
+
|
|
2251
|
+
account_url?: string;
|
|
2252
|
+
|
|
2253
|
+
api_url?: string;
|
|
2254
|
+
|
|
2255
|
+
base_url?: string;
|
|
2256
|
+
|
|
2257
|
+
borneo_dashboard_url?: string;
|
|
2258
|
+
|
|
2259
|
+
COMPANYDOMAIN?: string;
|
|
2260
|
+
|
|
2261
|
+
dc?: string;
|
|
2262
|
+
|
|
2263
|
+
domain?: string;
|
|
2264
|
+
|
|
2204
2265
|
error?: string;
|
|
2205
2266
|
|
|
2206
2267
|
error_description?: string;
|
|
@@ -2236,7 +2297,7 @@ export namespace LinkCreateParams {
|
|
|
2236
2297
|
[k: string]: unknown;
|
|
2237
2298
|
}
|
|
2238
2299
|
|
|
2239
|
-
export interface
|
|
2300
|
+
export interface UnionMember40 {
|
|
2240
2301
|
account_id?: string;
|
|
2241
2302
|
|
|
2242
2303
|
account_url?: string;
|
|
@@ -2286,7 +2347,7 @@ export namespace LinkCreateParams {
|
|
|
2286
2347
|
[k: string]: unknown;
|
|
2287
2348
|
}
|
|
2288
2349
|
|
|
2289
|
-
export interface
|
|
2350
|
+
export interface UnionMember41 {
|
|
2290
2351
|
account_id?: string;
|
|
2291
2352
|
|
|
2292
2353
|
account_url?: string;
|
|
@@ -2334,7 +2395,7 @@ export namespace LinkCreateParams {
|
|
|
2334
2395
|
[k: string]: unknown;
|
|
2335
2396
|
}
|
|
2336
2397
|
|
|
2337
|
-
export interface
|
|
2398
|
+
export interface UnionMember42 {
|
|
2338
2399
|
redirectUrl: string;
|
|
2339
2400
|
|
|
2340
2401
|
account_id?: string;
|
|
@@ -2384,7 +2445,7 @@ export namespace LinkCreateParams {
|
|
|
2384
2445
|
[k: string]: unknown;
|
|
2385
2446
|
}
|
|
2386
2447
|
|
|
2387
|
-
export interface
|
|
2448
|
+
export interface UnionMember43 {
|
|
2388
2449
|
devKey: string;
|
|
2389
2450
|
|
|
2390
2451
|
sessionId: string;
|
|
@@ -2436,7 +2497,7 @@ export namespace LinkCreateParams {
|
|
|
2436
2497
|
[k: string]: unknown;
|
|
2437
2498
|
}
|
|
2438
2499
|
|
|
2439
|
-
export interface
|
|
2500
|
+
export interface UnionMember44 {
|
|
2440
2501
|
devKey: string;
|
|
2441
2502
|
|
|
2442
2503
|
sessionId: string;
|
|
@@ -2488,7 +2549,7 @@ export namespace LinkCreateParams {
|
|
|
2488
2549
|
[k: string]: unknown;
|
|
2489
2550
|
}
|
|
2490
2551
|
|
|
2491
|
-
export interface
|
|
2552
|
+
export interface UnionMember45 {
|
|
2492
2553
|
account_id?: string;
|
|
2493
2554
|
|
|
2494
2555
|
account_url?: string;
|
|
@@ -2540,7 +2601,7 @@ export namespace LinkCreateParams {
|
|
|
2540
2601
|
[k: string]: unknown;
|
|
2541
2602
|
}
|
|
2542
2603
|
|
|
2543
|
-
export interface
|
|
2604
|
+
export interface UnionMember46 {
|
|
2544
2605
|
account_id?: string;
|
|
2545
2606
|
|
|
2546
2607
|
account_url?: string;
|
|
@@ -2590,7 +2651,7 @@ export namespace LinkCreateParams {
|
|
|
2590
2651
|
[k: string]: unknown;
|
|
2591
2652
|
}
|
|
2592
2653
|
|
|
2593
|
-
export interface
|
|
2654
|
+
export interface UnionMember47 {
|
|
2594
2655
|
account_id?: string;
|
|
2595
2656
|
|
|
2596
2657
|
account_url?: string;
|
|
@@ -2638,7 +2699,7 @@ export namespace LinkCreateParams {
|
|
|
2638
2699
|
[k: string]: unknown;
|
|
2639
2700
|
}
|
|
2640
2701
|
|
|
2641
|
-
export interface
|
|
2702
|
+
export interface UnionMember48 {
|
|
2642
2703
|
account_id?: string;
|
|
2643
2704
|
|
|
2644
2705
|
account_url?: string;
|
|
@@ -2686,7 +2747,7 @@ export namespace LinkCreateParams {
|
|
|
2686
2747
|
[k: string]: unknown;
|
|
2687
2748
|
}
|
|
2688
2749
|
|
|
2689
|
-
export interface
|
|
2750
|
+
export interface UnionMember49 {
|
|
2690
2751
|
password: string;
|
|
2691
2752
|
|
|
2692
2753
|
username: string;
|
|
@@ -2738,7 +2799,7 @@ export namespace LinkCreateParams {
|
|
|
2738
2799
|
[k: string]: unknown;
|
|
2739
2800
|
}
|
|
2740
2801
|
|
|
2741
|
-
export interface
|
|
2802
|
+
export interface UnionMember50 {
|
|
2742
2803
|
password: string;
|
|
2743
2804
|
|
|
2744
2805
|
username: string;
|
|
@@ -2790,7 +2851,7 @@ export namespace LinkCreateParams {
|
|
|
2790
2851
|
[k: string]: unknown;
|
|
2791
2852
|
}
|
|
2792
2853
|
|
|
2793
|
-
export interface
|
|
2854
|
+
export interface UnionMember51 {
|
|
2794
2855
|
password: string;
|
|
2795
2856
|
|
|
2796
2857
|
username: string;
|
|
@@ -2846,7 +2907,7 @@ export namespace LinkCreateParams {
|
|
|
2846
2907
|
[k: string]: unknown;
|
|
2847
2908
|
}
|
|
2848
2909
|
|
|
2849
|
-
export interface
|
|
2910
|
+
export interface UnionMember52 {
|
|
2850
2911
|
password: string;
|
|
2851
2912
|
|
|
2852
2913
|
username: string;
|
|
@@ -2900,7 +2961,7 @@ export namespace LinkCreateParams {
|
|
|
2900
2961
|
[k: string]: unknown;
|
|
2901
2962
|
}
|
|
2902
2963
|
|
|
2903
|
-
export interface
|
|
2964
|
+
export interface UnionMember53 {
|
|
2904
2965
|
account_id?: string;
|
|
2905
2966
|
|
|
2906
2967
|
account_url?: string;
|
|
@@ -2948,7 +3009,7 @@ export namespace LinkCreateParams {
|
|
|
2948
3009
|
[k: string]: unknown;
|
|
2949
3010
|
}
|
|
2950
3011
|
|
|
2951
|
-
export interface
|
|
3012
|
+
export interface UnionMember54 {
|
|
2952
3013
|
account_id?: string;
|
|
2953
3014
|
|
|
2954
3015
|
account_url?: string;
|
|
@@ -2996,7 +3057,7 @@ export namespace LinkCreateParams {
|
|
|
2996
3057
|
[k: string]: unknown;
|
|
2997
3058
|
}
|
|
2998
3059
|
|
|
2999
|
-
export interface
|
|
3060
|
+
export interface UnionMember55 {
|
|
3000
3061
|
application_id: string;
|
|
3001
3062
|
|
|
3002
3063
|
installation_id: string;
|
|
@@ -3050,7 +3111,7 @@ export namespace LinkCreateParams {
|
|
|
3050
3111
|
[k: string]: unknown;
|
|
3051
3112
|
}
|
|
3052
3113
|
|
|
3053
|
-
export interface
|
|
3114
|
+
export interface UnionMember56 {
|
|
3054
3115
|
application_id: string;
|
|
3055
3116
|
|
|
3056
3117
|
installation_id: string;
|
|
@@ -3104,7 +3165,7 @@ export namespace LinkCreateParams {
|
|
|
3104
3165
|
[k: string]: unknown;
|
|
3105
3166
|
}
|
|
3106
3167
|
|
|
3107
|
-
export interface
|
|
3168
|
+
export interface UnionMember57 {
|
|
3108
3169
|
account_id?: string;
|
|
3109
3170
|
|
|
3110
3171
|
account_url?: string;
|
|
@@ -3152,7 +3213,7 @@ export namespace LinkCreateParams {
|
|
|
3152
3213
|
[k: string]: unknown;
|
|
3153
3214
|
}
|
|
3154
3215
|
|
|
3155
|
-
export interface
|
|
3216
|
+
export interface UnionMember58 {
|
|
3156
3217
|
account_id?: string;
|
|
3157
3218
|
|
|
3158
3219
|
account_url?: string;
|
|
@@ -3200,7 +3261,7 @@ export namespace LinkCreateParams {
|
|
|
3200
3261
|
[k: string]: unknown;
|
|
3201
3262
|
}
|
|
3202
3263
|
|
|
3203
|
-
export interface
|
|
3264
|
+
export interface UnionMember59 {
|
|
3204
3265
|
account_id?: string;
|
|
3205
3266
|
|
|
3206
3267
|
account_url?: string;
|
|
@@ -3248,7 +3309,7 @@ export namespace LinkCreateParams {
|
|
|
3248
3309
|
[k: string]: unknown;
|
|
3249
3310
|
}
|
|
3250
3311
|
|
|
3251
|
-
export interface
|
|
3312
|
+
export interface UnionMember60 {
|
|
3252
3313
|
account_id?: string;
|
|
3253
3314
|
|
|
3254
3315
|
account_url?: string;
|
|
@@ -3296,7 +3357,7 @@ export namespace LinkCreateParams {
|
|
|
3296
3357
|
[k: string]: unknown;
|
|
3297
3358
|
}
|
|
3298
3359
|
|
|
3299
|
-
export interface
|
|
3360
|
+
export interface UnionMember61 {
|
|
3300
3361
|
account_id?: string;
|
|
3301
3362
|
|
|
3302
3363
|
account_url?: string;
|
|
@@ -3348,7 +3409,7 @@ export namespace LinkCreateParams {
|
|
|
3348
3409
|
[k: string]: unknown;
|
|
3349
3410
|
}
|
|
3350
3411
|
|
|
3351
|
-
export interface
|
|
3412
|
+
export interface UnionMember62 {
|
|
3352
3413
|
account_id?: string;
|
|
3353
3414
|
|
|
3354
3415
|
account_url?: string;
|
|
@@ -3398,7 +3459,7 @@ export namespace LinkCreateParams {
|
|
|
3398
3459
|
[k: string]: unknown;
|
|
3399
3460
|
}
|
|
3400
3461
|
|
|
3401
|
-
export interface
|
|
3462
|
+
export interface UnionMember63 {
|
|
3402
3463
|
account_id?: string;
|
|
3403
3464
|
|
|
3404
3465
|
account_url?: string;
|
|
@@ -3456,7 +3517,7 @@ export namespace LinkCreateParams {
|
|
|
3456
3517
|
[k: string]: unknown;
|
|
3457
3518
|
}
|
|
3458
3519
|
|
|
3459
|
-
export interface
|
|
3520
|
+
export interface UnionMember64 {
|
|
3460
3521
|
/**
|
|
3461
3522
|
* Dynamically registered client ID
|
|
3462
3523
|
*/
|
|
@@ -3536,7 +3597,7 @@ export namespace LinkCreateParams {
|
|
|
3536
3597
|
[k: string]: unknown;
|
|
3537
3598
|
}
|
|
3538
3599
|
|
|
3539
|
-
export interface
|
|
3600
|
+
export interface UnionMember65 {
|
|
3540
3601
|
access_token: string;
|
|
3541
3602
|
|
|
3542
3603
|
/**
|
|
@@ -3620,7 +3681,7 @@ export namespace LinkCreateParams {
|
|
|
3620
3681
|
[k: string]: unknown;
|
|
3621
3682
|
}
|
|
3622
3683
|
|
|
3623
|
-
export interface
|
|
3684
|
+
export interface UnionMember66 {
|
|
3624
3685
|
access_token: string;
|
|
3625
3686
|
|
|
3626
3687
|
/**
|
|
@@ -3704,7 +3765,7 @@ export namespace LinkCreateParams {
|
|
|
3704
3765
|
[k: string]: unknown;
|
|
3705
3766
|
}
|
|
3706
3767
|
|
|
3707
|
-
export interface
|
|
3768
|
+
export interface UnionMember67 {
|
|
3708
3769
|
account_id?: string;
|
|
3709
3770
|
|
|
3710
3771
|
account_url?: string;
|
|
@@ -3766,7 +3827,7 @@ export namespace LinkCreateParams {
|
|
|
3766
3827
|
[k: string]: unknown;
|
|
3767
3828
|
}
|
|
3768
3829
|
|
|
3769
|
-
export interface
|
|
3830
|
+
export interface UnionMember68 {
|
|
3770
3831
|
account_id?: string;
|
|
3771
3832
|
|
|
3772
3833
|
account_url?: string;
|
|
@@ -3826,7 +3887,7 @@ export namespace LinkCreateParams {
|
|
|
3826
3887
|
[k: string]: unknown;
|
|
3827
3888
|
}
|
|
3828
3889
|
|
|
3829
|
-
export interface
|
|
3890
|
+
export interface UnionMember69 {
|
|
3830
3891
|
account_id?: string;
|
|
3831
3892
|
|
|
3832
3893
|
account_url?: string;
|
|
@@ -3874,7 +3935,7 @@ export namespace LinkCreateParams {
|
|
|
3874
3935
|
[k: string]: unknown;
|
|
3875
3936
|
}
|
|
3876
3937
|
|
|
3877
|
-
export interface
|
|
3938
|
+
export interface UnionMember70 {
|
|
3878
3939
|
account_id?: string;
|
|
3879
3940
|
|
|
3880
3941
|
account_url?: string;
|
|
@@ -3922,7 +3983,7 @@ export namespace LinkCreateParams {
|
|
|
3922
3983
|
[k: string]: unknown;
|
|
3923
3984
|
}
|
|
3924
3985
|
|
|
3925
|
-
export interface
|
|
3986
|
+
export interface UnionMember71 {
|
|
3926
3987
|
access_token: string;
|
|
3927
3988
|
|
|
3928
3989
|
client_id: string;
|
|
@@ -3984,7 +4045,7 @@ export namespace LinkCreateParams {
|
|
|
3984
4045
|
[k: string]: unknown;
|
|
3985
4046
|
}
|
|
3986
4047
|
|
|
3987
|
-
export interface
|
|
4048
|
+
export interface UnionMember72 {
|
|
3988
4049
|
access_token: string;
|
|
3989
4050
|
|
|
3990
4051
|
client_id: string;
|
|
@@ -4046,7 +4107,7 @@ export namespace LinkCreateParams {
|
|
|
4046
4107
|
[k: string]: unknown;
|
|
4047
4108
|
}
|
|
4048
4109
|
|
|
4049
|
-
export interface
|
|
4110
|
+
export interface UnionMember73 {
|
|
4050
4111
|
account_id?: string;
|
|
4051
4112
|
|
|
4052
4113
|
account_url?: string;
|
|
@@ -4098,7 +4159,7 @@ export namespace LinkCreateParams {
|
|
|
4098
4159
|
[k: string]: unknown;
|
|
4099
4160
|
}
|
|
4100
4161
|
|
|
4101
|
-
export interface
|
|
4162
|
+
export interface UnionMember74 {
|
|
4102
4163
|
account_id?: string;
|
|
4103
4164
|
|
|
4104
4165
|
account_url?: string;
|
|
@@ -18,7 +18,7 @@ export class Tools extends APIResource {
|
|
|
18
18
|
* ```
|
|
19
19
|
*/
|
|
20
20
|
retrieve(id: string, options?: RequestOptions): APIPromise<ToolRetrieveResponse> {
|
|
21
|
-
return this._client.get(path`/api/v3/internal/action_execution/log/${id}`, options);
|
|
21
|
+
return this._client.get(path`/api/v3.1/internal/action_execution/log/${id}`, options);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
/**
|
|
@@ -30,7 +30,7 @@ export class Tools extends APIResource {
|
|
|
30
30
|
* ```
|
|
31
31
|
*/
|
|
32
32
|
list(body: ToolListParams, options?: RequestOptions): APIPromise<ToolListResponse> {
|
|
33
|
-
return this._client.post('/api/v3/internal/action_execution/logs', { body, ...options });
|
|
33
|
+
return this._client.post('/api/v3.1/internal/action_execution/logs', { body, ...options });
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
|
|
@@ -18,7 +18,7 @@ export class Triggers extends APIResource {
|
|
|
18
18
|
* ```
|
|
19
19
|
*/
|
|
20
20
|
retrieve(id: string, options?: RequestOptions): APIPromise<TriggerRetrieveResponse> {
|
|
21
|
-
return this._client.get(path`/api/v3/internal/trigger/log/${id}`, options);
|
|
21
|
+
return this._client.get(path`/api/v3.1/internal/trigger/log/${id}`, options);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
/**
|
|
@@ -34,7 +34,7 @@ export class Triggers extends APIResource {
|
|
|
34
34
|
body: TriggerListParams | null | undefined = {},
|
|
35
35
|
options?: RequestOptions,
|
|
36
36
|
): APIPromise<TriggerListResponse> {
|
|
37
|
-
return this._client.post('/api/v3/internal/trigger/logs', { body, ...options });
|
|
37
|
+
return this._client.post('/api/v3.1/internal/trigger/logs', { body, ...options });
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -23,7 +23,7 @@ export class Custom extends APIResource {
|
|
|
23
23
|
* ```
|
|
24
24
|
*/
|
|
25
25
|
create(body: CustomCreateParams, options?: RequestOptions): APIPromise<CustomCreateResponse> {
|
|
26
|
-
return this._client.post('/api/v3/mcp/servers/custom', { body, ...options });
|
|
26
|
+
return this._client.post('/api/v3.1/mcp/servers/custom', { body, ...options });
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -26,7 +26,7 @@ export class Generate extends APIResource {
|
|
|
26
26
|
* ```
|
|
27
27
|
*/
|
|
28
28
|
url(body: GenerateURLParams, options?: RequestOptions): APIPromise<GenerateURLResponse> {
|
|
29
|
-
return this._client.post('/api/v3/mcp/servers/generate', { body, ...options });
|
|
29
|
+
return this._client.post('/api/v3.1/mcp/servers/generate', { body, ...options });
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
|
package/src/resources/mcp/mcp.ts
CHANGED
|
@@ -32,7 +32,7 @@ export class Mcp extends APIResource {
|
|
|
32
32
|
* ```
|
|
33
33
|
*/
|
|
34
34
|
create(body: McpCreateParams, options?: RequestOptions): APIPromise<McpCreateResponse> {
|
|
35
|
-
return this._client.post('/api/v3/mcp/servers', { body, ...options });
|
|
35
|
+
return this._client.post('/api/v3.1/mcp/servers', { body, ...options });
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
/**
|
|
@@ -48,7 +48,7 @@ export class Mcp extends APIResource {
|
|
|
48
48
|
* ```
|
|
49
49
|
*/
|
|
50
50
|
retrieve(id: string, options?: RequestOptions): APIPromise<McpRetrieveResponse> {
|
|
51
|
-
return this._client.get(path`/api/v3/mcp/${id}`, options);
|
|
51
|
+
return this._client.get(path`/api/v3.1/mcp/${id}`, options);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/**
|
|
@@ -69,7 +69,7 @@ export class Mcp extends APIResource {
|
|
|
69
69
|
body: McpUpdateParams | null | undefined = {},
|
|
70
70
|
options?: RequestOptions,
|
|
71
71
|
): APIPromise<McpUpdateResponse> {
|
|
72
|
-
return this._client.patch(path`/api/v3/mcp/${id}`, { body, ...options });
|
|
72
|
+
return this._client.patch(path`/api/v3.1/mcp/${id}`, { body, ...options });
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
/**
|
|
@@ -85,7 +85,7 @@ export class Mcp extends APIResource {
|
|
|
85
85
|
* ```
|
|
86
86
|
*/
|
|
87
87
|
list(query: McpListParams | null | undefined = {}, options?: RequestOptions): APIPromise<McpListResponse> {
|
|
88
|
-
return this._client.get('/api/v3/mcp/servers', { query, ...options });
|
|
88
|
+
return this._client.get('/api/v3.1/mcp/servers', { query, ...options });
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
/**
|
|
@@ -102,7 +102,7 @@ export class Mcp extends APIResource {
|
|
|
102
102
|
* ```
|
|
103
103
|
*/
|
|
104
104
|
delete(id: string, options?: RequestOptions): APIPromise<McpDeleteResponse> {
|
|
105
|
-
return this._client.delete(path`/api/v3/mcp/${id}`, options);
|
|
105
|
+
return this._client.delete(path`/api/v3.1/mcp/${id}`, options);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
/**
|
|
@@ -121,7 +121,7 @@ export class Mcp extends APIResource {
|
|
|
121
121
|
query: McpRetrieveAppParams | null | undefined = {},
|
|
122
122
|
options?: RequestOptions,
|
|
123
123
|
): APIPromise<McpRetrieveAppResponse> {
|
|
124
|
-
return this._client.get(path`/api/v3/mcp/app/${appKey}`, { query, ...options });
|
|
124
|
+
return this._client.get(path`/api/v3.1/mcp/app/${appKey}`, { query, ...options });
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
|
|
@@ -17,7 +17,7 @@ export class Migration extends APIResource {
|
|
|
17
17
|
query: MigrationRetrieveNanoidParams,
|
|
18
18
|
options?: RequestOptions,
|
|
19
19
|
): APIPromise<MigrationRetrieveNanoidResponse> {
|
|
20
|
-
return this._client.get('/api/v3/migration/get-nanoid', { query, ...options });
|
|
20
|
+
return this._client.get('/api/v3.1/migration/get-nanoid', { query, ...options });
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|