@composio/client 0.1.0-alpha.36 → 0.1.0-alpha.38
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 +64 -0
- package/client.d.mts +11 -14
- package/client.d.mts.map +1 -1
- package/client.d.ts +11 -14
- package/client.d.ts.map +1 -1
- package/client.js +3 -6
- package/client.js.map +1 -1
- package/client.mjs +5 -8
- package/client.mjs.map +1 -1
- package/internal/to-file.d.mts +1 -1
- package/internal/to-file.d.ts +1 -1
- package/internal/to-file.js +1 -1
- package/internal/to-file.mjs +1 -1
- package/internal/utils/values.js +3 -3
- package/internal/utils/values.js.map +1 -1
- package/internal/utils/values.mjs +3 -3
- package/internal/utils/values.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/auth-configs.d.mts +10 -4
- package/resources/auth-configs.d.mts.map +1 -1
- package/resources/auth-configs.d.ts +10 -4
- package/resources/auth-configs.d.ts.map +1 -1
- package/resources/cli.d.mts +1 -76
- package/resources/cli.d.mts.map +1 -1
- package/resources/cli.d.ts +1 -76
- package/resources/cli.d.ts.map +1 -1
- package/resources/cli.js +0 -28
- package/resources/cli.js.map +1 -1
- package/resources/cli.mjs +0 -28
- package/resources/cli.mjs.map +1 -1
- package/resources/connected-accounts.d.mts +478 -4
- package/resources/connected-accounts.d.mts.map +1 -1
- package/resources/connected-accounts.d.ts +478 -4
- package/resources/connected-accounts.d.ts.map +1 -1
- package/resources/files.d.mts +1 -1
- package/resources/files.d.ts +1 -1
- package/resources/index.d.mts +5 -6
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -6
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -5
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -3
- package/resources/index.mjs.map +1 -1
- package/resources/link.d.mts +1562 -81
- package/resources/link.d.mts.map +1 -1
- package/resources/link.d.ts +1562 -81
- package/resources/link.d.ts.map +1 -1
- package/resources/link.js +0 -13
- package/resources/link.js.map +1 -1
- package/resources/link.mjs +0 -13
- package/resources/link.mjs.map +1 -1
- package/resources/mcp/index.d.mts +1 -1
- package/resources/mcp/index.d.mts.map +1 -1
- package/resources/mcp/index.d.ts +1 -1
- package/resources/mcp/index.d.ts.map +1 -1
- package/resources/mcp/index.js.map +1 -1
- package/resources/mcp/index.mjs.map +1 -1
- package/resources/mcp/mcp.d.mts +1 -95
- package/resources/mcp/mcp.d.mts.map +1 -1
- package/resources/mcp/mcp.d.ts +1 -95
- package/resources/mcp/mcp.d.ts.map +1 -1
- package/resources/mcp/mcp.js +0 -22
- package/resources/mcp/mcp.js.map +1 -1
- package/resources/mcp/mcp.mjs +0 -22
- package/resources/mcp/mcp.mjs.map +1 -1
- package/resources/tool-router.d.mts +87 -0
- package/resources/tool-router.d.mts.map +1 -0
- package/resources/tool-router.d.ts +87 -0
- package/resources/tool-router.d.ts.map +1 -0
- package/resources/tool-router.js +38 -0
- package/resources/tool-router.js.map +1 -0
- package/resources/tool-router.mjs +34 -0
- package/resources/tool-router.mjs.map +1 -0
- package/resources/toolkits.d.mts +21 -3
- package/resources/toolkits.d.mts.map +1 -1
- package/resources/toolkits.d.ts +21 -3
- package/resources/toolkits.d.ts.map +1 -1
- package/resources/toolkits.js +2 -2
- package/resources/toolkits.js.map +1 -1
- package/resources/toolkits.mjs +2 -2
- package/resources/toolkits.mjs.map +1 -1
- package/resources/tools.d.mts +87 -7
- package/resources/tools.d.mts.map +1 -1
- package/resources/tools.d.ts +87 -7
- package/resources/tools.d.ts.map +1 -1
- package/resources/trigger-instances/index.d.mts +0 -1
- package/resources/trigger-instances/index.d.mts.map +1 -1
- package/resources/trigger-instances/index.d.ts +0 -1
- package/resources/trigger-instances/index.d.ts.map +1 -1
- package/resources/trigger-instances/index.js +1 -3
- package/resources/trigger-instances/index.js.map +1 -1
- package/resources/trigger-instances/index.mjs +0 -1
- package/resources/trigger-instances/index.mjs.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.mts +1 -5
- package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.ts +1 -5
- package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.js +0 -4
- package/resources/trigger-instances/trigger-instances.js.map +1 -1
- package/resources/trigger-instances/trigger-instances.mjs +0 -4
- package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
- package/resources/triggers-types.d.mts +11 -2
- package/resources/triggers-types.d.mts.map +1 -1
- package/resources/triggers-types.d.ts +11 -2
- package/resources/triggers-types.d.ts.map +1 -1
- package/src/client.ts +16 -46
- package/src/internal/to-file.ts +1 -1
- package/src/internal/utils/values.ts +3 -3
- package/src/resources/auth-configs.ts +11 -4
- package/src/resources/cli.ts +0 -89
- package/src/resources/connected-accounts.ts +975 -63
- package/src/resources/files.ts +1 -1
- package/src/resources/index.ts +6 -19
- package/src/resources/link.ts +3001 -112
- package/src/resources/mcp/index.ts +0 -2
- package/src/resources/mcp/mcp.ts +0 -123
- package/src/resources/tool-router.ts +107 -0
- package/src/resources/toolkits.ts +30 -3
- package/src/resources/tools.ts +149 -7
- package/src/resources/trigger-instances/index.ts +0 -7
- package/src/resources/trigger-instances/trigger-instances.ts +1 -19
- package/src/resources/triggers-types.ts +13 -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/org/api-key.d.mts +0 -44
- package/resources/org/api-key.d.mts.map +0 -1
- package/resources/org/api-key.d.ts +0 -44
- package/resources/org/api-key.d.ts.map +0 -1
- package/resources/org/api-key.js +0 -34
- package/resources/org/api-key.js.map +0 -1
- package/resources/org/api-key.mjs +0 -30
- package/resources/org/api-key.mjs.map +0 -1
- package/resources/org/index.d.mts +0 -4
- package/resources/org/index.d.mts.map +0 -1
- package/resources/org/index.d.ts +0 -4
- package/resources/org/index.d.ts.map +0 -1
- package/resources/org/index.js +0 -11
- package/resources/org/index.js.map +0 -1
- package/resources/org/index.mjs +0 -5
- package/resources/org/index.mjs.map +0 -1
- package/resources/org/org.d.mts +0 -14
- package/resources/org/org.d.mts.map +0 -1
- package/resources/org/org.d.ts +0 -14
- package/resources/org/org.d.ts.map +0 -1
- package/resources/org/org.js +0 -21
- package/resources/org/org.js.map +0 -1
- package/resources/org/org.mjs +0 -16
- package/resources/org/org.mjs.map +0 -1
- package/resources/org/project/api-keys.d.mts +0 -142
- package/resources/org/project/api-keys.d.mts.map +0 -1
- package/resources/org/project/api-keys.d.ts +0 -142
- package/resources/org/project/api-keys.d.ts.map +0 -1
- package/resources/org/project/api-keys.js +0 -62
- package/resources/org/project/api-keys.js.map +0 -1
- package/resources/org/project/api-keys.mjs +0 -58
- package/resources/org/project/api-keys.mjs.map +0 -1
- package/resources/org/project/index.d.mts +0 -5
- package/resources/org/project/index.d.mts.map +0 -1
- package/resources/org/project/index.d.ts +0 -5
- package/resources/org/project/index.d.ts.map +0 -1
- package/resources/org/project/index.js +0 -13
- package/resources/org/project/index.js.map +0 -1
- package/resources/org/project/index.mjs +0 -6
- package/resources/org/project/index.mjs.map +0 -1
- package/resources/org/project/project.d.mts +0 -268
- package/resources/org/project/project.d.mts.map +0 -1
- package/resources/org/project/project.d.ts +0 -268
- package/resources/org/project/project.d.ts.map +0 -1
- package/resources/org/project/project.js +0 -90
- package/resources/org/project/project.js.map +0 -1
- package/resources/org/project/project.mjs +0 -85
- package/resources/org/project/project.mjs.map +0 -1
- package/resources/org/project/trigger.d.mts +0 -145
- package/resources/org/project/trigger.d.mts.map +0 -1
- package/resources/org/project/trigger.d.ts +0 -145
- package/resources/org/project/trigger.d.ts.map +0 -1
- package/resources/org/project/trigger.js +0 -35
- package/resources/org/project/trigger.js.map +0 -1
- package/resources/org/project/trigger.mjs +0 -31
- package/resources/org/project/trigger.mjs.map +0 -1
- package/resources/org/project/webhook.d.mts +0 -166
- package/resources/org/project/webhook.d.mts.map +0 -1
- package/resources/org/project/webhook.d.ts +0 -166
- package/resources/org/project/webhook.d.ts.map +0 -1
- package/resources/org/project/webhook.js +0 -74
- package/resources/org/project/webhook.js.map +0 -1
- package/resources/org/project/webhook.mjs +0 -70
- package/resources/org/project/webhook.mjs.map +0 -1
- package/resources/org/project.d.mts +0 -2
- package/resources/org/project.d.mts.map +0 -1
- package/resources/org/project.d.ts +0 -2
- package/resources/org/project.d.ts.map +0 -1
- package/resources/org/project.js +0 -6
- package/resources/org/project.js.map +0 -1
- package/resources/org/project.mjs +0 -3
- package/resources/org/project.mjs.map +0 -1
- package/resources/org.d.mts +0 -2
- package/resources/org.d.mts.map +0 -1
- package/resources/org.d.ts +0 -2
- package/resources/org.d.ts.map +0 -1
- package/resources/org.js +0 -6
- package/resources/org.js.map +0 -1
- package/resources/org.mjs +0 -3
- package/resources/org.mjs.map +0 -1
- package/resources/team-members.d.mts +0 -55
- package/resources/team-members.d.mts.map +0 -1
- package/resources/team-members.d.ts +0 -55
- package/resources/team-members.d.ts.map +0 -1
- package/resources/team-members.js +0 -38
- package/resources/team-members.js.map +0 -1
- package/resources/team-members.mjs +0 -34
- package/resources/team-members.mjs.map +0 -1
- package/resources/trigger-instances/handle.d.mts +0 -25
- package/resources/trigger-instances/handle.d.mts.map +0 -1
- package/resources/trigger-instances/handle.d.ts +0 -25
- package/resources/trigger-instances/handle.d.ts.map +0 -1
- package/resources/trigger-instances/handle.js +0 -18
- package/resources/trigger-instances/handle.js.map +0 -1
- package/resources/trigger-instances/handle.mjs +0 -14
- package/resources/trigger-instances/handle.mjs.map +0 -1
- package/src/resources/org/api-key.ts +0 -57
- package/src/resources/org/index.ts +0 -13
- package/src/resources/org/org.ts +0 -41
- package/src/resources/org/project/api-keys.ts +0 -180
- package/src/resources/org/project/index.ts +0 -35
- package/src/resources/org/project/project.ts +0 -381
- package/src/resources/org/project/trigger.ts +0 -188
- package/src/resources/org/project/webhook.ts +0 -205
- package/src/resources/org/project.ts +0 -3
- package/src/resources/org.ts +0 -3
- package/src/resources/team-members.ts +0 -101
- package/src/resources/trigger-instances/handle.ts +0 -53
package/resources/cli.mjs
CHANGED
|
@@ -6,11 +6,6 @@ export class Cli extends APIResource {
|
|
|
6
6
|
* first step in the CLI authentication flow, creating a session that can later be
|
|
7
7
|
* linked to a user account. The generated code is displayed to the user in the CLI
|
|
8
8
|
* and should be entered in the web interface to complete authentication.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```ts
|
|
12
|
-
* const response = await client.cli.createSession();
|
|
13
|
-
* ```
|
|
14
9
|
*/
|
|
15
10
|
createSession(options) {
|
|
16
11
|
return this._client.post('/api/v3/cli/create-session', options);
|
|
@@ -20,32 +15,9 @@ export class Cli extends APIResource {
|
|
|
20
15
|
* or the 6-character code. This endpoint is used by both the CLI client to check
|
|
21
16
|
* if the session has been linked, and by the web interface to display session
|
|
22
17
|
* details before linking.
|
|
23
|
-
*
|
|
24
|
-
* @example
|
|
25
|
-
* ```ts
|
|
26
|
-
* const response = await client.cli.getSession({
|
|
27
|
-
* id: 'ABC123',
|
|
28
|
-
* });
|
|
29
|
-
* ```
|
|
30
18
|
*/
|
|
31
19
|
getSession(query, options) {
|
|
32
20
|
return this._client.get('/api/v3/cli/get-session', { query, ...options });
|
|
33
21
|
}
|
|
34
|
-
/**
|
|
35
|
-
* Links a pending CLI session to the currently authenticated user. This is the
|
|
36
|
-
* final step in the CLI authentication flow, where the user enters the code in the
|
|
37
|
-
* web interface and their account is associated with the CLI session, allowing the
|
|
38
|
-
* CLI to act on their behalf.
|
|
39
|
-
*
|
|
40
|
-
* @example
|
|
41
|
-
* ```ts
|
|
42
|
-
* const response = await client.cli.linkSession({
|
|
43
|
-
* id: 'ABC123',
|
|
44
|
-
* });
|
|
45
|
-
* ```
|
|
46
|
-
*/
|
|
47
|
-
linkSession(body, options) {
|
|
48
|
-
return this._client.put('/api/v3/cli/link-session', { body, ...options });
|
|
49
|
-
}
|
|
50
22
|
}
|
|
51
23
|
//# sourceMappingURL=cli.mjs.map
|
package/resources/cli.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.mjs","sourceRoot":"","sources":["../src/resources/cli.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,GAAI,SAAQ,WAAW;IAClC
|
|
1
|
+
{"version":3,"file":"cli.mjs","sourceRoot":"","sources":["../src/resources/cli.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,GAAI,SAAQ,WAAW;IAClC;;;;;OAKG;IACH,aAAa,CAAC,OAAwB;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAED;;;;;OAKG;IACH,UAAU,CAAC,KAA0B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yBAAyB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;CACF"}
|
|
@@ -87,7 +87,7 @@ export interface ConnectedAccountCreateResponse {
|
|
|
87
87
|
/**
|
|
88
88
|
* The connection data of the connected account
|
|
89
89
|
*/
|
|
90
|
-
connectionData: ConnectedAccountCreateResponse.UnionMember0 | ConnectedAccountCreateResponse.UnionMember1 | ConnectedAccountCreateResponse.UnionMember2 | ConnectedAccountCreateResponse.UnionMember3 | ConnectedAccountCreateResponse.UnionMember4 | ConnectedAccountCreateResponse.UnionMember5 | ConnectedAccountCreateResponse.UnionMember6 | ConnectedAccountCreateResponse.UnionMember7 | ConnectedAccountCreateResponse.UnionMember8 | ConnectedAccountCreateResponse.UnionMember9;
|
|
90
|
+
connectionData: ConnectedAccountCreateResponse.UnionMember0 | ConnectedAccountCreateResponse.UnionMember1 | ConnectedAccountCreateResponse.UnionMember2 | ConnectedAccountCreateResponse.UnionMember3 | ConnectedAccountCreateResponse.UnionMember4 | ConnectedAccountCreateResponse.UnionMember5 | ConnectedAccountCreateResponse.UnionMember6 | ConnectedAccountCreateResponse.UnionMember7 | ConnectedAccountCreateResponse.UnionMember8 | ConnectedAccountCreateResponse.UnionMember9 | ConnectedAccountCreateResponse.UnionMember10;
|
|
91
91
|
deprecated: ConnectedAccountCreateResponse.Deprecated;
|
|
92
92
|
}
|
|
93
93
|
export declare namespace ConnectedAccountCreateResponse {
|
|
@@ -1662,6 +1662,122 @@ export declare namespace ConnectedAccountCreateResponse {
|
|
|
1662
1662
|
[k: string]: unknown;
|
|
1663
1663
|
}
|
|
1664
1664
|
}
|
|
1665
|
+
interface UnionMember10 {
|
|
1666
|
+
authScheme: 'SERVICE_ACCOUNT';
|
|
1667
|
+
val: UnionMember10.UnionMember0 | UnionMember10.UnionMember1 | UnionMember10.UnionMember2 | UnionMember10.UnionMember3;
|
|
1668
|
+
}
|
|
1669
|
+
namespace UnionMember10 {
|
|
1670
|
+
interface UnionMember0 {
|
|
1671
|
+
status: 'INITIALIZING';
|
|
1672
|
+
account_id?: string;
|
|
1673
|
+
account_url?: string;
|
|
1674
|
+
api_url?: string;
|
|
1675
|
+
base_url?: string;
|
|
1676
|
+
borneo_dashboard_url?: string;
|
|
1677
|
+
COMPANYDOMAIN?: string;
|
|
1678
|
+
dc?: string;
|
|
1679
|
+
domain?: string;
|
|
1680
|
+
extension?: string;
|
|
1681
|
+
form_api_base_url?: string;
|
|
1682
|
+
instanceEndpoint?: string;
|
|
1683
|
+
instanceName?: string;
|
|
1684
|
+
proxy_password?: string;
|
|
1685
|
+
proxy_username?: string;
|
|
1686
|
+
region?: string;
|
|
1687
|
+
server_location?: string;
|
|
1688
|
+
shop?: string;
|
|
1689
|
+
site_name?: string;
|
|
1690
|
+
subdomain?: string;
|
|
1691
|
+
version?: string;
|
|
1692
|
+
your_server?: string;
|
|
1693
|
+
'your-domain'?: string;
|
|
1694
|
+
[k: string]: unknown;
|
|
1695
|
+
}
|
|
1696
|
+
interface UnionMember1 {
|
|
1697
|
+
status: 'INITIATED';
|
|
1698
|
+
account_id?: string;
|
|
1699
|
+
account_url?: string;
|
|
1700
|
+
api_url?: string;
|
|
1701
|
+
base_url?: string;
|
|
1702
|
+
borneo_dashboard_url?: string;
|
|
1703
|
+
COMPANYDOMAIN?: string;
|
|
1704
|
+
dc?: string;
|
|
1705
|
+
domain?: string;
|
|
1706
|
+
extension?: string;
|
|
1707
|
+
form_api_base_url?: string;
|
|
1708
|
+
instanceEndpoint?: string;
|
|
1709
|
+
instanceName?: string;
|
|
1710
|
+
proxy_password?: string;
|
|
1711
|
+
proxy_username?: string;
|
|
1712
|
+
region?: string;
|
|
1713
|
+
server_location?: string;
|
|
1714
|
+
shop?: string;
|
|
1715
|
+
site_name?: string;
|
|
1716
|
+
subdomain?: string;
|
|
1717
|
+
version?: string;
|
|
1718
|
+
your_server?: string;
|
|
1719
|
+
'your-domain'?: string;
|
|
1720
|
+
[k: string]: unknown;
|
|
1721
|
+
}
|
|
1722
|
+
interface UnionMember2 {
|
|
1723
|
+
application_id: string;
|
|
1724
|
+
installation_id: string;
|
|
1725
|
+
private_key: string;
|
|
1726
|
+
status: 'ACTIVE';
|
|
1727
|
+
account_id?: string;
|
|
1728
|
+
account_url?: string;
|
|
1729
|
+
api_url?: string;
|
|
1730
|
+
base_url?: string;
|
|
1731
|
+
borneo_dashboard_url?: string;
|
|
1732
|
+
COMPANYDOMAIN?: string;
|
|
1733
|
+
dc?: string;
|
|
1734
|
+
domain?: string;
|
|
1735
|
+
extension?: string;
|
|
1736
|
+
form_api_base_url?: string;
|
|
1737
|
+
instanceEndpoint?: string;
|
|
1738
|
+
instanceName?: string;
|
|
1739
|
+
proxy_password?: string;
|
|
1740
|
+
proxy_username?: string;
|
|
1741
|
+
region?: string;
|
|
1742
|
+
server_location?: string;
|
|
1743
|
+
shop?: string;
|
|
1744
|
+
site_name?: string;
|
|
1745
|
+
subdomain?: string;
|
|
1746
|
+
version?: string;
|
|
1747
|
+
your_server?: string;
|
|
1748
|
+
'your-domain'?: string;
|
|
1749
|
+
[k: string]: unknown;
|
|
1750
|
+
}
|
|
1751
|
+
interface UnionMember3 {
|
|
1752
|
+
application_id: string;
|
|
1753
|
+
installation_id: string;
|
|
1754
|
+
private_key: string;
|
|
1755
|
+
status: 'INACTIVE';
|
|
1756
|
+
account_id?: string;
|
|
1757
|
+
account_url?: string;
|
|
1758
|
+
api_url?: string;
|
|
1759
|
+
base_url?: string;
|
|
1760
|
+
borneo_dashboard_url?: string;
|
|
1761
|
+
COMPANYDOMAIN?: string;
|
|
1762
|
+
dc?: string;
|
|
1763
|
+
domain?: string;
|
|
1764
|
+
extension?: string;
|
|
1765
|
+
form_api_base_url?: string;
|
|
1766
|
+
instanceEndpoint?: string;
|
|
1767
|
+
instanceName?: string;
|
|
1768
|
+
proxy_password?: string;
|
|
1769
|
+
proxy_username?: string;
|
|
1770
|
+
region?: string;
|
|
1771
|
+
server_location?: string;
|
|
1772
|
+
shop?: string;
|
|
1773
|
+
site_name?: string;
|
|
1774
|
+
subdomain?: string;
|
|
1775
|
+
version?: string;
|
|
1776
|
+
your_server?: string;
|
|
1777
|
+
'your-domain'?: string;
|
|
1778
|
+
[k: string]: unknown;
|
|
1779
|
+
}
|
|
1780
|
+
}
|
|
1665
1781
|
interface Deprecated {
|
|
1666
1782
|
/**
|
|
1667
1783
|
* The uuid of the auth config
|
|
@@ -1690,7 +1806,7 @@ export interface ConnectedAccountRetrieveResponse {
|
|
|
1690
1806
|
/**
|
|
1691
1807
|
* The state of the connection
|
|
1692
1808
|
*/
|
|
1693
|
-
state: ConnectedAccountRetrieveResponse.UnionMember0 | ConnectedAccountRetrieveResponse.UnionMember1 | ConnectedAccountRetrieveResponse.UnionMember2 | ConnectedAccountRetrieveResponse.UnionMember3 | ConnectedAccountRetrieveResponse.UnionMember4 | ConnectedAccountRetrieveResponse.UnionMember5 | ConnectedAccountRetrieveResponse.UnionMember6 | ConnectedAccountRetrieveResponse.UnionMember7 | ConnectedAccountRetrieveResponse.UnionMember8 | ConnectedAccountRetrieveResponse.UnionMember9;
|
|
1809
|
+
state: ConnectedAccountRetrieveResponse.UnionMember0 | ConnectedAccountRetrieveResponse.UnionMember1 | ConnectedAccountRetrieveResponse.UnionMember2 | ConnectedAccountRetrieveResponse.UnionMember3 | ConnectedAccountRetrieveResponse.UnionMember4 | ConnectedAccountRetrieveResponse.UnionMember5 | ConnectedAccountRetrieveResponse.UnionMember6 | ConnectedAccountRetrieveResponse.UnionMember7 | ConnectedAccountRetrieveResponse.UnionMember8 | ConnectedAccountRetrieveResponse.UnionMember9 | ConnectedAccountRetrieveResponse.UnionMember10;
|
|
1694
1810
|
/**
|
|
1695
1811
|
* The status of the connection
|
|
1696
1812
|
*/
|
|
@@ -3305,6 +3421,122 @@ export declare namespace ConnectedAccountRetrieveResponse {
|
|
|
3305
3421
|
[k: string]: unknown;
|
|
3306
3422
|
}
|
|
3307
3423
|
}
|
|
3424
|
+
interface UnionMember10 {
|
|
3425
|
+
authScheme: 'SERVICE_ACCOUNT';
|
|
3426
|
+
val: UnionMember10.UnionMember0 | UnionMember10.UnionMember1 | UnionMember10.UnionMember2 | UnionMember10.UnionMember3;
|
|
3427
|
+
}
|
|
3428
|
+
namespace UnionMember10 {
|
|
3429
|
+
interface UnionMember0 {
|
|
3430
|
+
status: 'INITIALIZING';
|
|
3431
|
+
account_id?: string;
|
|
3432
|
+
account_url?: string;
|
|
3433
|
+
api_url?: string;
|
|
3434
|
+
base_url?: string;
|
|
3435
|
+
borneo_dashboard_url?: string;
|
|
3436
|
+
COMPANYDOMAIN?: string;
|
|
3437
|
+
dc?: string;
|
|
3438
|
+
domain?: string;
|
|
3439
|
+
extension?: string;
|
|
3440
|
+
form_api_base_url?: string;
|
|
3441
|
+
instanceEndpoint?: string;
|
|
3442
|
+
instanceName?: string;
|
|
3443
|
+
proxy_password?: string;
|
|
3444
|
+
proxy_username?: string;
|
|
3445
|
+
region?: string;
|
|
3446
|
+
server_location?: string;
|
|
3447
|
+
shop?: string;
|
|
3448
|
+
site_name?: string;
|
|
3449
|
+
subdomain?: string;
|
|
3450
|
+
version?: string;
|
|
3451
|
+
your_server?: string;
|
|
3452
|
+
'your-domain'?: string;
|
|
3453
|
+
[k: string]: unknown;
|
|
3454
|
+
}
|
|
3455
|
+
interface UnionMember1 {
|
|
3456
|
+
status: 'INITIATED';
|
|
3457
|
+
account_id?: string;
|
|
3458
|
+
account_url?: string;
|
|
3459
|
+
api_url?: string;
|
|
3460
|
+
base_url?: string;
|
|
3461
|
+
borneo_dashboard_url?: string;
|
|
3462
|
+
COMPANYDOMAIN?: string;
|
|
3463
|
+
dc?: string;
|
|
3464
|
+
domain?: string;
|
|
3465
|
+
extension?: string;
|
|
3466
|
+
form_api_base_url?: string;
|
|
3467
|
+
instanceEndpoint?: string;
|
|
3468
|
+
instanceName?: string;
|
|
3469
|
+
proxy_password?: string;
|
|
3470
|
+
proxy_username?: string;
|
|
3471
|
+
region?: string;
|
|
3472
|
+
server_location?: string;
|
|
3473
|
+
shop?: string;
|
|
3474
|
+
site_name?: string;
|
|
3475
|
+
subdomain?: string;
|
|
3476
|
+
version?: string;
|
|
3477
|
+
your_server?: string;
|
|
3478
|
+
'your-domain'?: string;
|
|
3479
|
+
[k: string]: unknown;
|
|
3480
|
+
}
|
|
3481
|
+
interface UnionMember2 {
|
|
3482
|
+
application_id: string;
|
|
3483
|
+
installation_id: string;
|
|
3484
|
+
private_key: string;
|
|
3485
|
+
status: 'ACTIVE';
|
|
3486
|
+
account_id?: string;
|
|
3487
|
+
account_url?: string;
|
|
3488
|
+
api_url?: string;
|
|
3489
|
+
base_url?: string;
|
|
3490
|
+
borneo_dashboard_url?: string;
|
|
3491
|
+
COMPANYDOMAIN?: string;
|
|
3492
|
+
dc?: string;
|
|
3493
|
+
domain?: string;
|
|
3494
|
+
extension?: string;
|
|
3495
|
+
form_api_base_url?: string;
|
|
3496
|
+
instanceEndpoint?: string;
|
|
3497
|
+
instanceName?: string;
|
|
3498
|
+
proxy_password?: string;
|
|
3499
|
+
proxy_username?: string;
|
|
3500
|
+
region?: string;
|
|
3501
|
+
server_location?: string;
|
|
3502
|
+
shop?: string;
|
|
3503
|
+
site_name?: string;
|
|
3504
|
+
subdomain?: string;
|
|
3505
|
+
version?: string;
|
|
3506
|
+
your_server?: string;
|
|
3507
|
+
'your-domain'?: string;
|
|
3508
|
+
[k: string]: unknown;
|
|
3509
|
+
}
|
|
3510
|
+
interface UnionMember3 {
|
|
3511
|
+
application_id: string;
|
|
3512
|
+
installation_id: string;
|
|
3513
|
+
private_key: string;
|
|
3514
|
+
status: 'INACTIVE';
|
|
3515
|
+
account_id?: string;
|
|
3516
|
+
account_url?: string;
|
|
3517
|
+
api_url?: string;
|
|
3518
|
+
base_url?: string;
|
|
3519
|
+
borneo_dashboard_url?: string;
|
|
3520
|
+
COMPANYDOMAIN?: string;
|
|
3521
|
+
dc?: string;
|
|
3522
|
+
domain?: string;
|
|
3523
|
+
extension?: string;
|
|
3524
|
+
form_api_base_url?: string;
|
|
3525
|
+
instanceEndpoint?: string;
|
|
3526
|
+
instanceName?: string;
|
|
3527
|
+
proxy_password?: string;
|
|
3528
|
+
proxy_username?: string;
|
|
3529
|
+
region?: string;
|
|
3530
|
+
server_location?: string;
|
|
3531
|
+
shop?: string;
|
|
3532
|
+
site_name?: string;
|
|
3533
|
+
subdomain?: string;
|
|
3534
|
+
version?: string;
|
|
3535
|
+
your_server?: string;
|
|
3536
|
+
'your-domain'?: string;
|
|
3537
|
+
[k: string]: unknown;
|
|
3538
|
+
}
|
|
3539
|
+
}
|
|
3308
3540
|
interface Toolkit {
|
|
3309
3541
|
/**
|
|
3310
3542
|
* The slug of the toolkit
|
|
@@ -3347,7 +3579,7 @@ export declare namespace ConnectedAccountListResponse {
|
|
|
3347
3579
|
/**
|
|
3348
3580
|
* The state of the connection
|
|
3349
3581
|
*/
|
|
3350
|
-
state: Item.UnionMember0 | Item.UnionMember1 | Item.UnionMember2 | Item.UnionMember3 | Item.UnionMember4 | Item.UnionMember5 | Item.UnionMember6 | Item.UnionMember7 | Item.UnionMember8 | Item.UnionMember9;
|
|
3582
|
+
state: Item.UnionMember0 | Item.UnionMember1 | Item.UnionMember2 | Item.UnionMember3 | Item.UnionMember4 | Item.UnionMember5 | Item.UnionMember6 | Item.UnionMember7 | Item.UnionMember8 | Item.UnionMember9 | Item.UnionMember10;
|
|
3351
3583
|
/**
|
|
3352
3584
|
* The status of the connection
|
|
3353
3585
|
*/
|
|
@@ -4962,6 +5194,122 @@ export declare namespace ConnectedAccountListResponse {
|
|
|
4962
5194
|
[k: string]: unknown;
|
|
4963
5195
|
}
|
|
4964
5196
|
}
|
|
5197
|
+
interface UnionMember10 {
|
|
5198
|
+
authScheme: 'SERVICE_ACCOUNT';
|
|
5199
|
+
val: UnionMember10.UnionMember0 | UnionMember10.UnionMember1 | UnionMember10.UnionMember2 | UnionMember10.UnionMember3;
|
|
5200
|
+
}
|
|
5201
|
+
namespace UnionMember10 {
|
|
5202
|
+
interface UnionMember0 {
|
|
5203
|
+
status: 'INITIALIZING';
|
|
5204
|
+
account_id?: string;
|
|
5205
|
+
account_url?: string;
|
|
5206
|
+
api_url?: string;
|
|
5207
|
+
base_url?: string;
|
|
5208
|
+
borneo_dashboard_url?: string;
|
|
5209
|
+
COMPANYDOMAIN?: string;
|
|
5210
|
+
dc?: string;
|
|
5211
|
+
domain?: string;
|
|
5212
|
+
extension?: string;
|
|
5213
|
+
form_api_base_url?: string;
|
|
5214
|
+
instanceEndpoint?: string;
|
|
5215
|
+
instanceName?: string;
|
|
5216
|
+
proxy_password?: string;
|
|
5217
|
+
proxy_username?: string;
|
|
5218
|
+
region?: string;
|
|
5219
|
+
server_location?: string;
|
|
5220
|
+
shop?: string;
|
|
5221
|
+
site_name?: string;
|
|
5222
|
+
subdomain?: string;
|
|
5223
|
+
version?: string;
|
|
5224
|
+
your_server?: string;
|
|
5225
|
+
'your-domain'?: string;
|
|
5226
|
+
[k: string]: unknown;
|
|
5227
|
+
}
|
|
5228
|
+
interface UnionMember1 {
|
|
5229
|
+
status: 'INITIATED';
|
|
5230
|
+
account_id?: string;
|
|
5231
|
+
account_url?: string;
|
|
5232
|
+
api_url?: string;
|
|
5233
|
+
base_url?: string;
|
|
5234
|
+
borneo_dashboard_url?: string;
|
|
5235
|
+
COMPANYDOMAIN?: string;
|
|
5236
|
+
dc?: string;
|
|
5237
|
+
domain?: string;
|
|
5238
|
+
extension?: string;
|
|
5239
|
+
form_api_base_url?: string;
|
|
5240
|
+
instanceEndpoint?: string;
|
|
5241
|
+
instanceName?: string;
|
|
5242
|
+
proxy_password?: string;
|
|
5243
|
+
proxy_username?: string;
|
|
5244
|
+
region?: string;
|
|
5245
|
+
server_location?: string;
|
|
5246
|
+
shop?: string;
|
|
5247
|
+
site_name?: string;
|
|
5248
|
+
subdomain?: string;
|
|
5249
|
+
version?: string;
|
|
5250
|
+
your_server?: string;
|
|
5251
|
+
'your-domain'?: string;
|
|
5252
|
+
[k: string]: unknown;
|
|
5253
|
+
}
|
|
5254
|
+
interface UnionMember2 {
|
|
5255
|
+
application_id: string;
|
|
5256
|
+
installation_id: string;
|
|
5257
|
+
private_key: string;
|
|
5258
|
+
status: 'ACTIVE';
|
|
5259
|
+
account_id?: string;
|
|
5260
|
+
account_url?: string;
|
|
5261
|
+
api_url?: string;
|
|
5262
|
+
base_url?: string;
|
|
5263
|
+
borneo_dashboard_url?: string;
|
|
5264
|
+
COMPANYDOMAIN?: string;
|
|
5265
|
+
dc?: string;
|
|
5266
|
+
domain?: string;
|
|
5267
|
+
extension?: string;
|
|
5268
|
+
form_api_base_url?: string;
|
|
5269
|
+
instanceEndpoint?: string;
|
|
5270
|
+
instanceName?: string;
|
|
5271
|
+
proxy_password?: string;
|
|
5272
|
+
proxy_username?: string;
|
|
5273
|
+
region?: string;
|
|
5274
|
+
server_location?: string;
|
|
5275
|
+
shop?: string;
|
|
5276
|
+
site_name?: string;
|
|
5277
|
+
subdomain?: string;
|
|
5278
|
+
version?: string;
|
|
5279
|
+
your_server?: string;
|
|
5280
|
+
'your-domain'?: string;
|
|
5281
|
+
[k: string]: unknown;
|
|
5282
|
+
}
|
|
5283
|
+
interface UnionMember3 {
|
|
5284
|
+
application_id: string;
|
|
5285
|
+
installation_id: string;
|
|
5286
|
+
private_key: string;
|
|
5287
|
+
status: 'INACTIVE';
|
|
5288
|
+
account_id?: string;
|
|
5289
|
+
account_url?: string;
|
|
5290
|
+
api_url?: string;
|
|
5291
|
+
base_url?: string;
|
|
5292
|
+
borneo_dashboard_url?: string;
|
|
5293
|
+
COMPANYDOMAIN?: string;
|
|
5294
|
+
dc?: string;
|
|
5295
|
+
domain?: string;
|
|
5296
|
+
extension?: string;
|
|
5297
|
+
form_api_base_url?: string;
|
|
5298
|
+
instanceEndpoint?: string;
|
|
5299
|
+
instanceName?: string;
|
|
5300
|
+
proxy_password?: string;
|
|
5301
|
+
proxy_username?: string;
|
|
5302
|
+
region?: string;
|
|
5303
|
+
server_location?: string;
|
|
5304
|
+
shop?: string;
|
|
5305
|
+
site_name?: string;
|
|
5306
|
+
subdomain?: string;
|
|
5307
|
+
version?: string;
|
|
5308
|
+
your_server?: string;
|
|
5309
|
+
'your-domain'?: string;
|
|
5310
|
+
[k: string]: unknown;
|
|
5311
|
+
}
|
|
5312
|
+
}
|
|
4965
5313
|
interface Toolkit {
|
|
4966
5314
|
/**
|
|
4967
5315
|
* The slug of the toolkit
|
|
@@ -5019,6 +5367,11 @@ export interface ConnectedAccountUpdateStatusResponse {
|
|
|
5019
5367
|
export interface ConnectedAccountCreateParams {
|
|
5020
5368
|
auth_config: ConnectedAccountCreateParams.AuthConfig;
|
|
5021
5369
|
connection: ConnectedAccountCreateParams.Connection;
|
|
5370
|
+
/**
|
|
5371
|
+
* [EXPERIMENTAL] Whether to validate the provided credentials, validates only for
|
|
5372
|
+
* API Key Auth scheme
|
|
5373
|
+
*/
|
|
5374
|
+
validate_credentials?: boolean;
|
|
5022
5375
|
}
|
|
5023
5376
|
export declare namespace ConnectedAccountCreateParams {
|
|
5024
5377
|
interface AuthConfig {
|
|
@@ -5035,7 +5388,7 @@ export declare namespace ConnectedAccountCreateParams {
|
|
|
5035
5388
|
/**
|
|
5036
5389
|
* The state of the connected account
|
|
5037
5390
|
*/
|
|
5038
|
-
state?: Connection.UnionMember0 | Connection.UnionMember1 | Connection.UnionMember2 | Connection.UnionMember3 | Connection.UnionMember4 | Connection.UnionMember5 | Connection.UnionMember6 | Connection.UnionMember7 | Connection.UnionMember8 | Connection.UnionMember9;
|
|
5391
|
+
state?: Connection.UnionMember0 | Connection.UnionMember1 | Connection.UnionMember2 | Connection.UnionMember3 | Connection.UnionMember4 | Connection.UnionMember5 | Connection.UnionMember6 | Connection.UnionMember7 | Connection.UnionMember8 | Connection.UnionMember9 | Connection.UnionMember10;
|
|
5039
5392
|
/**
|
|
5040
5393
|
* The user id of the connected account
|
|
5041
5394
|
*/
|
|
@@ -6613,6 +6966,122 @@ export declare namespace ConnectedAccountCreateParams {
|
|
|
6613
6966
|
[k: string]: unknown;
|
|
6614
6967
|
}
|
|
6615
6968
|
}
|
|
6969
|
+
interface UnionMember10 {
|
|
6970
|
+
authScheme: 'SERVICE_ACCOUNT';
|
|
6971
|
+
val: UnionMember10.UnionMember0 | UnionMember10.UnionMember1 | UnionMember10.UnionMember2 | UnionMember10.UnionMember3;
|
|
6972
|
+
}
|
|
6973
|
+
namespace UnionMember10 {
|
|
6974
|
+
interface UnionMember0 {
|
|
6975
|
+
status: 'INITIALIZING';
|
|
6976
|
+
account_id?: string;
|
|
6977
|
+
account_url?: string;
|
|
6978
|
+
api_url?: string;
|
|
6979
|
+
base_url?: string;
|
|
6980
|
+
borneo_dashboard_url?: string;
|
|
6981
|
+
COMPANYDOMAIN?: string;
|
|
6982
|
+
dc?: string;
|
|
6983
|
+
domain?: string;
|
|
6984
|
+
extension?: string;
|
|
6985
|
+
form_api_base_url?: string;
|
|
6986
|
+
instanceEndpoint?: string;
|
|
6987
|
+
instanceName?: string;
|
|
6988
|
+
proxy_password?: string;
|
|
6989
|
+
proxy_username?: string;
|
|
6990
|
+
region?: string;
|
|
6991
|
+
server_location?: string;
|
|
6992
|
+
shop?: string;
|
|
6993
|
+
site_name?: string;
|
|
6994
|
+
subdomain?: string;
|
|
6995
|
+
version?: string;
|
|
6996
|
+
your_server?: string;
|
|
6997
|
+
'your-domain'?: string;
|
|
6998
|
+
[k: string]: unknown;
|
|
6999
|
+
}
|
|
7000
|
+
interface UnionMember1 {
|
|
7001
|
+
status: 'INITIATED';
|
|
7002
|
+
account_id?: string;
|
|
7003
|
+
account_url?: string;
|
|
7004
|
+
api_url?: string;
|
|
7005
|
+
base_url?: string;
|
|
7006
|
+
borneo_dashboard_url?: string;
|
|
7007
|
+
COMPANYDOMAIN?: string;
|
|
7008
|
+
dc?: string;
|
|
7009
|
+
domain?: string;
|
|
7010
|
+
extension?: string;
|
|
7011
|
+
form_api_base_url?: string;
|
|
7012
|
+
instanceEndpoint?: string;
|
|
7013
|
+
instanceName?: string;
|
|
7014
|
+
proxy_password?: string;
|
|
7015
|
+
proxy_username?: string;
|
|
7016
|
+
region?: string;
|
|
7017
|
+
server_location?: string;
|
|
7018
|
+
shop?: string;
|
|
7019
|
+
site_name?: string;
|
|
7020
|
+
subdomain?: string;
|
|
7021
|
+
version?: string;
|
|
7022
|
+
your_server?: string;
|
|
7023
|
+
'your-domain'?: string;
|
|
7024
|
+
[k: string]: unknown;
|
|
7025
|
+
}
|
|
7026
|
+
interface UnionMember2 {
|
|
7027
|
+
application_id: string;
|
|
7028
|
+
installation_id: string;
|
|
7029
|
+
private_key: string;
|
|
7030
|
+
status: 'ACTIVE';
|
|
7031
|
+
account_id?: string;
|
|
7032
|
+
account_url?: string;
|
|
7033
|
+
api_url?: string;
|
|
7034
|
+
base_url?: string;
|
|
7035
|
+
borneo_dashboard_url?: string;
|
|
7036
|
+
COMPANYDOMAIN?: string;
|
|
7037
|
+
dc?: string;
|
|
7038
|
+
domain?: string;
|
|
7039
|
+
extension?: string;
|
|
7040
|
+
form_api_base_url?: string;
|
|
7041
|
+
instanceEndpoint?: string;
|
|
7042
|
+
instanceName?: string;
|
|
7043
|
+
proxy_password?: string;
|
|
7044
|
+
proxy_username?: string;
|
|
7045
|
+
region?: string;
|
|
7046
|
+
server_location?: string;
|
|
7047
|
+
shop?: string;
|
|
7048
|
+
site_name?: string;
|
|
7049
|
+
subdomain?: string;
|
|
7050
|
+
version?: string;
|
|
7051
|
+
your_server?: string;
|
|
7052
|
+
'your-domain'?: string;
|
|
7053
|
+
[k: string]: unknown;
|
|
7054
|
+
}
|
|
7055
|
+
interface UnionMember3 {
|
|
7056
|
+
application_id: string;
|
|
7057
|
+
installation_id: string;
|
|
7058
|
+
private_key: string;
|
|
7059
|
+
status: 'INACTIVE';
|
|
7060
|
+
account_id?: string;
|
|
7061
|
+
account_url?: string;
|
|
7062
|
+
api_url?: string;
|
|
7063
|
+
base_url?: string;
|
|
7064
|
+
borneo_dashboard_url?: string;
|
|
7065
|
+
COMPANYDOMAIN?: string;
|
|
7066
|
+
dc?: string;
|
|
7067
|
+
domain?: string;
|
|
7068
|
+
extension?: string;
|
|
7069
|
+
form_api_base_url?: string;
|
|
7070
|
+
instanceEndpoint?: string;
|
|
7071
|
+
instanceName?: string;
|
|
7072
|
+
proxy_password?: string;
|
|
7073
|
+
proxy_username?: string;
|
|
7074
|
+
region?: string;
|
|
7075
|
+
server_location?: string;
|
|
7076
|
+
shop?: string;
|
|
7077
|
+
site_name?: string;
|
|
7078
|
+
subdomain?: string;
|
|
7079
|
+
version?: string;
|
|
7080
|
+
your_server?: string;
|
|
7081
|
+
'your-domain'?: string;
|
|
7082
|
+
[k: string]: unknown;
|
|
7083
|
+
}
|
|
7084
|
+
}
|
|
6616
7085
|
}
|
|
6617
7086
|
}
|
|
6618
7087
|
export interface ConnectedAccountListParams {
|
|
@@ -6666,6 +7135,11 @@ export interface ConnectedAccountRefreshParams {
|
|
|
6666
7135
|
* Body param:
|
|
6667
7136
|
*/
|
|
6668
7137
|
body_redirect_url?: string;
|
|
7138
|
+
/**
|
|
7139
|
+
* Body param: [EXPERIMENTAL] Whether to validate the provided credentials,
|
|
7140
|
+
* validates only for API Key Auth scheme
|
|
7141
|
+
*/
|
|
7142
|
+
validate_credentials?: boolean;
|
|
6669
7143
|
}
|
|
6670
7144
|
export interface ConnectedAccountUpdateStatusParams {
|
|
6671
7145
|
/**
|