@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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.69 (2026-05-05)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.68...v0.1.0-alpha.69](https://github.com/ComposioHQ/composio-base-ts/compare/v0.1.0-alpha.68...v0.1.0-alpha.69)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([099771f](https://github.com/ComposioHQ/composio-base-ts/commit/099771f8bcdacc439c8de3c58767da653a5ceb0a))
|
|
10
|
+
* **api:** manual updates ([de50413](https://github.com/ComposioHQ/composio-base-ts/commit/de5041354b01edb5ed9d20891e0860ca41bb95e8))
|
|
11
|
+
* **api:** v3.1 ([e5da83d](https://github.com/ComposioHQ/composio-base-ts/commit/e5da83d4c4a5aeceea36b11390c8f57cc5545c44))
|
|
12
|
+
|
|
3
13
|
## 0.1.0-alpha.68 (2026-04-30)
|
|
4
14
|
|
|
5
15
|
Full Changelog: [v0.1.0-alpha.67...v0.1.0-alpha.68](https://github.com/ComposioHQ/composio-base-ts/compare/v0.1.0-alpha.67...v0.1.0-alpha.68)
|
package/package.json
CHANGED
|
@@ -22,7 +22,7 @@ class AuthConfigs extends resource_1.APIResource {
|
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
24
|
create(body, options) {
|
|
25
|
-
return this._client.post('/api/v3/auth_configs', { body, ...options });
|
|
25
|
+
return this._client.post('/api/v3.1/auth_configs', { body, ...options });
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Retrieves detailed information about a specific authentication configuration
|
|
@@ -36,7 +36,7 @@ class AuthConfigs extends resource_1.APIResource {
|
|
|
36
36
|
* ```
|
|
37
37
|
*/
|
|
38
38
|
retrieve(nanoid, options) {
|
|
39
|
-
return this._client.get((0, path_1.path) `/api/v3/auth_configs/${nanoid}`, options);
|
|
39
|
+
return this._client.get((0, path_1.path) `/api/v3.1/auth_configs/${nanoid}`, options);
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
42
|
* Modifies an existing authentication configuration with new credentials or other
|
|
@@ -51,7 +51,7 @@ class AuthConfigs extends resource_1.APIResource {
|
|
|
51
51
|
* ```
|
|
52
52
|
*/
|
|
53
53
|
update(nanoid, body, options) {
|
|
54
|
-
return this._client.patch((0, path_1.path) `/api/v3/auth_configs/${nanoid}`, { body, ...options });
|
|
54
|
+
return this._client.patch((0, path_1.path) `/api/v3.1/auth_configs/${nanoid}`, { body, ...options });
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
57
|
* Retrieves all auth configs for your project. Auth configs define how users
|
|
@@ -65,7 +65,7 @@ class AuthConfigs extends resource_1.APIResource {
|
|
|
65
65
|
* ```
|
|
66
66
|
*/
|
|
67
67
|
list(query = {}, options) {
|
|
68
|
-
return this._client.get('/api/v3/auth_configs', { query, ...options });
|
|
68
|
+
return this._client.get('/api/v3.1/auth_configs', { query, ...options });
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
71
|
* Soft-deletes an authentication configuration by marking it as deleted in the
|
|
@@ -79,7 +79,7 @@ class AuthConfigs extends resource_1.APIResource {
|
|
|
79
79
|
* ```
|
|
80
80
|
*/
|
|
81
81
|
delete(nanoid, options) {
|
|
82
|
-
return this._client.delete((0, path_1.path) `/api/v3/auth_configs/${nanoid}`, options);
|
|
82
|
+
return this._client.delete((0, path_1.path) `/api/v3.1/auth_configs/${nanoid}`, options);
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
85
|
* Updates the status of an authentication configuration to either enabled or
|
|
@@ -95,7 +95,7 @@ class AuthConfigs extends resource_1.APIResource {
|
|
|
95
95
|
*/
|
|
96
96
|
updateStatus(status, params, options) {
|
|
97
97
|
const { nanoid } = params;
|
|
98
|
-
return this._client.patch((0, path_1.path) `/api/v3/auth_configs/${nanoid}/${status}`, options);
|
|
98
|
+
return this._client.patch((0, path_1.path) `/api/v3.1/auth_configs/${nanoid}/${status}`, options);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
exports.AuthConfigs = AuthConfigs;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-configs.js","sourceRoot":"","sources":["../src/resources/auth-configs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C;;GAEG;AACH,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"auth-configs.js","sourceRoot":"","sources":["../src/resources/auth-configs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C;;GAEG;AACH,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,MAAc,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,0BAA0B,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,MAAc,EAAE,IAA4B,EAAE,OAAwB;QAC3E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,0BAA0B,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wBAAwB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,MAAc,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,0BAA0B,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,YAAY,CACV,MAA8B,EAC9B,MAAoC,EACpC,OAAwB;QAExB,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,0BAA0B,MAAM,IAAI,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;CACF;AAtGD,kCAsGC"}
|
|
@@ -19,7 +19,7 @@ export class AuthConfigs extends APIResource {
|
|
|
19
19
|
* ```
|
|
20
20
|
*/
|
|
21
21
|
create(body, options) {
|
|
22
|
-
return this._client.post('/api/v3/auth_configs', { body, ...options });
|
|
22
|
+
return this._client.post('/api/v3.1/auth_configs', { body, ...options });
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* Retrieves detailed information about a specific authentication configuration
|
|
@@ -33,7 +33,7 @@ export class AuthConfigs extends APIResource {
|
|
|
33
33
|
* ```
|
|
34
34
|
*/
|
|
35
35
|
retrieve(nanoid, options) {
|
|
36
|
-
return this._client.get(path `/api/v3/auth_configs/${nanoid}`, options);
|
|
36
|
+
return this._client.get(path `/api/v3.1/auth_configs/${nanoid}`, options);
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Modifies an existing authentication configuration with new credentials or other
|
|
@@ -48,7 +48,7 @@ export class AuthConfigs extends APIResource {
|
|
|
48
48
|
* ```
|
|
49
49
|
*/
|
|
50
50
|
update(nanoid, body, options) {
|
|
51
|
-
return this._client.patch(path `/api/v3/auth_configs/${nanoid}`, { body, ...options });
|
|
51
|
+
return this._client.patch(path `/api/v3.1/auth_configs/${nanoid}`, { body, ...options });
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
54
|
* Retrieves all auth configs for your project. Auth configs define how users
|
|
@@ -62,7 +62,7 @@ export class AuthConfigs extends APIResource {
|
|
|
62
62
|
* ```
|
|
63
63
|
*/
|
|
64
64
|
list(query = {}, options) {
|
|
65
|
-
return this._client.get('/api/v3/auth_configs', { query, ...options });
|
|
65
|
+
return this._client.get('/api/v3.1/auth_configs', { query, ...options });
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
68
|
* Soft-deletes an authentication configuration by marking it as deleted in the
|
|
@@ -76,7 +76,7 @@ export class AuthConfigs extends APIResource {
|
|
|
76
76
|
* ```
|
|
77
77
|
*/
|
|
78
78
|
delete(nanoid, options) {
|
|
79
|
-
return this._client.delete(path `/api/v3/auth_configs/${nanoid}`, options);
|
|
79
|
+
return this._client.delete(path `/api/v3.1/auth_configs/${nanoid}`, options);
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
82
|
* Updates the status of an authentication configuration to either enabled or
|
|
@@ -92,7 +92,7 @@ export class AuthConfigs extends APIResource {
|
|
|
92
92
|
*/
|
|
93
93
|
updateStatus(status, params, options) {
|
|
94
94
|
const { nanoid } = params;
|
|
95
|
-
return this._client.patch(path `/api/v3/auth_configs/${nanoid}/${status}`, options);
|
|
95
|
+
return this._client.patch(path `/api/v3.1/auth_configs/${nanoid}/${status}`, options);
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
//# sourceMappingURL=auth-configs.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-configs.mjs","sourceRoot":"","sources":["../src/resources/auth-configs.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"auth-configs.mjs","sourceRoot":"","sources":["../src/resources/auth-configs.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,MAAc,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,0BAA0B,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,MAAc,EAAE,IAA4B,EAAE,OAAwB;QAC3E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,0BAA0B,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wBAAwB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,MAAc,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,0BAA0B,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,YAAY,CACV,MAA8B,EAC9B,MAAoC,EACpC,OAAwB;QAExB,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,0BAA0B,MAAM,IAAI,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;CACF"}
|
package/resources/cli/cli.js
CHANGED
|
@@ -19,7 +19,7 @@ class Cli extends resource_1.APIResource {
|
|
|
19
19
|
* Optionally accepts a scope ('project' or 'user') and a source string.
|
|
20
20
|
*/
|
|
21
21
|
createSession(body = {}, options) {
|
|
22
|
-
return this._client.post('/api/v3/cli/create-session', { body, ...options });
|
|
22
|
+
return this._client.post('/api/v3.1/cli/create-session', { body, ...options });
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* Retrieves the current state of a CLI session using either the session ID (UUID)
|
|
@@ -28,7 +28,7 @@ class Cli extends resource_1.APIResource {
|
|
|
28
28
|
* details before linking.
|
|
29
29
|
*/
|
|
30
30
|
getSession(query, options) {
|
|
31
|
-
return this._client.get('/api/v3/cli/get-session', { query, ...options });
|
|
31
|
+
return this._client.get('/api/v3.1/cli/get-session', { query, ...options });
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
exports.Cli = Cli;
|
package/resources/cli/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../../src/resources/cli/cli.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,mEAA0C;AAC1C,4CAA6G;AAI7G,MAAa,GAAI,SAAQ,sBAAW;IAApC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAyB1E,CAAC;IAvBC;;;;;;OAMG;IACH,aAAa,CACX,OAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../../src/resources/cli/cli.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,mEAA0C;AAC1C,4CAA6G;AAI7G,MAAa,GAAI,SAAQ,sBAAW;IAApC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAyB1E,CAAC;IAvBC;;;;;;OAMG;IACH,aAAa,CACX,OAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;;;OAKG;IACH,UAAU,CAAC,KAA0B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;CACF;AA1BD,kBA0BC;AAgHD,GAAG,CAAC,QAAQ,GAAG,mBAAQ,CAAC"}
|
package/resources/cli/cli.mjs
CHANGED
|
@@ -15,7 +15,7 @@ export class Cli extends APIResource {
|
|
|
15
15
|
* Optionally accepts a scope ('project' or 'user') and a source string.
|
|
16
16
|
*/
|
|
17
17
|
createSession(body = {}, options) {
|
|
18
|
-
return this._client.post('/api/v3/cli/create-session', { body, ...options });
|
|
18
|
+
return this._client.post('/api/v3.1/cli/create-session', { body, ...options });
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Retrieves the current state of a CLI session using either the session ID (UUID)
|
|
@@ -24,7 +24,7 @@ export class Cli extends APIResource {
|
|
|
24
24
|
* details before linking.
|
|
25
25
|
*/
|
|
26
26
|
getSession(query, options) {
|
|
27
|
-
return this._client.get('/api/v3/cli/get-session', { query, ...options });
|
|
27
|
+
return this._client.get('/api/v3.1/cli/get-session', { query, ...options });
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
Cli.Realtime = Realtime;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.mjs","sourceRoot":"","sources":["../../src/resources/cli/cli.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAAE,QAAQ,EAAyE;AAI1F,MAAM,OAAO,GAAI,SAAQ,WAAW;IAApC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAyB1E,CAAC;IAvBC;;;;;;OAMG;IACH,aAAa,CACX,OAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"cli.mjs","sourceRoot":"","sources":["../../src/resources/cli/cli.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAAE,QAAQ,EAAyE;AAI1F,MAAM,OAAO,GAAI,SAAQ,WAAW;IAApC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAyB1E,CAAC;IAvBC;;;;;;OAMG;IACH,aAAa,CACX,OAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;;;OAKG;IACH,UAAU,CAAC,KAA0B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;CACF;AAgHD,GAAG,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
|
|
@@ -11,14 +11,14 @@ class Realtime extends resource_1.APIResource {
|
|
|
11
11
|
* Authenticate CLI client access to a private-cli-{nanoId} Pusher channel
|
|
12
12
|
*/
|
|
13
13
|
auth(body, options) {
|
|
14
|
-
return this._client.post('/api/v3/cli/realtime/auth', { body, ...options });
|
|
14
|
+
return this._client.post('/api/v3.1/cli/realtime/auth', { body, ...options });
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* Get the Pusher key and project nanoId for the CLI realtime trigger channel. The
|
|
18
18
|
* CLI subscribes to private-cli-{project_id}.
|
|
19
19
|
*/
|
|
20
20
|
credentials(options) {
|
|
21
|
-
return this._client.get('/api/v3/cli/realtime/credentials', options);
|
|
21
|
+
return this._client.get('/api/v3.1/cli/realtime/credentials', options);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
exports.Realtime = Realtime;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"realtime.js","sourceRoot":"","sources":["../../src/resources/cli/realtime.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD;;GAEG;AACH,MAAa,QAAS,SAAQ,sBAAW;IACvC;;OAEG;IACH,IAAI,CAAC,IAAwB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"realtime.js","sourceRoot":"","sources":["../../src/resources/cli/realtime.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD;;GAEG;AACH,MAAa,QAAS,SAAQ,sBAAW;IACvC;;OAEG;IACH,IAAI,CAAC,IAAwB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;OAGG;IACH,WAAW,CAAC,OAAwB;QAClC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oCAAoC,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;CACF;AAfD,4BAeC"}
|
|
@@ -8,14 +8,14 @@ export class Realtime extends APIResource {
|
|
|
8
8
|
* Authenticate CLI client access to a private-cli-{nanoId} Pusher channel
|
|
9
9
|
*/
|
|
10
10
|
auth(body, options) {
|
|
11
|
-
return this._client.post('/api/v3/cli/realtime/auth', { body, ...options });
|
|
11
|
+
return this._client.post('/api/v3.1/cli/realtime/auth', { body, ...options });
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* Get the Pusher key and project nanoId for the CLI realtime trigger channel. The
|
|
15
15
|
* CLI subscribes to private-cli-{project_id}.
|
|
16
16
|
*/
|
|
17
17
|
credentials(options) {
|
|
18
|
-
return this._client.get('/api/v3/cli/realtime/credentials', options);
|
|
18
|
+
return this._client.get('/api/v3.1/cli/realtime/credentials', options);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
//# sourceMappingURL=realtime.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"realtime.mjs","sourceRoot":"","sources":["../../src/resources/cli/realtime.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB;;GAEG;AACH,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,IAAI,CAAC,IAAwB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"realtime.mjs","sourceRoot":"","sources":["../../src/resources/cli/realtime.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB;;GAEG;AACH,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,IAAI,CAAC,IAAwB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;OAGG;IACH,WAAW,CAAC,OAAwB;QAClC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oCAAoC,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;CACF"}
|
|
@@ -12,6 +12,15 @@ export declare class ConnectedAccounts extends APIResource {
|
|
|
12
12
|
* the `user_id` field to associate the connection with a specific user in your
|
|
13
13
|
* system.
|
|
14
14
|
*
|
|
15
|
+
* **Deprecated for Composio-managed OAuth:** For Composio-managed auth configs on
|
|
16
|
+
* OAuth1, OAuth2, or DCR_OAUTH schemes, this endpoint is being retired and will
|
|
17
|
+
* start returning `400 BadRequest` on **2026-05-08** for new organizations and
|
|
18
|
+
* **2026-07-03** for all remaining organizations. Migrate those calls to
|
|
19
|
+
* `POST /api/v3/connected_accounts/link`. Custom auth configs and non-OAuth
|
|
20
|
+
* schemes (API key, bearer, basic) continue to be supported here. Responses on the
|
|
21
|
+
* retiring path carry a `Deprecation` header (RFC 9745) and a `Sunset` header
|
|
22
|
+
* (RFC 8594) for client-side detection.
|
|
23
|
+
*
|
|
15
24
|
* @example
|
|
16
25
|
* ```ts
|
|
17
26
|
* const connectedAccount =
|
|
@@ -135,7 +144,7 @@ export interface ConnectedAccountCreateResponse {
|
|
|
135
144
|
/**
|
|
136
145
|
* @deprecated DEPRECATED: This field will be removed in a future version
|
|
137
146
|
*/
|
|
138
|
-
status: 'INITIALIZING' | 'INITIATED' | 'ACTIVE' | 'FAILED' | 'EXPIRED' | 'INACTIVE';
|
|
147
|
+
status: 'INITIALIZING' | 'INITIATED' | 'ACTIVE' | 'FAILED' | 'EXPIRED' | 'INACTIVE' | 'REVOKED';
|
|
139
148
|
}
|
|
140
149
|
export declare namespace ConnectedAccountCreateResponse {
|
|
141
150
|
interface UnionMember0 {
|
|
@@ -322,7 +331,7 @@ export declare namespace ConnectedAccountCreateResponse {
|
|
|
322
331
|
}
|
|
323
332
|
interface UnionMember1 {
|
|
324
333
|
authScheme: 'OAUTH2';
|
|
325
|
-
val: UnionMember1.UnionMember0 | UnionMember1.UnionMember1 | UnionMember1.UnionMember2 | UnionMember1.UnionMember3 | UnionMember1.UnionMember4 | UnionMember1.UnionMember5;
|
|
334
|
+
val: UnionMember1.UnionMember0 | UnionMember1.UnionMember1 | UnionMember1.UnionMember2 | UnionMember1.UnionMember3 | UnionMember1.UnionMember4 | UnionMember1.UnionMember5 | UnionMember1.UnionMember6;
|
|
326
335
|
}
|
|
327
336
|
namespace UnionMember1 {
|
|
328
337
|
interface UnionMember0 {
|
|
@@ -577,6 +586,41 @@ export declare namespace ConnectedAccountCreateResponse {
|
|
|
577
586
|
'your-domain'?: string;
|
|
578
587
|
[k: string]: unknown;
|
|
579
588
|
}
|
|
589
|
+
interface UnionMember6 {
|
|
590
|
+
status: 'REVOKED';
|
|
591
|
+
account_id?: string;
|
|
592
|
+
account_url?: string;
|
|
593
|
+
api_url?: string;
|
|
594
|
+
base_url?: string;
|
|
595
|
+
borneo_dashboard_url?: string;
|
|
596
|
+
COMPANYDOMAIN?: string;
|
|
597
|
+
dc?: string;
|
|
598
|
+
domain?: string;
|
|
599
|
+
extension?: string;
|
|
600
|
+
form_api_base_url?: string;
|
|
601
|
+
instanceEndpoint?: string;
|
|
602
|
+
instanceName?: string;
|
|
603
|
+
/**
|
|
604
|
+
* Whether to return the redirect url without shortening
|
|
605
|
+
*/
|
|
606
|
+
long_redirect_url?: boolean;
|
|
607
|
+
proxy_password?: string;
|
|
608
|
+
proxy_username?: string;
|
|
609
|
+
region?: string;
|
|
610
|
+
revoked_at?: string;
|
|
611
|
+
server_location?: string;
|
|
612
|
+
shop?: string;
|
|
613
|
+
site_name?: string;
|
|
614
|
+
/**
|
|
615
|
+
* The oauth2 state prefix for the connection
|
|
616
|
+
*/
|
|
617
|
+
state_prefix?: string;
|
|
618
|
+
subdomain?: string;
|
|
619
|
+
version?: string;
|
|
620
|
+
your_server?: string;
|
|
621
|
+
'your-domain'?: string;
|
|
622
|
+
[k: string]: unknown;
|
|
623
|
+
}
|
|
580
624
|
}
|
|
581
625
|
interface UnionMember2 {
|
|
582
626
|
authScheme: 'API_KEY';
|
|
@@ -2481,12 +2525,14 @@ export interface ConnectedAccountRetrieveResponse {
|
|
|
2481
2525
|
/**
|
|
2482
2526
|
* The status of the connection
|
|
2483
2527
|
*/
|
|
2484
|
-
status: 'INITIALIZING' | 'INITIATED' | 'ACTIVE' | 'FAILED' | 'EXPIRED' | 'INACTIVE';
|
|
2528
|
+
status: 'INITIALIZING' | 'INITIATED' | 'ACTIVE' | 'FAILED' | 'EXPIRED' | 'INACTIVE' | 'REVOKED';
|
|
2485
2529
|
/**
|
|
2486
2530
|
* The reason the connection status changed. Possible reasons: Connection
|
|
2487
2531
|
* initiation did not complete within 10 minutes, Permanent auth error during token
|
|
2488
2532
|
* refresh, Max auth failures reached, OAuth callback failed during token exchange,
|
|
2489
|
-
* Connection status updated by user, Auth config is disabled
|
|
2533
|
+
* Connection status updated by user, Auth config is disabled, Revoked via
|
|
2534
|
+
* user-initiated revoke endpoint, Revoked via admin tool, Revoked as part of
|
|
2535
|
+
* connection delete
|
|
2490
2536
|
*/
|
|
2491
2537
|
status_reason: string | null;
|
|
2492
2538
|
toolkit: ConnectedAccountRetrieveResponse.Toolkit;
|
|
@@ -2731,7 +2777,7 @@ export declare namespace ConnectedAccountRetrieveResponse {
|
|
|
2731
2777
|
}
|
|
2732
2778
|
interface UnionMember1 {
|
|
2733
2779
|
authScheme: 'OAUTH2';
|
|
2734
|
-
val: UnionMember1.UnionMember0 | UnionMember1.UnionMember1 | UnionMember1.UnionMember2 | UnionMember1.UnionMember3 | UnionMember1.UnionMember4 | UnionMember1.UnionMember5;
|
|
2780
|
+
val: UnionMember1.UnionMember0 | UnionMember1.UnionMember1 | UnionMember1.UnionMember2 | UnionMember1.UnionMember3 | UnionMember1.UnionMember4 | UnionMember1.UnionMember5 | UnionMember1.UnionMember6;
|
|
2735
2781
|
}
|
|
2736
2782
|
namespace UnionMember1 {
|
|
2737
2783
|
interface UnionMember0 {
|
|
@@ -2986,6 +3032,41 @@ export declare namespace ConnectedAccountRetrieveResponse {
|
|
|
2986
3032
|
'your-domain'?: string;
|
|
2987
3033
|
[k: string]: unknown;
|
|
2988
3034
|
}
|
|
3035
|
+
interface UnionMember6 {
|
|
3036
|
+
status: 'REVOKED';
|
|
3037
|
+
account_id?: string;
|
|
3038
|
+
account_url?: string;
|
|
3039
|
+
api_url?: string;
|
|
3040
|
+
base_url?: string;
|
|
3041
|
+
borneo_dashboard_url?: string;
|
|
3042
|
+
COMPANYDOMAIN?: string;
|
|
3043
|
+
dc?: string;
|
|
3044
|
+
domain?: string;
|
|
3045
|
+
extension?: string;
|
|
3046
|
+
form_api_base_url?: string;
|
|
3047
|
+
instanceEndpoint?: string;
|
|
3048
|
+
instanceName?: string;
|
|
3049
|
+
/**
|
|
3050
|
+
* Whether to return the redirect url without shortening
|
|
3051
|
+
*/
|
|
3052
|
+
long_redirect_url?: boolean;
|
|
3053
|
+
proxy_password?: string;
|
|
3054
|
+
proxy_username?: string;
|
|
3055
|
+
region?: string;
|
|
3056
|
+
revoked_at?: string;
|
|
3057
|
+
server_location?: string;
|
|
3058
|
+
shop?: string;
|
|
3059
|
+
site_name?: string;
|
|
3060
|
+
/**
|
|
3061
|
+
* The oauth2 state prefix for the connection
|
|
3062
|
+
*/
|
|
3063
|
+
state_prefix?: string;
|
|
3064
|
+
subdomain?: string;
|
|
3065
|
+
version?: string;
|
|
3066
|
+
your_server?: string;
|
|
3067
|
+
'your-domain'?: string;
|
|
3068
|
+
[k: string]: unknown;
|
|
3069
|
+
}
|
|
2989
3070
|
}
|
|
2990
3071
|
interface UnionMember2 {
|
|
2991
3072
|
authScheme: 'API_KEY';
|
|
@@ -4896,12 +4977,14 @@ export declare namespace ConnectedAccountListResponse {
|
|
|
4896
4977
|
/**
|
|
4897
4978
|
* The status of the connection
|
|
4898
4979
|
*/
|
|
4899
|
-
status: 'INITIALIZING' | 'INITIATED' | 'ACTIVE' | 'FAILED' | 'EXPIRED' | 'INACTIVE';
|
|
4980
|
+
status: 'INITIALIZING' | 'INITIATED' | 'ACTIVE' | 'FAILED' | 'EXPIRED' | 'INACTIVE' | 'REVOKED';
|
|
4900
4981
|
/**
|
|
4901
4982
|
* The reason the connection status changed. Possible reasons: Connection
|
|
4902
4983
|
* initiation did not complete within 10 minutes, Permanent auth error during token
|
|
4903
4984
|
* refresh, Max auth failures reached, OAuth callback failed during token exchange,
|
|
4904
|
-
* Connection status updated by user, Auth config is disabled
|
|
4985
|
+
* Connection status updated by user, Auth config is disabled, Revoked via
|
|
4986
|
+
* user-initiated revoke endpoint, Revoked via admin tool, Revoked as part of
|
|
4987
|
+
* connection delete
|
|
4905
4988
|
*/
|
|
4906
4989
|
status_reason: string | null;
|
|
4907
4990
|
toolkit: Item.Toolkit;
|
|
@@ -5146,7 +5229,7 @@ export declare namespace ConnectedAccountListResponse {
|
|
|
5146
5229
|
}
|
|
5147
5230
|
interface UnionMember1 {
|
|
5148
5231
|
authScheme: 'OAUTH2';
|
|
5149
|
-
val: UnionMember1.UnionMember0 | UnionMember1.UnionMember1 | UnionMember1.UnionMember2 | UnionMember1.UnionMember3 | UnionMember1.UnionMember4 | UnionMember1.UnionMember5;
|
|
5232
|
+
val: UnionMember1.UnionMember0 | UnionMember1.UnionMember1 | UnionMember1.UnionMember2 | UnionMember1.UnionMember3 | UnionMember1.UnionMember4 | UnionMember1.UnionMember5 | UnionMember1.UnionMember6;
|
|
5150
5233
|
}
|
|
5151
5234
|
namespace UnionMember1 {
|
|
5152
5235
|
interface UnionMember0 {
|
|
@@ -5401,6 +5484,41 @@ export declare namespace ConnectedAccountListResponse {
|
|
|
5401
5484
|
'your-domain'?: string;
|
|
5402
5485
|
[k: string]: unknown;
|
|
5403
5486
|
}
|
|
5487
|
+
interface UnionMember6 {
|
|
5488
|
+
status: 'REVOKED';
|
|
5489
|
+
account_id?: string;
|
|
5490
|
+
account_url?: string;
|
|
5491
|
+
api_url?: string;
|
|
5492
|
+
base_url?: string;
|
|
5493
|
+
borneo_dashboard_url?: string;
|
|
5494
|
+
COMPANYDOMAIN?: string;
|
|
5495
|
+
dc?: string;
|
|
5496
|
+
domain?: string;
|
|
5497
|
+
extension?: string;
|
|
5498
|
+
form_api_base_url?: string;
|
|
5499
|
+
instanceEndpoint?: string;
|
|
5500
|
+
instanceName?: string;
|
|
5501
|
+
/**
|
|
5502
|
+
* Whether to return the redirect url without shortening
|
|
5503
|
+
*/
|
|
5504
|
+
long_redirect_url?: boolean;
|
|
5505
|
+
proxy_password?: string;
|
|
5506
|
+
proxy_username?: string;
|
|
5507
|
+
region?: string;
|
|
5508
|
+
revoked_at?: string;
|
|
5509
|
+
server_location?: string;
|
|
5510
|
+
shop?: string;
|
|
5511
|
+
site_name?: string;
|
|
5512
|
+
/**
|
|
5513
|
+
* The oauth2 state prefix for the connection
|
|
5514
|
+
*/
|
|
5515
|
+
state_prefix?: string;
|
|
5516
|
+
subdomain?: string;
|
|
5517
|
+
version?: string;
|
|
5518
|
+
your_server?: string;
|
|
5519
|
+
'your-domain'?: string;
|
|
5520
|
+
[k: string]: unknown;
|
|
5521
|
+
}
|
|
5404
5522
|
}
|
|
5405
5523
|
interface UnionMember2 {
|
|
5406
5524
|
authScheme: 'API_KEY';
|
|
@@ -7313,7 +7431,7 @@ export interface ConnectedAccountRefreshResponse {
|
|
|
7313
7431
|
/**
|
|
7314
7432
|
* The current status of the connected account (e.g., active, pending, failed)
|
|
7315
7433
|
*/
|
|
7316
|
-
status: 'INITIALIZING' | 'INITIATED' | 'ACTIVE' | 'FAILED' | 'EXPIRED' | 'INACTIVE';
|
|
7434
|
+
status: 'INITIALIZING' | 'INITIATED' | 'ACTIVE' | 'FAILED' | 'EXPIRED' | 'INACTIVE' | 'REVOKED';
|
|
7317
7435
|
}
|
|
7318
7436
|
/**
|
|
7319
7437
|
* Response returned after successfully updating a connected account status
|
|
@@ -7560,7 +7678,7 @@ export declare namespace ConnectedAccountCreateParams {
|
|
|
7560
7678
|
}
|
|
7561
7679
|
interface UnionMember1 {
|
|
7562
7680
|
authScheme: 'OAUTH2';
|
|
7563
|
-
val: UnionMember1.UnionMember0 | UnionMember1.UnionMember1 | UnionMember1.UnionMember2 | UnionMember1.UnionMember3 | UnionMember1.UnionMember4 | UnionMember1.UnionMember5;
|
|
7681
|
+
val: UnionMember1.UnionMember0 | UnionMember1.UnionMember1 | UnionMember1.UnionMember2 | UnionMember1.UnionMember3 | UnionMember1.UnionMember4 | UnionMember1.UnionMember5 | UnionMember1.UnionMember6;
|
|
7564
7682
|
}
|
|
7565
7683
|
namespace UnionMember1 {
|
|
7566
7684
|
interface UnionMember0 {
|
|
@@ -7815,6 +7933,41 @@ export declare namespace ConnectedAccountCreateParams {
|
|
|
7815
7933
|
'your-domain'?: string;
|
|
7816
7934
|
[k: string]: unknown;
|
|
7817
7935
|
}
|
|
7936
|
+
interface UnionMember6 {
|
|
7937
|
+
status: 'REVOKED';
|
|
7938
|
+
account_id?: string;
|
|
7939
|
+
account_url?: string;
|
|
7940
|
+
api_url?: string;
|
|
7941
|
+
base_url?: string;
|
|
7942
|
+
borneo_dashboard_url?: string;
|
|
7943
|
+
COMPANYDOMAIN?: string;
|
|
7944
|
+
dc?: string;
|
|
7945
|
+
domain?: string;
|
|
7946
|
+
extension?: string;
|
|
7947
|
+
form_api_base_url?: string;
|
|
7948
|
+
instanceEndpoint?: string;
|
|
7949
|
+
instanceName?: string;
|
|
7950
|
+
/**
|
|
7951
|
+
* Whether to return the redirect url without shortening
|
|
7952
|
+
*/
|
|
7953
|
+
long_redirect_url?: boolean;
|
|
7954
|
+
proxy_password?: string;
|
|
7955
|
+
proxy_username?: string;
|
|
7956
|
+
region?: string;
|
|
7957
|
+
revoked_at?: string;
|
|
7958
|
+
server_location?: string;
|
|
7959
|
+
shop?: string;
|
|
7960
|
+
site_name?: string;
|
|
7961
|
+
/**
|
|
7962
|
+
* The oauth2 state prefix for the connection
|
|
7963
|
+
*/
|
|
7964
|
+
state_prefix?: string;
|
|
7965
|
+
subdomain?: string;
|
|
7966
|
+
version?: string;
|
|
7967
|
+
your_server?: string;
|
|
7968
|
+
'your-domain'?: string;
|
|
7969
|
+
[k: string]: unknown;
|
|
7970
|
+
}
|
|
7818
7971
|
}
|
|
7819
7972
|
interface UnionMember2 {
|
|
7820
7973
|
authScheme: 'API_KEY';
|
|
@@ -9696,7 +9849,7 @@ export interface ConnectedAccountListParams {
|
|
|
9696
9849
|
/**
|
|
9697
9850
|
* The status of the connected account
|
|
9698
9851
|
*/
|
|
9699
|
-
statuses?: Array<'INITIALIZING' | 'INITIATED' | 'ACTIVE' | 'FAILED' | 'EXPIRED' | 'INACTIVE'> | null;
|
|
9852
|
+
statuses?: Array<'INITIALIZING' | 'INITIATED' | 'ACTIVE' | 'FAILED' | 'EXPIRED' | 'INACTIVE' | 'REVOKED'> | null;
|
|
9700
9853
|
/**
|
|
9701
9854
|
* The toolkit slugs of the connected accounts
|
|
9702
9855
|
*/
|